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


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 
Qa 3x3 input matrix to decompose
Sresulting 3x3 orthogonal output matrix
toleranceresulting 3x3 symmetric output matrix