zeros Interface

public interface zeros

Creates a rank-1 or rank-2 array filled zeros. (Specification)


Contents


Module Procedures

private pure function zeros_1_default(dim) result(result)

zeros creates a rank-1 array, filled completely with 0 integer type values.

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: dim

Return Value integer(kind=int8), allocatable, (:)

private pure function zeros_2_default(dim1, dim2) result(result)

zeros creates a rank-2 array, filled completely with 0 integer type values.

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: dim1
integer, intent(in) :: dim2

Return Value integer(kind=int8), allocatable, (:,:)