cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
nmrInverseSPD.h File Reference

Declaration of nmrInverseSPD. More...

#include <cisstCommon/cmnThrow.h>
#include <cisstVector/vctFixedSizeMatrix.h>
#include <cisstVector/vctDynamicMatrix.h>
#include <cisstNumerical/nmrNetlib.h>
#include <cisstNumerical/nmrExport.h>

Go to the source code of this file.

Functions

void CISST_EXPORT nmrInverseSPD (vctDynamicMatrix< double > &A)
 Computes the inverse of a symmetric positive definite matrix. More...
 

Detailed Description

Declaration of nmrInverseSPD.

Function Documentation

void CISST_EXPORT nmrInverseSPD ( vctDynamicMatrix< double > &  A)

Computes the inverse of a symmetric positive definite matrix.

This computes the inverse of a symmetric positive definite (SPD) matrix. The $ N \times N $ matrix is assumed SPD and only the lower triangular is considered in the computation. The upper triangular is assumed to be symmetric even though it might not be as it is not used to compute the inverse.

Parameters
[in]AA $ N \times N $ column major symmetric positive definite matrix.
[out]AThe matrix inverse