Skip to content
Snippets Groups Projects
Commit 7ec84791 authored by Mat-Ge's avatar Mat-Ge
Browse files

Update Matrix.md

parent 0e57e692
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ Note, STACK only displays matrices with matching parentheses. If you want somet
\[ f(x) = \left\{ \begin{array}{cc} 1, & x<0 \\ 0, & x\geq 0 \end{array}\right.\]
then you will have to display the matrix without parentheses and sort out the mismatching parentheses in the CASText at the level of display.
For example, if we have the question variable `f:matrix([4*x+4, x<1],[-x^2-4*x-8, x>=1];` and the castext `\[ f(x) := \left\{ {@(lmxchar:"", f)@} \right. \]` the STACK generates
For example, if we have the question variable `f:matrix([4*x+4, x<1],[-x^2-4*x-8, x>=1];` and the castext `\[ f(x) := \left\{ {@(lmxchar:"", f)@} \right. \]` STACK generates
\[ f(x) := \left\{ {\begin{array}{cc} 4\cdot x+4 & x < 1 \\ -x^2-4\cdot x-8 & x\geq 1 \end{array}} \right. \]
Notice the use of LaTeX `\left\{` to automatically size the parentheses and `\right.` to represent a matching, but invisible closing parentesis.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment