MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
AbstractLinAlgPack_VectorStdOps.hpp File Reference
#include "AbstractLinAlgPack_VectorMutable.hpp"
Include dependency graph for AbstractLinAlgPack_VectorStdOps.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 AbstractLinAlgPack
 

Functions

value_type AbstractLinAlgPack::sum (const Vector &v_rhs)
 result = sum( v_rhs(i), i = 1,,,dim ) More...
 
value_type AbstractLinAlgPack::dot (const Vector &v_rhs1, const Vector &v_rhs2)
 result = v_rhs1' * v_rhs2 More...
 
value_type AbstractLinAlgPack::dot (const Vector &v_rhs1, const SpVectorSlice &sv_rhs2)
 result = v_rhs1' * sv_rhs2 More...
 
value_type AbstractLinAlgPack::dot (const SpVectorSlice &sv_rhs1, const Vector &v_rhs2)
 result = sv_rhs1' * v_rhs2 More...
 
void AbstractLinAlgPack::max_abs_ele (const Vector &v, value_type *max_v_j, index_type *max_j)
 Compute the maximum element in a vector. More...
 
void AbstractLinAlgPack::Vp_S (VectorMutable *v_lhs, const value_type &alpha)
 v_lhs += alpha More...
 
void AbstractLinAlgPack::Vt_S (VectorMutable *v_lhs, const value_type &alpha)
 v_lhs *= alpha More...
 
void AbstractLinAlgPack::Vp_StV (VectorMutable *v_lhs, const value_type &alpha, const Vector &v_rhs)
 v_lhs = alpha * v_rhs + v_lhs More...
 
void AbstractLinAlgPack::Vp_StV (VectorMutable *v_lhs, const value_type &alpha, const SpVectorSlice &sv_rhs)
 v_lhs = alpha * sv_rhs + v_lhs More...
 
void AbstractLinAlgPack::ele_wise_prod (const value_type &alpha, const Vector &v_rhs1, const Vector &v_rhs2, VectorMutable *v_lhs)
 v_lhs(i) += alpha * v_rhs1(i) * v_rhs2(i), i = 1,,,dim. More...
 
void AbstractLinAlgPack::ele_wise_divide (const value_type &alpha, const Vector &v_rhs1, const Vector &v_rhs2, VectorMutable *v_lhs)
 v_lhs(i) = alpha * v_rhs1(i) / v_rhs2(i), i = 1,,,dim. More...
 
void AbstractLinAlgPack::seed_random_vector_generator (unsigned int)
 Seed the random number generator. More...
 
void AbstractLinAlgPack::random_vector (value_type l, value_type u, VectorMutable *v)
 Generate a random vector with elements uniformly distrubuted elements. More...
 
void AbstractLinAlgPack::sign (const Vector &v, VectorMutable *z)
 Compute the sign of each element in an input vector. More...