linalg[det] - determinant of a matrix
|
Calling Sequence
|
|
det(A)
det(A, sparse)
|
|
Parameters
|
|
A
|
-
|
two-dimensional square matrix
|
sparse
|
-
|
optional directive
|
|
|
|
|
Description
|
|
•
|
The function det computes the determinant of the given matrix.
|
•
|
The second argument (optional) specifies that the computational method of minor expansion should be used. This works well for sparse matrices.
|
•
|
With no extra argument, a decision is made automatically whether to use minor expansion or Gaussian elimination (or a combination of both). Specifying the extra argument eliminates the overhead of the decision process if you happen to know ahead of time that minor expansion will work best.
|
•
|
The command with(linalg,det) allows the use of the abbreviated form of this command.
|
|
|
Download Help Document
Was this information helpful?