libRoadRunner C API  1.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
roadRunner C API 2012
RRDoubleMatrixPtr getEigenvaluesMatrix(const RRDoubleMatrixPtr mat)
Compute the eigenvalues of a double matrix.
Definition: rrc_libstruct_api.cpp:39
RRComplexMatrixPtr getZEigenVectors(RRComplexMatrixPtr matrix)
Calculates the eigen-vectors of a square nonsymmetrix complex matrix. This function calculates the co...
Definition: rrc_libstruct_api.cpp:454
RRComplexVectorPtr getEigenvaluesVector(const RRDoubleMatrixPtr mat)
Compute the eigenvalues of a double matrix.
Definition: rrc_libstruct_api.cpp:66
Structure for a simple vector of doubles.
Definition: rrc_types.h:59
Structure for a simple double Matrix type.
Definition: rrc_types.h:75
void * RRHandle
Void pointer to a RoadRunner instance.
Definition: rrc_types.h:50
Structure for a simple complex Matrix type.
Definition: rrc_types.h:102
RRComplexMatrixPtr getEigenVectors(RRDoubleMatrixPtr matrix)
Calculates the eigen-vectors of a square real matrix. This function calculates the complex (right)eig...
Definition: rrc_libstruct_api.cpp:412
RRDoubleMatrixPtr getL0Matrix(RRHandle handle)
Returns the L0 Matrix.
Definition: rrc_libstruct_api.cpp:20
Structure for a simple complex Vector type.
Definition: rrc_types.h:93
roadRunner C API 2012
RRVectorPtr getConservedSums(RRHandle handle)
Returns values for conservation laws using the current initial conditions.
Definition: rrc_libstruct_api.cpp:30