Navigation
API > API/Runtime > API/Runtime/ChaosCore > API/Runtime/ChaosCore/Chaos > API/Runtime/ChaosCore/Chaos/Chaos__PolarDecomposition
References
| Module | ChaosCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/ImplicitQRSVD.h |
| Include | #include "Chaos/ImplicitQRSVD.h" |
namespace Chaos
{
template<class T>
void Chaos::PolarDecomposition
(
const PMatrix < T, 3, 3 > & A,
PMatrix < T, 3, 3 > & R,
PMatrix < T, 3, 3 > & S_Sym
)
}
Remarks
Whole matrix S is stored Polar guarantees negative sign is on the small magnitude singular value. S is guaranteed to be the closest one to identity. R is guaranteed to be the closest rotation to A.
Parameters
| Name | Description |
|---|---|
| A | matrix. |
| R | Robustly a rotation matrix. |
| S_Sym | Symmetric. Whole matrix is stored |