Public Member Functions | |
| Real | norm0 (const Vector &x) const |
| Real | norm1 (const Vector &x) const |
| Real | norm2 (const Vector &x) const |
| Real | normInf (const Vector &x) const |
| Real | norm2 (const Matrix &x) const |
| void | mult (const Matrix &a, const Vector &x, Vector &r) const |
| void | axpy (Real alpha, const Vector &x, Vector &r) const |
| void | aypx (Real alpha, Vector &y, const Vector &x) const |
| void | copy (const Vector &x, Vector &r) const |
| Real | dot (const Vector &x, const Vector &y) const |
| void | scal (Real alpha, Vector &x) const |
| void | diagonal (const Matrix &a, Vector &x) const |
| void | reciprocal (Vector &x) const |
| void | pointwiseMult (const Vector &x, const Vector &y, Vector &w) const |
| void | mult (const Matrix &a, const UniqueArray< Real > &x, UniqueArray< Real > &r) const |
| void | axpy (Real alpha, UniqueArray< Real > const &x, UniqueArray< Real > &r) const |
| void | aypx (Real alpha, UniqueArray< Real > &y, UniqueArray< Real > const &x) const |
| void | copy (const UniqueArray< Real > &x, UniqueArray< Real > &r) const |
| Real | dot (Integer local_size, const UniqueArray< Real > &x, const UniqueArray< Real > &y) const |
| void | scal (Real alpha, UniqueArray< Real > &x) const |
| void | copy (const Matrix &a, Matrix &r) const |
| void | add (const Matrix &a, Matrix &r) const |
| void | scal (Real alpha, Matrix &r) const |
| Public Member Functions inherited from Alien::IInternalLinearAlgebraExpr< CSRMatrix, CSRVector > | |
| virtual | ~IInternalLinearAlgebraExpr () |
| Free resources. | |
| virtual Real | norm0 (const Vector &x) const=0 |
| Compute L0 norm of a vector. | |
| virtual Real | norm1 (const Vector &x) const=0 |
| Compute L1 norm of a vector. | |
| virtual Real | norm2 (const Vector &x) const=0 |
| Compute L2 norm of a vector. | |
| virtual Real | normInf (const Vector &x) const=0 |
| Compute LInf norm of a vector. | |
| virtual void | mult (const Matrix &a, const Vector &x, Vector &r) const=0 |
| Compute a matrix vector product. | |
| virtual void | axpy (Real alpha, const Vector &x, Vector &y) const=0 |
| Scale a vector by a factor and adds the result to another vector. | |
| virtual void | aypx (Real alpha, Vector &y, const Vector &x) const=0 |
| Scale a vector by a factor and adds the result to another vector. | |
| virtual void | copy (const Vector &x, Vector &r) const=0 |
| Copy a vector in another one. | |
| virtual void | add (const Matrix &a, Matrix &r) const=0 |
| Add a matrix to another one. | |
| virtual Real | dot (const Vector &x, const Vector &y) const=0 |
| Compute the dot product of two vectors. | |
| virtual void | scal (Real alpha, Vector &x) const=0 |
| Scale a vector by a factor. | |
| virtual void | diagonal (const Matrix &a, Vector &x) const=0 |
| Extract the diagonal of a matrix in a vector. | |
| virtual void | reciprocal (Vector &x) const=0 |
| Compute the reciprocal of a vector. | |
| virtual void | pointwiseMult (const Vector &x, const Vector &y, Vector &w) const=0 |
| Compute the point wise multiplication of two vectors and store the result in another one. | |
| virtual void | dump (Matrix const &a, std::string const &filename) const |
| Dumps a matrix to a file. | |
Additional Inherited Members | |
| Public Types inherited from Alien::IInternalLinearAlgebraExpr< CSRMatrix, CSRVector > | |
| typedef CSRMatrix | Matrix |
| Type of the matrix used. | |
| typedef CSRVector | Vector |
| Type of the vector used. | |
| typedef IInternalLinearAlgebraExpr< Matrix, Vector > *(* | Factory) () |
| Type of the the linear algebra. | |
Definition at line 180 of file SimpleCSRInternalLinearAlgebra.h.
| Alien::SimpleCSRInternalLinearAlgebraExpr::SimpleCSRInternalLinearAlgebraExpr | ( | ) |
Definition at line 345 of file SimpleCSRInternalLinearAlgebra.cc.
|
virtual |
Definition at line 351 of file SimpleCSRInternalLinearAlgebra.cc.
Definition at line 453 of file SimpleCSRInternalLinearAlgebra.cc.
| void Alien::SimpleCSRInternalLinearAlgebraExpr::axpy | ( | Real | alpha, |
| UniqueArray< Real > const & | x, | ||
| UniqueArray< Real > & | r ) const |
Definition at line 407 of file SimpleCSRInternalLinearAlgebra.cc.
| void Alien::SimpleCSRInternalLinearAlgebraExpr::aypx | ( | Real | alpha, |
| UniqueArray< Real > & | y, | ||
| UniqueArray< Real > const & | x ) const |
Definition at line 419 of file SimpleCSRInternalLinearAlgebra.cc.
| void Alien::SimpleCSRInternalLinearAlgebraExpr::copy | ( | const UniqueArray< Real > & | x, |
| UniqueArray< Real > & | r ) const |
Definition at line 434 of file SimpleCSRInternalLinearAlgebra.cc.
Definition at line 497 of file SimpleCSRInternalLinearAlgebra.cc.
| Real Alien::SimpleCSRInternalLinearAlgebraExpr::dot | ( | Integer | local_size, |
| const UniqueArray< Real > & | x, | ||
| const UniqueArray< Real > & | y ) const |
Definition at line 473 of file SimpleCSRInternalLinearAlgebra.cc.
| Real Alien::SimpleCSRInternalLinearAlgebraExpr::norm0 | ( | const Vector & | x | ) | const |
Definition at line 356 of file SimpleCSRInternalLinearAlgebra.cc.
| Real Alien::SimpleCSRInternalLinearAlgebraExpr::norm1 | ( | const Vector & | x | ) | const |
Definition at line 363 of file SimpleCSRInternalLinearAlgebra.cc.
| Real Alien::SimpleCSRInternalLinearAlgebraExpr::normInf | ( | const Vector & | x | ) | const |
Definition at line 377 of file SimpleCSRInternalLinearAlgebra.cc.
| void Alien::SimpleCSRInternalLinearAlgebraExpr::pointwiseMult | ( | const Vector & | x, |
| const Vector & | y, | ||
| Vector & | w ) const |
Definition at line 510 of file SimpleCSRInternalLinearAlgebra.cc.
| void Alien::SimpleCSRInternalLinearAlgebraExpr::reciprocal | ( | Vector & | x | ) | const |
Definition at line 504 of file SimpleCSRInternalLinearAlgebra.cc.