LinspaceField.length

Returns the length of the linspace field along the given dimension, defaulting to dimension 0.

struct LinspaceField(T)
scope const @property
@fmamath
size_t
length
(
size_t dimension = 0
)
()
if (
dimension == 0
)