Skip to content

Commit 7ccdb49

Browse files
committed
add linalg state handler
1 parent 8476d65 commit 7ccdb49

File tree

3 files changed

+537
-0
lines changed

3 files changed

+537
-0
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ set(fppFiles
2323
stdlib_linalg_diag.fypp
2424
stdlib_linalg_outer_product.fypp
2525
stdlib_linalg_kronecker.fypp
26+
stdlib_linalg_constants.fypp
2627
stdlib_linalg_cross_product.fypp
28+
stdlib_linalg_state.fypp
2729
stdlib_optval.fypp
2830
stdlib_selection.fypp
2931
stdlib_sorting.fypp

src/stdlib_linalg_constants.fypp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#:include "common.fypp"
2+
module stdlib_linalg_constants
3+
use stdlib_kinds, only: sp, dp, qp, int32, int64, lk
4+
use, intrinsic :: ieee_arithmetic, only: ieee_is_nan
5+
!$ use omp_lib
6+
implicit none(type,external)
7+
public
8+
9+
10+
! Integer size support for ILP64 builds should be done here
11+
integer, parameter :: ilp = int32
12+
private :: int32, int64
13+
14+
15+
16+
17+
18+
end module stdlib_linalg_constants

0 commit comments

Comments
 (0)