Operator< Internal::Scalars< P > > Struct Template Reference
[TooN internals]

Generic scalars object. Knows how to be added, knows how to deal with += and so on. See TooN::Ones. More...

#include <objects.h>

Inheritance diagram for Operator< Internal::Scalars< P > >:
Operator< Internal::RCScalars< P > > Operator< Internal::SizedScalars< P > >

List of all members.

Public Member Functions

Constructors

 Operator (Precision s_)
 Operator ()
Operator members

template<int Size, typename P1 , typename B1 >
void eval (Vector< Size, P1, B1 > &v) const
template<int Size, typename P1 , typename B1 >
void plusequals (Vector< Size, P1, B1 > &v) const
template<int Size, typename P1 , typename B1 >
void minusequals (Vector< Size, P1, B1 > &v) const
template<int Size, typename P1 , typename B1 >
Operator
< Internal::ScalarsVector
< Size, P1, B1, Precision > > 
add (const Vector< Size, P1, B1 > &v) const
template<int Size, typename P1 , typename B1 >
Operator
< Internal::ScalarsVector
< Size, P1, B1, Precision > > 
rsubtract (const Vector< Size, P1, B1 > &v) const
template<int Size, typename P1 , typename B1 >
Operator
< Internal::ScalarsVector
< Size, P1, B1, Precision > > 
lsubtract (const Vector< Size, P1, B1 > &v) const
template<int Rows, int Cols, typename P1 , typename B1 >
void eval (Matrix< Rows, Cols, P1, B1 > &m) const
template<int Rows, int Cols, typename P1 , typename B1 >
void plusequals (Matrix< Rows, Cols, P1, B1 > &m) const
template<int Rows, int Cols, typename P1 , typename B1 >
void minusequals (Matrix< Rows, Cols, P1, B1 > &m) const
template<int Rows, int Cols, typename P1 , typename B1 >
Operator
< Internal::ScalarsMatrix
< Rows, Cols, P1, B1,
Precision > > 
add (const Matrix< Rows, Cols, P1, B1 > &v) const
template<int Rows, int Cols, typename P1 , typename B1 >
Operator
< Internal::ScalarsMatrix
< Rows, Cols, P1, B1, typename
Internal::NegType< P >::Type > > 
rsubtract (const Matrix< Rows, Cols, P1, B1 > &v) const
template<int Rows, int Cols, typename P1 , typename B1 >
Operator
< Internal::ScalarsMatrix
< Rows, Cols, P1, B1,
Precision > > 
lsubtract (const Matrix< Rows, Cols, P1, B1 > &v) const
Sizeable operators members

Operator
< Internal::SizedScalars
< Precision > > 
operator() (int size) const
Operator< Internal::RCScalars
< Precision > > 
operator() (int r, int c) const

Public Attributes

const Precision s

Scalable operator members



typedef P Precision
template<class Pout , class Pmult >
Operator< Internal::Scalars
< Pout > > 
scale_me (const Pmult &m) const

Detailed Description

template<class P>
struct TooN::Operator< Internal::Scalars< P > >

Generic scalars object. Knows how to be added, knows how to deal with += and so on. See TooN::Ones.

For internal use only.

Generated on Wed Nov 3 16:15:54 2010 for TooN by  doxygen 1.6.3