Difference between revisions of "Invert"
Line 2: | Line 2: | ||
[[Category:Doc Status D]] <!-- For Lumina use, do not change --> | [[Category:Doc Status D]] <!-- For Lumina use, do not change --> | ||
− | = Invert( c, i, j ) = | + | == Invert(c, i, j) == |
− | |||
Returns the inverse of matrix «c». The two index parameters, «i» and «j» specify the indexes of «c» along which the inversion is to take place and must have the same length, implying that «c» is a square matrix. | Returns the inverse of matrix «c». The two index parameters, «i» and «j» specify the indexes of «c» along which the inversion is to take place and must have the same length, implying that «c» is a square matrix. | ||
− | = Example = | + | == Example == |
− | + | :<code>Variable MatrixA :=</code> | |
− | :Variable MatrixA := | + | :{| class="wikitable" |
− | + | ! !! colspan=3| i ▶ | |
− | :{| | + | |- |
− | ! !! 1 !! 2 !! 3 | + | ! j ▼ !! 1 !! 2 !! 3 |
|- | |- | ||
− | ! a | + | ! a |
+ | | 4 || 1 || 2 | ||
|- | |- | ||
− | ! b | + | ! b |
+ | | 2 || 5 || 3 | ||
|- | |- | ||
− | ! c | + | ! c |
+ | | 3 || 2 || 7 | ||
|} | |} | ||
− | :Invert(MatrixA,i,j) → | + | :<code>Invert(MatrixA, i, j) →</code> |
− | + | :{| class="wikitable" | |
− | :{| | + | ! !! colspan=3| i ▶ |
− | ! !! | ||
|- | |- | ||
− | ! | + | ! j ▼ !! 1 !! 2 !! 3 |
|- | |- | ||
− | ! | + | ! a |
+ | | 0.326 || -0.034 || -0.079 | ||
|- | |- | ||
− | ! c | + | ! b |
+ | | -0.056 || 0.247 || -0.090 | ||
+ | |- | ||
+ | ! c | ||
+ | | -0.124 || -0.056 || 0.202 | ||
|} | |} | ||
− | = See Also = | + | == See Also == |
− | + | * [[Matrix functions]] | |
− | * [[:Category: | + | * [[:Category:Matrix Functions]] |
* [[SingularValueDecomp]] | * [[SingularValueDecomp]] | ||
* [[Transpose]] | * [[Transpose]] | ||
* [[MatrixMultiply]] | * [[MatrixMultiply]] |
Revision as of 01:03, 22 January 2016
Invert(c, i, j)
Returns the inverse of matrix «c». The two index parameters, «i» and «j» specify the indexes of «c» along which the inversion is to take place and must have the same length, implying that «c» is a square matrix.
Example
Variable MatrixA :=
i ▶ j ▼ 1 2 3 a 4 1 2 b 2 5 3 c 3 2 7
Invert(MatrixA, i, j) →
i ▶ j ▼ 1 2 3 a 0.326 -0.034 -0.079 b -0.056 0.247 -0.090 c -0.124 -0.056 0.202
See Also
Comments
Enable comment auto-refresher