You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`overwrite_a` (optional): Shall be an input `logical` flag. if `.true.`, input matrix `a` will be used as temporary storage and overwritten. This avoids internal data allocation.
669
+
This is an `intent(in)` argument.
670
+
671
+
`err` (optional): Shall be a `type(linalg_state_type)` value. This is an `intent(out)` argument.
672
+
673
+
### Return value
674
+
675
+
Returns a `real` scalar value of the same kind of `a` that represents the determinant of the matrix.
676
+
677
+
Raises `LINALG_ERROR` if the matrix is singular.
678
+
Raises `LINALG_VALUE_ERROR` if the matrix is non-square.
679
+
Exceptions are returned to the `err` argument if provided; an `error stop` is triggered otherwise.
680
+
681
+
### Example
682
+
683
+
```fortran
684
+
{!example/linalg/example_determinant.f90!}
685
+
```
686
+
687
+
## `.det.` - Determinant operator of a square matrix
688
+
689
+
### Status
690
+
691
+
Experimental
692
+
693
+
### Description
694
+
695
+
This operator returns the determinant of a real square matrix.
696
+
697
+
This interface is equivalent to the `pure` version of determinant [[stdlib_linalg(module):det(interface)]].
0 commit comments