Operator< Internal::SizedIdentity< Precision > > Struct Template Reference
[TooN internals]

A variant of Identity which holds a size, allowing dynamic matrices to be constructed. More...

#include <objects.h>

Inheritance diagram for Operator< Internal::SizedIdentity< Precision > >:

Operator< Internal::Identity< Precision > >

List of all members.

Public Member Functions

Constructors
 Operator (int s, const Precision &v)
Scalable operator members
template<class Pout , class Pmult >
Operator
< Internal::SizedIdentity
< Pout > > 
scale_me (const Pmult &m) const

Sized operator members

const int my_size
int num_rows () const
int num_cols () const


Detailed Description

template<class Precision>
struct TooN::Operator< Internal::SizedIdentity< Precision > >

A variant of Identity which holds a size, allowing dynamic matrices to be constructed.

For internal use only.


Member Function Documentation

int num_rows (  )  const

This along with num_cols() must be present in order to construct matrices.

Reimplemented from Operator< Internal::Identity< Precision > >.

int num_cols (  )  const

This along with num_rows() must be present in order to construct matrices.

Reimplemented from Operator< Internal::Identity< Precision > >.

Operator<Internal::SizedIdentity<Pout> > scale_me ( const Pmult &  m  )  const

Scale the operator by a scalar and return a new opeator.

Reimplemented from Operator< Internal::Identity< Precision > >.


Generated on Tue Oct 27 16:09:25 2009 for TooN by  doxygen 1.5.9