size Interface

public interface size

Module Procedures

private pure function csr_size(x, dim) result(rst)

Returns the size of the matrix along the specified dimension.

Arguments

Type IntentOptional Attributes Name
class(csr_matrix), intent(in) :: x

The CSR matrix object.

integer(kind=int32), intent(in) :: dim

The dimension to return the size of.

Return Value integer(kind=int32)

The size of the matrix along the specified dimension.

private pure function msr_size(x, dim) result(rst)

Returns the size of the specified dimension of an MSR matrix.

Arguments

Type IntentOptional Attributes Name
class(msr_matrix), intent(in) :: x

The MSR matrix.

integer(kind=int32), intent(in) :: dim

The dimension to return the size of.

Return Value integer(kind=int32)

The size of the specified dimension.