CMR  1.3.0
linear_algebra.h
Go to the documentation of this file.
1 #ifndef CMR_LINEAR_ALGEBRA_H
2 #define CMR_LINEAR_ALGEBRA_H
3 
10 #include <cmr/env.h>
11 #include <cmr/matrix.h>
12 
13 #include <stdio.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
23 CMR_EXPORT
25  CMR* cmr,
26  CMR_CHRMAT* matrix,
27  int64_t* pdeterminant
28 );
29 
34 CMR_EXPORT
36  CMR* cmr,
37  CMR_INTMAT* matrix,
38  int64_t* pdeterminant
39 );
40 
41 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif /* CMR_LINEAR_ALGEBRA_H */
Basic functionality of the software library.
CMR_ERROR
Type for return codes of library functions.
Definition: env.h:32
CMR_EXPORT CMR_ERROR CMRintmatDeterminant(CMR *cmr, CMR_INTMAT *matrix, int64_t *pdeterminant)
Computes the determinant of an int matrix.
Definition: linear_algebra.c:972
CMR_EXPORT CMR_ERROR CMRchrmatDeterminant(CMR *cmr, CMR_CHRMAT *matrix, int64_t *pdeterminant)
Computes the determinant of an 8-bit integer matrix.
Definition: linear_algebra.c:1011
Functionality for sparse matrices.
Row-wise representation of sparse char matrix.
Definition: matrix.h:204
Definition: env_internal.h:45
Row-wise representation of sparse int matrix.
Definition: matrix.h:180