chrono::fea::ChPolarDecomposition< Real > Class Template Reference

Description

template<class Real = double>
class chrono::fea::ChPolarDecomposition< Real >

Perform a polar decomposition of a 3x3 P matrix in order to retrieve the orthogonal Q and the symmetric S form, as P=Q*S.

#include <ChPolarDecomposition.h>

Static Public Member Functions

static double Compute (const ChMatrix33< Real > &M, ChMatrix33< Real > &Q, ChMatrix33< Real > &S, double tolerance=1e-6)
 

Member Function Documentation

template<class Real = double>
static double chrono::fea::ChPolarDecomposition< Real >::Compute ( const ChMatrix33< Real > &  M,
ChMatrix33< Real > &  Q,
ChMatrix33< Real > &  S,
double  tolerance = 1e-6 
)
static
Parameters
Ma 3x3 input matrix to decompose
Qresulting 3x3 orthogonal output matrix
Sresulting 3x3 symmetric output matrix
tolerancetolerance of the computation