#include <Vector.h>
|
static Treal | dot (Vector< Treal > const &x, Vector< Treal > const &y) |
|
static void | axpy (Treal const &alpha, Vector< Treal > const &x, Vector< Treal > &y) |
|
static void | gemv (bool const tA, Treal const alpha, Matrix< Treal > const &A, Vector< Treal > const &x, Treal const beta, Vector< Treal > &y) |
| gemv: y = alpha * A * x + beta * y, or
y = alpha * transpose(A) * x + beta * y
|
|
static void | symv (char const uplo, Treal const alpha, Matrix< Treal > const &A, Vector< Treal > const &x, Treal const beta, Vector< Treal > &y) |
| symv: y = alpha * A * x + beta * y, where A is symmetric
|
|
static void | trmv (char const uplo, const bool tA, Matrix< Treal > const &A, Vector< Treal > &x) |
| trmv: x = A * x, or x = transpose(A) * x, where A is triangular
|
|
◆ Vector()
◆ addFromFull()
template<class Treal >
void mat::Vector< Treal >::addFromFull |
( |
std::vector< Treal > const & | fullVector | ) |
|
◆ allocate()
◆ assignFromFull()
template<class Treal >
void mat::Vector< Treal >::assignFromFull |
( |
std::vector< Treal > const & | fullVector | ) |
|
◆ axpy()
◆ clear()
◆ dot()
◆ eucl()
◆ fullVector()
template<class Treal >
void mat::Vector< Treal >::fullVector |
( |
std::vector< Treal > & | fullVector | ) |
const |
◆ gemv()
template<class Treal >
static void mat::Vector< Treal >::gemv |
( |
bool const | tA, |
|
|
Treal const | alpha, |
|
|
Matrix< Treal > const & | A, |
|
|
Vector< Treal > const & | x, |
|
|
Treal const | beta, |
|
|
Vector< Treal > & | y ) |
|
static |
gemv: y = alpha * A * x + beta * y, or
y = alpha * transpose(A) * x + beta * y
◆ operator*=()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ random()
◆ randomNormalized()
◆ readFromFile()
template<class Treal >
void mat::Vector< Treal >::readFromFile |
( |
std::ifstream & | file | ) |
|
◆ symv()
template<class Treal >
static void mat::Vector< Treal >::symv |
( |
char const | uplo, |
|
|
Treal const | alpha, |
|
|
Matrix< Treal > const & | A, |
|
|
Vector< Treal > const & | x, |
|
|
Treal const | beta, |
|
|
Vector< Treal > & | y ) |
|
static |
symv: y = alpha * A * x + beta * y, where A is symmetric
◆ trmv()
◆ writeToFile()
template<class Treal >
void mat::Vector< Treal >::writeToFile |
( |
std::ofstream & | file | ) |
const |
◆ Matrix< Treal >
The documentation for this class was generated from the following file: