libRoadRunner C API  1.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
Linear algebra functions

Linear algebra utility functions. More...

Functions

RRDoubleMatrixPtr getEigenvaluesMatrix (const RRDoubleMatrixPtr mat)
 Compute the eigenvalues of a double matrix. More...
 
RRComplexVectorPtr getEigenvaluesVector (const RRDoubleMatrixPtr mat)
 Compute the eigenvalues of a double matrix. More...
 

Detailed Description

Linear algebra utility functions.

Function Documentation

RRDoubleMatrixPtr getEigenvaluesMatrix ( const RRDoubleMatrixPtr  mat)

Compute the eigenvalues of a double matrix.

Parameters
[in]matPointer to a to double matrix
Returns
Returns NULL if it fails, otherwise returns a matrix of eigenvalues. The first column will contain the real values and the second column the imaginary values
RRComplexVectorPtr getEigenvaluesVector ( const RRDoubleMatrixPtr  mat)

Compute the eigenvalues of a double matrix.

Parameters
[in]matHandle to input matrix
Returns
Returns null if it fails, otherwise returns a complex vector of eigenvalues.