#include <productspace.hh>
Inheritance diagram for RVL::Components< Scalar >:
Public Member Functions | |
Components (const Vector< Scalar > &v) | |
~Components () | |
Destructor. | |
size_t | getSize () const |
return number of components | |
Vector< Scalar > & | operator[] (size_t i) |
return ith component; throw exception if index is out of bounds. | |
Vector< Scalar > const & | operator[] (size_t i) const |
ostream & | write (ostream &str) const |
Set up to work properly for non-product vectors also - these have one component!
Definition at line 522 of file productspace.hh.
RVL::Components< Scalar >::Components | ( | const Vector< Scalar > & | v | ) |
Definition at line 541 of file productspace.hh.
References RVL::Vector< Scalar >::getDataContainer(), RVL::Product< T >::getSize(), RVL::Vector< Scalar >::getSpace(), and RVL::Vector< Scalar >::getVersionRef().
RVL::Components< Scalar >::~Components | ( | ) |
size_t RVL::Components< Scalar >::getSize | ( | ) | const [virtual] |
return number of components
Implements RVL::Product< T >.
Definition at line 574 of file productspace.hh.
Referenced by RVL::DiagOp< Scalar >::apply(), RVL::ColumnLinearOp< Scalar >::applyAdj(), RVL::BlockLinearOp< Scalar >::applyAdj(), RVL::OperatorProductDomain< Scalar >::applyAdjDeriv(), RVL::DiagOp< Scalar >::applyAdjDeriv(), RVL::BlockOperator< Scalar >::applyAdjDeriv(), RVL::DiagOp< Scalar >::applyAdjDeriv2(), RVL::BlockOperator< Scalar >::applyAdjDeriv2(), RVL::DiagOp< Scalar >::applyDeriv(), RVL::BlockOperator< Scalar >::applyDeriv(), RVL::DiagOp< Scalar >::applyDeriv2(), RVL::BlockOperator< Scalar >::applyDeriv2(), RVL::FunctionalProductDomain< Scalar >::applyGradient(), and RVL::FunctionalProductDomain< Scalar >::applyHessian().
Vector<Scalar>& RVL::Components< Scalar >::operator[] | ( | size_t | i | ) | [virtual] |
return ith component; throw exception if index is out of bounds.
Implements RVL::Product< T >.
Definition at line 576 of file productspace.hh.
Vector<Scalar> const& RVL::Components< Scalar >::operator[] | ( | size_t | i | ) | const [virtual] |
ostream& RVL::Components< Scalar >::write | ( | ostream & | str | ) | const |
Definition at line 593 of file productspace.hh.