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.
621
+
622
+
`err` (optional): Shall be a `type(linalg_state_type)` return value.
623
+
624
+
### Return value
625
+
626
+
Returns a real scalar value that represents the determinnt of the matrix.
627
+
628
+
Raises `LINALG_ERROR` if the matrix is singular.
629
+
Raises `LINALG_VALUE_ERROR` if the matrix is non-square.
630
+
Exceptions are returned to the `err` argument if provided; an `error stop` is triggered otherwise.
631
+
632
+
### Example
633
+
634
+
```fortran
635
+
{!example/linalg/example_determinant.f90!}
636
+
```
637
+
638
+
## `.det.` - Determinant operator of a square matrix
639
+
640
+
### Status
641
+
642
+
Experimental
643
+
644
+
### Description
645
+
646
+
This operator returns the determinant of a real square matrix.
647
+
648
+
This interface is equivalent to the `pure` version of determinant [[stdlib_linalg(module):det(interface)]].
0 commit comments