Blender  V3.3
Classes | Functions
btPolarDecomposition.h File Reference
#include "btMatrix3x3.h"

Go to the source code of this file.

Classes

class  btPolarDecomposition
 

Functions

unsigned int polarDecompose (const btMatrix3x3 &a, btMatrix3x3 &u, btMatrix3x3 &h)
 

Function Documentation

◆ polarDecompose()

unsigned int polarDecompose ( const btMatrix3x3 a,
btMatrix3x3 u,
btMatrix3x3 h 
)

This functions decomposes the matrix 'a' into two parts: an orthogonal matrix 'u' and a symmetric, positive-definite matrix 'h'. If the number of iterations returned by this function is equal to btPolarDecomposition::DEFAULT_MAX_ITERATIONS, the algorithm has failed to converge.

Parameters
a- the original matrix
u- the resulting orthogonal matrix
h- the resulting symmetric matrix
Returns
the number of iterations performed by the algorithm.

Definition at line 90 of file btPolarDecomposition.cpp.

References Freestyle::a, and btPolarDecomposition::decompose().