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