forked from ForNeVeR/xaml-math
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a documentation about matrices (ForNeVeR#100)
- Loading branch information
Showing
3 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Matrices and Matrix-Like Constructs | ||
=================================== | ||
|
||
WPF-Math supports multiple types of matrices and similar constructs (that allow to build the items into rows and columns). | ||
|
||
All commands offer a similar syntax, but a bit different features. Rows inside of a matrix are separated by two commands: | ||
|
||
- `\cr` | ||
- `\\` | ||
|
||
Cells inside of a row are separated by `&`. | ||
|
||
For example, the following command creates a matrix with 2 rows and 3 columns: | ||
|
||
``` | ||
\matrix{1 & 2 & 3 \\ 4 & 5 & 6} | ||
``` | ||
|
||
There're two matrix types supported: | ||
|
||
- `\matrix`: a matrix without brackets | ||
- `\pmatrix`: a matrix within square brackets | ||
|
||
There's also a matrix-like construct: | ||
|
||
- `\cases`: for piecewise functions etc |