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) |
Definition at line 78 of file PlayaLinearCombinationDecl.hpp.
Playa::LCN< Scalar, N >::LCN | ( | ) | [inline] |
Definition at line 82 of file PlayaLinearCombinationDecl.hpp.
Vector<Scalar> Playa::LCN< Scalar, N >::eval | ( | ) | const [inline, virtual] |
Implements Playa::LCNBase< Scalar, N >.
Definition at line 100 of file PlayaLinearCombinationDecl.hpp.
References Playa::LCNBase< Scalar, N >::a_, Playa::Vector< Scalar >::scale(), and Playa::LCNBase< Scalar, N >::x_.
Referenced by Playa::operator*(), Playa::Vector< Scalar >::operator+=(), Playa::Vector< Scalar >::operator-=(), Playa::Vector< Scalar >::operator=(), and Playa::Vector< Scalar >::Vector().
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().
void Playa::LCN< Scalar, N >::set | ( | int | i, | |
const Scalar & | a, | |||
const Vector< Scalar > & | x | |||
) | [inline] |
Definition at line 85 of file PlayaLinearCombinationDecl.hpp.
References Playa::LCNBase< Scalar, N >::a_, and Playa::LCNBase< Scalar, N >::x_.
Referenced by Playa::operator+(), and Playa::operator-().
LCN< Scalar, 1 > operator* | ( | const Vector< Scalar > & | x, | |
const Scalar & | alpha | |||
) | [related] |
vec * scalar
Definition at line 330 of file PlayaLinearCombinationImpl.hpp.
LCN< Scalar, 1 > operator* | ( | const Scalar & | alpha, | |
const Vector< Scalar > & | x | |||
) | [related] |
scalar * vec
Definition at line 322 of file PlayaLinearCombinationImpl.hpp.
LCN< Scalar, 1 > operator/ | ( | const Vector< Scalar > & | x, | |
const Scalar & | alpha | |||
) | [related] |
vec / scalar
Definition at line 339 of file PlayaLinearCombinationImpl.hpp.