File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ module stdlib_linalg_determinant
1111
1212 !> Function interface
1313 public :: det
14+ public :: operator(.det.)
1415
1516 character(*), parameter :: this = 'determinant'
1617
@@ -20,10 +21,19 @@ module stdlib_linalg_determinant
2021
2122 interface det
2223 #:for rk,rt in RC_KINDS_TYPES
24+ ! Interface with error control
2325 module procedure stdlib_linalg_${rt[0]}$${rk}$determinant
26+ ! Pure interface
2427 module procedure stdlib_linalg_pure_${rt[0]}$${rk}$determinant
2528 #:endfor
2629 end interface det
30+
31+ ! Pure Operator interface
32+ interface operator(.det.)
33+ #:for rk,rt in RC_KINDS_TYPES
34+ module procedure stdlib_linalg_pure_${rt[0]}$${rk}$determinant
35+ #:endfor
36+ end interface operator(.det.)
2737
2838 contains
2939
You can’t perform that action at this time.
0 commit comments