Skip to contents

A dense array of a scalar type, an atomic vector with dim in R.

Usage

type_array(type, dim = NULL)

Arguments

type

An r8_field_type of a scalar type, or option() of one.

dim

Optional Integer: The dimensions.

Value

An r8_field_type.

Examples

type_array(type_integer(), dim = c(2L, 3L, 4L))
#> <r8 field type> 2 x 3 x 4 array of integer