Tapkee
MatrixProjectionImplementation Struct Reference

#include <projection.hpp>

List of all members.

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

Definition at line 48 of file projection.hpp.

virtual ~MatrixProjectionImplementation ( ) [virtual]

Definition at line 52 of file projection.hpp.


Member Function Documentation

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

Definition at line 62 of file projection.hpp.

Definition at line 61 of file projection.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines