MyraMath
|
Applies the "Action" of a linear operator, b := A*x. More...
#include <Action.h>
Public Member Functions | |
Action () | |
Default constructor, initializes with a NullAction. | |
Action (const detail::ActionBase< Number > &that) | |
Clone constructor (deep). | |
Action (const Action< Number > &that) | |
Copy constructor (deep). | |
void | swap (Action< Number > &that) |
Member swap. | |
Action< Number > & | operator= (Action< Number > that) |
Assignment operator, copy and swap idiom. | |
~Action () | |
Frees internal resources. | |
std::pair< int, int > | size () const |
Size inspector. | |
void | multiply (const CMatrixRange< Number > &X, const MatrixRange< Number > &B, Number alpha, Number beta) const |
Assigns B = alpha*A*X + beta*B. | |
void | multiply (const CMatrixRange< Number > &X, const MatrixRange< Number > &B) const |
Assigns B = A*X. | |
void | multiply (const CVectorRange< Number > &x, const VectorRange< Number > &b, Number alpha, Number beta) const |
Assigns b = alpha*A*x + beta*b. | |
void | multiply (const CVectorRange< Number > &x, const VectorRange< Number > &b) const |
Assigns b = A*x. | |
Matrix< Number > | make_Matrix () const |
Tabulates *this into a dense Matrix. | |
Applies the "Action" of a linear operator, b := A*x.