det Function
- Seyed Ali Ghasemi
- BSD 3-Clause
- 19 statements
public pure function det(A) result(detA)
Compute a small determinant or a surface-Jacobian area factor.
Square matrices of order one through three return their determinant. A
3x2 matrix returns , the magnitude of the cross
product of its columns. Other shapes return quiet NaN. Finite entries
whose intermediate products do not overflow are a caller precondition;
this low-level routine performs no numerical-range diagnostics.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | A(:,:) |