Tapkee
MatrixProjectionImplementation Struct Reference

#include <projection.hpp>

Public Member Functions

 MatrixProjectionImplementation (DenseMatrix matrix, DenseVector mean)
 
virtual ~MatrixProjectionImplementation ()
 
virtual DenseVector project (const DenseVector &vec)
 

Public Attributes

DenseMatrix proj_mat
 
DenseVector mean_vec
 

Detailed Description

Basic ProjectionImplementation that subtracts mean from the vector and multiplies projecting matrix with it.

Definition at line 46 of file projection.hpp.

Constructor & Destructor Documentation

◆ MatrixProjectionImplementation()

Definition at line 48 of file projection.hpp.

◆ ~MatrixProjectionImplementation()

virtual ~MatrixProjectionImplementation ( )
virtual

Definition at line 52 of file projection.hpp.

Member Function Documentation

◆ project()

virtual DenseVector project ( const DenseVector vec)
virtual

Projects provided vector to new space.

Parameters
vecvector to be projected
Returns
projected vector

Implements ProjectionImplementation.

Definition at line 56 of file projection.hpp.

Member Data Documentation

◆ mean_vec

DenseVector mean_vec

Definition at line 62 of file projection.hpp.

◆ proj_mat

DenseMatrix proj_mat

Definition at line 61 of file projection.hpp.


The documentation for this struct was generated from the following file: