libroadrunner C API
rrc_libstruct_api.h
Go to the documentation of this file.
1 
41 #ifndef rrc_libstruct_apiH
42 #define rrc_libstruct_apiH
43 #include "rrc_exporter.h"
44 #include "rrc_types.h"
45 //---------------------------------------------------------------------------
46 #if defined(__cplusplus)
47 namespace rrc
48 {
49 extern "C"
50 {
51 #endif
52 
65 C_DECL_SPEC RRDoubleMatrixPtr rrcCallConv getL0Matrix(RRHandle handle);
66 
78 C_DECL_SPEC RRComplexMatrixPtr rrcCallConv getEigenVectors(RRDoubleMatrixPtr matrix);
79 
80 
91 C_DECL_SPEC RRComplexMatrixPtr rrcCallConv getZEigenVectors(RRComplexMatrixPtr matrix);
92 
93 
105 // int LibStructural_getConservedSums(double* *outArray, int *outLength);
107 
108 
109 // --------------------------------------------------------------------------------
110 // General purpose linear algebra methods
111 // --------------------------------------------------------------------------------
112 
120 C_DECL_SPEC RRDoubleMatrixPtr rrcCallConv getEigenvaluesMatrix(const RRDoubleMatrixPtr mat);
121 
129 C_DECL_SPEC RRComplexVectorPtr rrcCallConv getEigenvaluesVector(const RRDoubleMatrixPtr mat);
130 
131 //---------------------------------------------------------------------------
132 #if defined(__cplusplus)
133 }
134 }
135 #endif //rrc namespace and extern "C" scopes
136 
137 
138 #ifndef DOXYGEN_SHOULD_SKIP_THIS
139 
140 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
141 
142 #endif //Header guard
143 
C_DECL_SPEC RRDoubleMatrixPtr rrcCallConv getEigenvaluesMatrix(const RRDoubleMatrixPtr mat)
Compute the eigenvalues of a double matrix.
C_DECL_SPEC RRComplexVectorPtr rrcCallConv getEigenvaluesVector(const RRDoubleMatrixPtr mat)
Compute the eigenvalues of a double matrix.
C_DECL_SPEC RRComplexMatrixPtr rrcCallConv getEigenVectors(RRDoubleMatrixPtr matrix)
Calculates the eigen-vectors of a square real matrix. This function calculates the complex (right)eig...
C_DECL_SPEC RRComplexMatrixPtr rrcCallConv getZEigenVectors(RRComplexMatrixPtr matrix)
Calculates the eigen-vectors of a square nonsymmetrix complex matrix. This function calculates the co...
C_DECL_SPEC RRDoubleMatrixPtr rrcCallConv getL0Matrix(RRHandle handle)
Returns the L0 Matrix.
RRVectorPtr getConservedSums(RRHandle handle)
Returns values for conservation laws using the current initial conditions.
roadRunner C wrappers 2012
roadRunner C wrappers 2012
void * RRHandle
Void pointer to a RoadRunner instance.
Definition: rrc_types.h:50
Structure for a simple complex Matrix type.
Definition: rrc_types.h:101
Structure for a simple complex Vector type.
Definition: rrc_types.h:92
Structure for a simple double Matrix type.
Definition: rrc_types.h:74
Structure for a simple vector of doubles.
Definition: rrc_types.h:58