Class OrthogonalProjections
Constructors
constructor
-
Parameters
Properties
Private _dimension
Private _multiplierCutoff
Private _numberValidVectors
_number
ValidVectors: Size
Private _numberVectors
Private _originalVectors
Private _orthoNormalizedVectors
_ortho
NormalizedVectors: Matrix
Private _projectedVectors
_projected
Vectors: Real[][] = []
Private _validVectors
_validVectors: boolean[]
Methods
GetVector
-
Parameters
Returns Real[]
numberValidVectors
- numberValidVectors(): Size
-
validVectors
- validVectors(): boolean[]
-
Returns boolean[]
Given a collection of vectors, w_i, find a collection of vectors x_i such that x_i is orthogonal to w_j for i != j, and <x_i, w_i> = <w_i, w_i>
This is done by performing GramSchmidt on the other vectors and then projecting onto the orthogonal space.
This class is tested in
MatricesTest.testOrthogonalProjection();