95 namespace DenseLinAlgPack {
void max(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
vs_lhs = max(vs_rhs1,vs_rhs2)
void pow(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
vs_lhs = pow(vs_rhs1,vs_rhs2)
void Vp_StV(DVectorSlice *vs_lhs, value_type alpha, const DVectorSlice &vs_rhs)
vs_lhs += alpha * vs_rhs (BLAS xAXPY)
void sinh(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = sinh(vs_rhs)
void atan2(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
vs_lhs = atan(vs_rhs1/vs_rhs2)
void abs(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = abs(vs_rhs)
VectorSliceTmpl< value_type > DVectorSlice
void V_VpV(DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
v_lhs = alpha (elementwise)
void asin(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = asin(vs_rhs)
void sin(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = sin(vs_rhs)
void cosh(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = cosh(vs_rhs)
value_type norm_2(const DVectorSlice &vs_rhs)
result = ||vs_rhs||2 (BLAS xNRM2)
void prod(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
vs_lhs(i) = vs_rhs1(i) * vs_rhs2(i), i = 1...n
void V_StV(DVector *v_lhs, value_type alpha, const DVectorSlice &vs_rhs)
v_lhs = alpha * vs_rhs
void atan(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = atan(vs_rhs)
void Vp_S(DVectorSlice *vs_lhs, value_type alpha)
vs_lhs += alpha
void exp(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = exp(vs_rhs)
value_type norm_1(const DVectorSlice &vs_rhs)
result = ||vs_rhs||1 (BLAS xASUM)
void V_VmV(DVector *v_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
v_lhs = vs_rhs1 - vs_rhs2
void sqrt(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = sqrt(vs_rhs)
void Vt_S(DVectorSlice *vs_lhs, value_type alpha)
vs_lhs *= alpha (BLAS xSCAL) (*** Note that alpha == 0.0 is handeled as vs_lhs = 0.0)
FortranTypes::f_dbl_prec value_type
Typedef for the value type of elements that is used for the library.
void V_mV(DVector *v_lhs, const DVectorSlice &vs_rhs)
v_lhs = - vs_rhs
void tanh(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = tanh(vs_rhs)
value_type norm_inf(const DVectorSlice &vs_rhs)
result = ||vs_rhs||infinity (BLAS IxAMAX)
void acos(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = acos(vs_rhs)
void tan(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = tan(vs_rhs)
void swap(DVectorSlice *vs1, DVectorSlice *vs2)
swap(vs1, vs2). Swaps the contents of vs1 and vs2
void rot(const value_type c, const value_type s, DVectorSlice *x, DVectorSlice *y)
void cos(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = cos(vs_rhs)
void min(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
vs_lhs = min(vs_rhs1,vs_rhs2)
value_type dot(const DVectorSlice &vs_rhs1, const DVectorSlice &vs_rhs2)
result = vs_rhs1' * vs_rhs2 (BLAS xDOT)