atlas  0.6
Public Member Functions | Private Types | List of all members
atlas::matrix::Vector< C > Class Template Reference

#include <Atlas.h>

Inheritance diagram for atlas::matrix::Vector< C >:
Inheritance graph
[legend]
Collaboration diagram for atlas::matrix::Vector< C >:
Collaboration graph
[legend]

Public Member Functions

 Vector ()
 
 Vector (size_t n)
 
 Vector (const base &b)
 
 Vector (size_t n, C c)
 
template<typename I >
 Vector (I b, I e)
 
Vectoroperator+= (const Vector &)
 
Vectoroperator-= (const Vector &)
 
Vectoroperator*= (C)
 Scalar multiplies by |c|. More...
 
Vectornegate ()
 
Vectornegate_add (const Vector &y)
 
template<typename I >
Vectoradd (I b, C c)
 
template<typename I >
Vectorsubtract (I b, C c)
 
template<typename C1 >
C1 dot (const Vector< C1 > &v) const
 
bool isZero () const
 
Vector operator+ (const Vector &v) const
 
Vector operator- (const Vector &v) const
 
Vector operator* (C c) const
 
Vector operator- () const
 
template<typename C1 >
Vector< C1 > scaled (C1 c) const
 
Matrix< C > row_matrix () const
 
Matrix< C > column_matrix () const
 
template<typename I >
Vector< C > & add (I b, C c)
 

Private Types

typedef std::vector< C > base
 

Member Typedef Documentation

template<typename C>
typedef std::vector<C> atlas::matrix::Vector< C >::base
private

Constructor & Destructor Documentation

template<typename C>
atlas::matrix::Vector< C >::Vector ( )
inline
template<typename C>
atlas::matrix::Vector< C >::Vector ( size_t  n)
inlineexplicit
template<typename C>
atlas::matrix::Vector< C >::Vector ( const base b)
inlineexplicit
template<typename C>
atlas::matrix::Vector< C >::Vector ( size_t  n,
c 
)
inline
template<typename C>
template<typename I >
atlas::matrix::Vector< C >::Vector ( b,
e 
)
inline

Member Function Documentation

template<typename C>
template<typename I >
Vector<C>& atlas::matrix::Vector< C >::add ( b,
c 
)
template<typename C>
template<typename I >
Vector& atlas::matrix::Vector< C >::add ( b,
c 
)
template<typename C >
Matrix< C > atlas::matrix::Vector< C >::column_matrix ( ) const
template<typename C >
template<typename C1 >
template signed char atlas::matrix::Vector< C >::dot ( const Vector< C1 > &  v) const
template<typename C >
bool atlas::matrix::Vector< C >::isZero ( ) const
template<typename C >
Vector< C > & atlas::matrix::Vector< C >::negate ( )
template<typename C >
Vector< C > & atlas::matrix::Vector< C >::negate_add ( const Vector< C > &  y)
template<typename C>
Vector atlas::matrix::Vector< C >::operator* ( c) const
inline
template<typename C>
Vector< C > & atlas::matrix::Vector< C >::operator*= ( c)

Scalar multiplies by |c|.

template<typename C>
Vector atlas::matrix::Vector< C >::operator+ ( const Vector< C > &  v) const
inline
template<typename C >
Vector< C > & atlas::matrix::Vector< C >::operator+= ( const Vector< C > &  v)
template<typename C>
Vector atlas::matrix::Vector< C >::operator- ( const Vector< C > &  v) const
inline
template<typename C>
Vector atlas::matrix::Vector< C >::operator- ( ) const
inline
template<typename C >
Vector< C > & atlas::matrix::Vector< C >::operator-= ( const Vector< C > &  v)
template<typename C >
Matrix< C > atlas::matrix::Vector< C >::row_matrix ( ) const
template<typename C >
template<typename C1 >
Vector< C1 > atlas::matrix::Vector< C >::scaled ( C1  c) const
template<typename C>
template<typename I >
Vector& atlas::matrix::Vector< C >::subtract ( b,
c 
)
inline

The documentation for this class was generated from the following files: