Skip to content
ForCADDocumentation

det Function

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 IntentOptional Attributes Name
real(kind=rk), intent(in) :: A(:,:)

Return Value real(kind=rk)