#include <STK_TExpAlgebra.h>
Public Member Functions | |
| Real | operator[] (Integer i) const |
Protected Member Functions | |
| BinOpBase (const ExpLeft &X, const Matrix &y) | |
| ~BinOpBase () | |
Protected Attributes | |
| const ExpLeft & | lhs_ |
| Reference on the Left Side. | |
| const Matrix & | rhs_ |
| Reference on the Right term. | |
Definition at line 197 of file STK_TExpAlgebra.h.
| STK::BinOpBase< Mult, ExpLeft, Matrix >::BinOpBase | ( | const ExpLeft & | X, | |
| const Matrix & | y | |||
| ) | [inline, protected] |
| STK::BinOpBase< Mult, ExpLeft, Matrix >::~BinOpBase | ( | ) | [inline, protected] |
| Real STK::BinOpBase< Mult, ExpLeft, Matrix >::operator[] | ( | Integer | i | ) | const [inline] |
The operator[] will perform lhs_ Op Matrix(j) where Op Mult (*)
Definition at line 214 of file STK_TExpAlgebra.h.
References STK::Mult::apply(), STK::BinOpBase< Op, ExpLeft, ExpRight >::lhs_, and STK::BinOpBase< Op, ExpLeft, ExpRight >::rhs_.
00215 { 00216 Real aux = 0.0; 00217 for (Integer j = rhs_.firstRow(); j<= rhs_.lastRow(); j++) 00218 aux += Mult::apply(lhs_[j],rhs_(j,i)); 00219 return aux; 00220 }
const ExpLeft& STK::BinOpBase< Mult, ExpLeft, Matrix >::lhs_ [protected] |
Definition at line 200 of file STK_TExpAlgebra.h.
const Matrix& STK::BinOpBase< Mult, ExpLeft, Matrix >::rhs_ [protected] |
Definition at line 201 of file STK_TExpAlgebra.h.
1.5.8