#include <GteSingularValueDecomposition.h>
Classes | |
struct | GivensRotation |
Public Member Functions | |
Real | GetSingularValue (int index) const |
void | GetSingularValues (Real *singularValues) const |
void | GetU (Real *uMatrix) const |
void | GetUColumn (int index, Real *uColumn) const |
void | GetV (Real *vMatrix) const |
void | GetVColumn (int index, Real *vColumn) const |
SingularValueDecomposition (int numRows, int numCols, unsigned int maxIterations) | |
unsigned int | Solve (Real const *input, int sortType) |
Private Member Functions | |
void | Bidiagonalize () |
void | ComputePermutation (int sortType) |
bool | DiagonalEntriesNonzero (int imin, int imax, Real threshold) |
void | DoGolubKahanStep (int imin, int imax) |
void | EnsureNonnegativeDiagonal () |
void | GetSinCos (Real u, Real v, Real &cs, Real &sn) |
Private Attributes | |
std::vector< Real > | mDiagonal |
std::vector< Real > | mFixupDiagonal |
std::vector< GivensRotation > | mLGivens |
std::vector< Real > | mMatrix |
unsigned int | mMaxIterations |
int | mNumCols |
int | mNumRows |
std::vector< int > | mPermutation |
std::vector< GivensRotation > | mRGivens |
std::vector< Real > | mSuperdiagonal |
std::vector< Real > | mTwoInvUTU |
std::vector< Real > | mTwoInvVTV |
std::vector< Real > | mUVector |
std::vector< int > | mVisited |
std::vector< Real > | mVVector |
std::vector< Real > | mWVector |
Definition at line 114 of file GteSingularValueDecomposition.h.
gte::SingularValueDecomposition< Real >::SingularValueDecomposition | ( | int | numRows, |
int | numCols, | ||
unsigned int | maxIterations | ||
) |
Definition at line 250 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 785 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 1060 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 938 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 970 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 1043 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 910 of file GteSingularValueDecomposition.h.
Real gte::SingularValueDecomposition< Real >::GetSingularValue | ( | int | index | ) | const |
Definition at line 763 of file GteSingularValueDecomposition.h.
void gte::SingularValueDecomposition< Real >::GetSingularValues | ( | Real * | singularValues | ) | const |
Definition at line 380 of file GteSingularValueDecomposition.h.
void gte::SingularValueDecomposition< Real >::GetU | ( | Real * | uMatrix | ) | const |
Definition at line 404 of file GteSingularValueDecomposition.h.
void gte::SingularValueDecomposition< Real >::GetUColumn | ( | int | index, |
Real * | uColumn | ||
) | const |
Definition at line 618 of file GteSingularValueDecomposition.h.
void gte::SingularValueDecomposition< Real >::GetV | ( | Real * | vMatrix | ) | const |
Definition at line 505 of file GteSingularValueDecomposition.h.
void gte::SingularValueDecomposition< Real >::GetVColumn | ( | int | index, |
Real * | vColumn | ||
) | const |
Definition at line 690 of file GteSingularValueDecomposition.h.
unsigned int gte::SingularValueDecomposition< Real >::Solve | ( | Real const * | input, |
int | sortType | ||
) |
Definition at line 279 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 205 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 231 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 228 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 200 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 196 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 192 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 192 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 236 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 227 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 206 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 241 of file GteSingularValueDecomposition.h.
|
private |
Definition at line 242 of file GteSingularValueDecomposition.h.
|
mutableprivate |
Definition at line 243 of file GteSingularValueDecomposition.h.
|
mutableprivate |
Definition at line 237 of file GteSingularValueDecomposition.h.
|
mutableprivate |
Definition at line 244 of file GteSingularValueDecomposition.h.
|
mutableprivate |
Definition at line 245 of file GteSingularValueDecomposition.h.