Documentation/How Tos/Calc: MDETERM function

From Apache OpenOffice Wiki
Jump to: navigation, search


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


Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_MDETERM_function&oldid=243436"
Views
Personal tools
Navigation
Tools