42 #ifndef MATRIX_SCALING_STRATEGY_H
43 #define MATRIX_SCALING_STRATEGY_H
45 namespace AbstractLinAlgPack {
62 index_type m, index_type n, index_type nz
63 ,
const index_type row_i[],
const index_type col_j[]
64 ,
bool new_matrix, value_type A[]
79 #endif // MATRIX_SCALING_STRATEGY_H
virtual ~MatrixScaling_Strategy()
virtual void scale_rhs(BLAS_Cpp::Transp trans, value_type b[]) const =0
Scale the rhs vector.
virtual void scale_lhs(BLAS_Cpp::Transp trans, value_type x[]) const =0
Scale the lhs vector.
Abstract interface for sparse matrix scaling strategies.
virtual void scale_matrix(index_type m, index_type n, index_type nz, const index_type row_i[], const index_type col_j[], bool new_matrix, value_type A[])=0
Scale the matrix and save the scalings for later use for rhs and lhs.