Playa::LCN< Scalar, N > Class Template Reference

Inheritance diagram for Playa::LCN< Scalar, N >:

Playa::LCNBase< Scalar, N >

List of all members.

Public Member Functions

 LCN ()
void set (int i, const Scalar &a, const Vector< Scalar > &x)
LCN< Scalar, N > operator- () const
Vector< Scalar > eval () const

Related Functions

(Note that these are not member functions.)

template<class Scalar >
LCN< Scalar, 1 > operator* (const Scalar &alpha, const Vector< Scalar > &x)
template<class Scalar >
LCN< Scalar, 1 > operator* (const Vector< Scalar > &x, const Scalar &alpha)
template<class Scalar >
LCN< Scalar, 1 > operator/ (const Vector< Scalar > &x, const Scalar &alpha)


Detailed Description

template<class Scalar, int N>
class Playa::LCN< Scalar, N >

Definition at line 78 of file PlayaLinearCombinationDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar, int N>
Playa::LCN< Scalar, N >::LCN (  )  [inline]

Definition at line 82 of file PlayaLinearCombinationDecl.hpp.


Member Function Documentation

template<class Scalar, int N>
Vector<Scalar> Playa::LCN< Scalar, N >::eval (  )  const [inline, virtual]

template<class Scalar, int N>
LCN<Scalar, N> Playa::LCN< Scalar, N >::operator- (  )  const [inline]

Unary minus

Definition at line 92 of file PlayaLinearCombinationDecl.hpp.

References Playa::LCNBase< Scalar, N >::multiply().

template<class Scalar, int N>
void Playa::LCN< Scalar, N >::set ( int  i,
const Scalar &  a,
const Vector< Scalar > &  x 
) [inline]


Friends And Related Function Documentation

template<class Scalar >
LCN< Scalar, 1 > operator* ( const Vector< Scalar > &  x,
const Scalar &  alpha 
) [related]

vec * scalar

Definition at line 330 of file PlayaLinearCombinationImpl.hpp.

template<class Scalar >
LCN< Scalar, 1 > operator* ( const Scalar &  alpha,
const Vector< Scalar > &  x 
) [related]

scalar * vec

Definition at line 322 of file PlayaLinearCombinationImpl.hpp.

template<class Scalar >
LCN< Scalar, 1 > operator/ ( const Vector< Scalar > &  x,
const Scalar &  alpha 
) [related]

vec / scalar

Definition at line 339 of file PlayaLinearCombinationImpl.hpp.

Site Contact