Navigation
API > API/Runtime > API/Runtime/ChaosCore > API/Runtime/ChaosCore/Chaos
References
| Module | ChaosCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/ImplicitQRSVD.h |
| Include | #include "Chaos/ImplicitQRSVD.h" |
Syntax
template<class T>
class GivensRotation
Remarks
Class for givens rotation. Row rotation G*A corresponds to something like c -s 0 ( s c 0 ) A 0 0 1 Column rotation A G' corresponds to something like c -s 0 A ( s c 0 ) 0 0 1
c and s are always Computed so that ( c -s ) ( a ) = ( * ) s c b ( 0 )
Assume rowi
Variables
| Type | Name | Description | |
|---|---|---|---|
| T | c | ||
| int | rowi | ||
| int | rowk | ||
| T | s |
Constructors
| Type | Name | Description | |
|---|---|---|---|
GivensRotation
(
int rowi_in, |
|||
GivensRotation
(
T a, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ColumnRotation
(
PMatrix< T, 2, 2 >& A |
Template |
|
| void | ColumnRotation
(
PMatrix< T, 3, 3 >& A |
Template |
|
| void | Compute
(
const T a, |
Compute c and s from a and b so that ( c -s ) ( a ) = ( * ) s c b ( 0 ) | |
| void | ComputeUnconventional
(
const T a, |
This function Computes c and s so that ( c -s ) ( a ) = ( 0 ) s c b ( * ) | |
| void | Template |
||
| void | RowRotation
(
PMatrix< T, 2, 2 >& A |
Template |
|
| void | RowRotation
(
PMatrix< T, 3, 3 >& A |
Template |
|
| void |
Operators
| Type | Name | Description | |
|---|---|---|---|
| GivensRotation< T > | operator*
(
const GivensRotation< T >& A |
Multiply givens must be for same row and column | |
| void | operator*=
(
const GivensRotation< T >& A |
Multiply givens must be for same row and column |