42 #ifndef MATRIX_SCALING_STRATEGY_H
43 #define MATRIX_SCALING_STRATEGY_H
45 namespace AbstractLinAlgPack {
79 #endif // MATRIX_SCALING_STRATEGY_H
virtual ~MatrixScaling_Strategy()
COOMatrixPartitionedViewUtilityPack::TransposedPartition< T_Indice, T_Value > trans(COOMatrixPartitionedViewUtilityPack::Partition< T_Indice, T_Value > &part)
Create a transposed view of a partition object.
virtual void scale_rhs(BLAS_Cpp::Transp trans, value_type b[]) const =0
Scale the rhs vector.
RTOp_index_type index_type
RTOp_value_type value_type
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.