ResizeMatrix Subroutine

public subroutine ResizeMatrix(this, new_size)

Change the size of a matrix. If the new size is smaller, then values outside that range are deleted. IF the new size is bigger, zero padding is applied. Warning: this requires a full data redistribution.

Arguments

Type IntentOptional AttributesName
type(Matrix_ps), intent(inout) :: this

The matrix to resize.

integer, intent(in) :: new_size

The new size of the matrix.


Contents

None