lml-main
Version:
This is now a mono repository published into many standalone packages.
44 lines (27 loc) • 592 B
Markdown
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
Calculate the determinant of a matrix.
```js
math.det(x)
```
Parameter | Type | Description
--------- | ---- | -----------
`x` | Array &
Type | Description
---- | -----------
number | The determinant of `x`
```js
math.det([[1, 2], [3, 4]]); // returns -2
var A = [
[-2, 2, 3],
[-1, 1, 3],
[]
]
math.det(A); // returns 6
```
[](inv.md)