Difference between revisions of "Documentation/How Tos/Calc: MDETERM function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
m |
||
Line 1: | Line 1: | ||
+ | {{DISPLAYTITLE:MDETERM function}} | ||
{{Documentation/CalcFunc ArraysTOC | {{Documentation/CalcFunc ArraysTOC | ||
|ShowPrevNext=block | |ShowPrevNext=block |
Latest revision as of 11:04, 30 January 2024
MDETERM
Returns the determinant of a matrix.
Syntax:
MDETERM(array)
- returns the determinant of the square matrix array, which may be either an inline array or a range, containing all numbers.
- MDETERM returns a single value. It need not be entered as an array formula.
Example:
MDETERM({4;1|2;5})
- returns 18, that is 4*5 - 1*2.
MDETERM(A1:B2)
- where A1, B1, A2, B2 contain 4, 2, 2, 3 respectively, returns 8, that is 4*3 - 2*2.
See Also