I haven't found a built-in conjunction function, so you might find helpful my workaround: For simple domain restrictions, you can use a product of conditions: $$y=f(x)\{\text{cond1}\}\{\text{cond2}\}\{\text{cond3}\}$$ $$y=(x^2-x)\left\{x^2>1\right\}\left\{x^4<3\right\}$$ link For complex piecewise functions, you can use this hack: $$\text{cond1} = \left(\{\text{subcond1}:1,0\}\{\text{subcond2:1,0}\}\{\text{subcond3:1,0}\}=1\right)$$ $$ y=\left\{\\\color{red}{\left\{x^2>1:1,0\right\}\left\{x^4<3:1,0\right\}=1:\left(x^2-x\right)},\\\color{blue}{\left\{x^2>1.8:1,0\right\}\left\{x^4+x^2<25:1,0\right\}=1:x},\\\color{green}{-1}\right\}$$ link (责任编辑:) |