45 #ifndef SPARSE_VECTOR_OP_DECL_H
46 #define SPARSE_VECTOR_OP_DECL_H
48 #include "DenseLinAlgPack_DMatrixAsTriSym.hpp"
50 namespace AbstractLinAlgPack {
130 template<
class T_SpVec>
131 value_type dot_V_SV(
const DVectorSlice& vs_rhs1,
const T_SpVec& sv_rhs2);
134 template<
class T_SpVec>
135 value_type dot_SV_V(
const T_SpVec& sv_rhs1,
const DVectorSlice& vs_rhs2);
138 template<
class T_SpVec>
139 value_type norm_1_SV(
const T_SpVec& sv_rhs);
142 template<
class T_SpVec>
143 value_type norm_2_SV(
const T_SpVec& sv_rhs);
146 template<
class T_SpVec>
147 value_type norm_inf_SV(
const T_SpVec& sv_rhs);
150 template<
class T_SpVec>
151 value_type max_SV(
const T_SpVec& sv_rhs);
154 template<
class T_SpVec>
155 value_type min_SV(
const T_SpVec& sv_rhs);
158 template<
class T_SpVec>
159 void Vt_S( T_SpVec* sv_lhs, value_type alpha );
162 template<
class T_SpVec>
163 void Vp_StSV(DVectorSlice* vs_lhs, value_type alpha,
const T_SpVec& sv_rhs);
166 template<
class T_SpVec>
167 void Vp_StMtSV(DVectorSlice* vs_lhs, value_type alpha,
const DMatrixSlice& gms_rhs1
171 template<
class T_SpVec>
172 void Vp_StMtSV(DVectorSlice* vs_lhs, value_type alpha,
const DMatrixSliceTri& tri_rhs1
176 template<
class T_SpVec>
177 void Vp_StMtSV(DVectorSlice* vs_lhs, value_type alpha,
const DMatrixSliceSym& sym_rhs1
184 #endif // SPARSE_VECTOR_OP_DECL_H
void Vt_S(VectorMutable *v_lhs, const value_type &alpha)
v_lhs *= alpha