mlpack
2.2.5
|
ProjVector defines a general projection vector (not necessarily axis-parallel). More...
Public Member Functions | |
ProjVector () | |
Empty Constructor. More... | |
ProjVector (const arma::vec &vect) | |
Create the projection vector based on the specified vector. More... | |
template<typename VecType > | |
double | Project (const VecType &point, typename boost::enable_if< IsVector< VecType > >::type *=0) const |
Project the given point on the projection vector. More... | |
template<typename MetricType , typename VecType > | |
math::RangeType< typename VecType::elem_type > | Project (const bound::BallBound< MetricType, VecType > &bound) const |
Project the given ball bound on the projection vector. More... | |
template<typename Archive > | |
void | Serialize (Archive &ar, const unsigned int) |
Serialization. More... | |
ProjVector defines a general projection vector (not necessarily axis-parallel).
Definition at line 91 of file projection_vector.hpp.
|
inline |
Empty Constructor.
Definition at line 100 of file projection_vector.hpp.
|
inline |
Create the projection vector based on the specified vector.
vect | Vector to be considered. |
Definition at line 109 of file projection_vector.hpp.
|
inline |
Project the given point on the projection vector.
point | Point to be projected. |
Definition at line 119 of file projection_vector.hpp.
Referenced by ProjVector::Project().
|
inline |
Project the given ball bound on the projection vector.
bound | Bound to be projected. |
Definition at line 132 of file projection_vector.hpp.
References BallBound< MetricType, VecType >::Center(), ProjVector::Project(), and BallBound< MetricType, VecType >::Radius().
|
inline |
Serialization.
Definition at line 145 of file projection_vector.hpp.
References mlpack::data::CreateNVP().