Functions | |
| void | AbstractLinAlgPack::Vp_S (VectorMutable *v_lhs, const value_type &alpha) |
| v_lhs += alpha | |
| void | AbstractLinAlgPack::Vt_S (VectorMutable *v_lhs, const value_type &alpha) |
| v_lhs *= alpha | |
| void | AbstractLinAlgPack::Vp_StV (VectorMutable *v_lhs, const value_type &alpha, const Vector &v_rhs) |
| v_lhs = alpha * v_rhs + v_lhs | |
| void | AbstractLinAlgPack::Vp_StV (VectorMutable *v_lhs, const value_type &alpha, const SpVectorSlice &sv_rhs) |
| v_lhs = alpha * sv_rhs + v_lhs | |
| 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. | |
| 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. | |
| void | AbstractLinAlgPack::seed_random_vector_generator (unsigned int) |
| Seed the random number generator. | |
| void | AbstractLinAlgPack::random_vector (value_type l, value_type u, VectorMutable *v) |
| Generate a random vector with elements uniformly distrubuted elements. | |
| void | AbstractLinAlgPack::sign (const Vector &v, VectorMutable *z) |
| Compute the sign of each element in an input vector. | |
|
||||||||||||
|
v_lhs += alpha
Definition at line 153 of file AbstractLinAlgPack_VectorStdOps.cpp. |
|
||||||||||||
|
v_lhs *= alpha
This takes care of the special cases of Definition at line 163 of file AbstractLinAlgPack_VectorStdOps.cpp. |
|
||||||||||||||||
|
v_lhs = alpha * v_rhs + v_lhs
Definition at line 178 of file AbstractLinAlgPack_VectorStdOps.cpp. |
|
||||||||||||||||
|
v_lhs = alpha * sv_rhs + v_lhs
Definition at line 190 of file AbstractLinAlgPack_VectorStdOps.cpp. |
|
||||||||||||||||||||
|
v_lhs(i) += alpha * v_rhs1(i) * v_rhs2(i), i = 1,,,dim.
Definition at line 202 of file AbstractLinAlgPack_VectorStdOps.cpp. |
|
||||||||||||||||||||
|
v_lhs(i) = alpha * v_rhs1(i) / v_rhs2(i), i = 1,,,dim.
Definition at line 215 of file AbstractLinAlgPack_VectorStdOps.cpp. |
|
|
Seed the random number generator.
Definition at line 229 of file AbstractLinAlgPack_VectorStdOps.cpp. |
|
||||||||||||||||
|
Generate a random vector with elements uniformly distrubuted elements.
The elements are randomly generated between Definition at line 234 of file AbstractLinAlgPack_VectorStdOps.cpp. |
|
||||||||||||
|
Compute the sign of each element in an input vector.
/ -1.0 : if v(i) < 0.0
z(i) = | 0.0 : if v(i) == 0.0
\ +1.0 : if v(i) < 0.0
, for i = 1...n
Definition at line 246 of file AbstractLinAlgPack_VectorStdOps.cpp. |
1.3.9.1