array_to_matrix Interface

public interface array_to_matrix

Contents


Module Procedures

private function general_array_to_matrix(array, label) result(matrix)

Converts a given 2D array to the linked-list matrix datastructure.

Arguments

TypeIntentOptionalAttributesName
class(*), intent(in) :: array(:,:)

the original array

character(len=*), intent(in), optional :: label

optional label for matrix datastructure

Return Value type(matrix_t)

the resulting matrix datastructure