Skip to main content

DiagonalScaling

DiagonalScaling performs diagonal scaling on CSRMatrix.

Calling example:

CALL DiagonalScaling(obj, side, OPERATOR)
CALL DiagonalScaling(obj, side, diag, OPERATOR)
INTERFACE
MODULE SUBROUTINE DiagonalScaling(obj, side, OPERATOR)
CLASS(CSRMatrix_), INTENT(INOUT) :: obj
CHARACTER(*), INTENT(IN) :: side
CHARACTER(*), OPTIONAL, INTENT(IN) :: OPERATOR
END SUBROUTINE DiagonalScaling
END INTERFACE
  • side can have any value from ("LEFT", "RIGHT", "BOTH")
  • operator, can be "SQRT" (default) and "NONE".