#include <Vector.h>
Inheritance diagram for FD::BaseVector:
Public Member Functions | |
BaseVector () | |
constructor | |
virtual size_t | vsize () const =0 |
return vector size | |
virtual bool | vempty () const =0 |
return true if vector empty | |
virtual ObjectRef | range (size_t startInd, size_t endInd)=0 |
virtual ObjectRef | getIndex (int pos)=0 |
virtual void | setIndex (int pos, ObjectRef val)=0 |
virtual ObjectRef | clone ()=0 |
|
Clone the vector and return an identical copy (deep copy) Reimplemented from FD::Object. Implemented in FD::Vector< T >, FD::Vector< RCPtr< Covariance > >, FD::Vector< double >, FD::Vector< RCPtr< GMM > >, FD::Vector< float >, FD::Vector< int >, FD::Vector< Vector< float > >, FD::Vector< RCPtr< FFLayer > >, FD::Vector< RCPtr< Mean > >, FD::Vector< RCPtr< Gaussian > >, and FD::Vector< ObjectRef >. |
|
Returns an element (in an ObjectRef) of the vector
Implemented in FD::Vector< T >, FD::Vector< RCPtr< Covariance > >, FD::Vector< double >, FD::Vector< RCPtr< GMM > >, FD::Vector< float >, FD::Vector< int >, FD::Vector< Vector< float > >, FD::Vector< RCPtr< FFLayer > >, FD::Vector< RCPtr< Mean > >, FD::Vector< RCPtr< Gaussian > >, and FD::Vector< ObjectRef >. |
|
Returns a new vector (in an ObjectRef) with a range of indexes of the same type.
Implemented in FD::Vector< T >, FD::Vector< RCPtr< Covariance > >, FD::Vector< double >, FD::Vector< RCPtr< GMM > >, FD::Vector< float >, FD::Vector< int >, FD::Vector< Vector< float > >, FD::Vector< RCPtr< FFLayer > >, FD::Vector< RCPtr< Mean > >, FD::Vector< RCPtr< Gaussian > >, and FD::Vector< ObjectRef >. |
|
Set an element value at the desired position
Implemented in FD::Vector< T >, FD::Vector< RCPtr< Covariance > >, FD::Vector< double >, FD::Vector< RCPtr< GMM > >, FD::Vector< float >, FD::Vector< int >, FD::Vector< Vector< float > >, FD::Vector< RCPtr< FFLayer > >, FD::Vector< RCPtr< Mean > >, FD::Vector< RCPtr< Gaussian > >, and FD::Vector< ObjectRef >. |