SplitMatrixColumns Interface

public interface SplitMatrixColumns

Contents


Module Procedures

private pure subroutine SplitMatrixColumns_lsr(this, num_blocks, block_sizes, split_list)

Split a matrix into into small blocks based on the specified offsets.

Arguments

Type IntentOptional Attributes Name
type(Matrix_lsr), intent(in) :: this

This matrix to perform this operation on.

integer, intent(in) :: num_blocks

Number of blocks to split into.

integer, intent(in), DIMENSION(num_blocks) :: block_sizes

The sizes used for splitting.

type(Matrix_lsr), intent(inout), DIMENSION(num_blocks) :: split_list

1D array of blocks.

private pure subroutine SplitMatrixColumns_lsc(this, num_blocks, block_sizes, split_list)

Split a matrix into into small blocks based on the specified offsets.

Arguments

Type IntentOptional Attributes Name
type(Matrix_lsc), intent(in) :: this

This matrix to perform this operation on.

integer, intent(in) :: num_blocks

Number of blocks to split into.

integer, intent(in), DIMENSION(num_blocks) :: block_sizes

The sizes used for splitting.

type(Matrix_lsc), intent(inout), DIMENSION(num_blocks) :: split_list

1D array of blocks.