The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
LinspaceField
mir
ndslice
field
LinspaceField
is used by
linspace
.
@
fmamath
struct
LinspaceField (
T
) {
size_t
_length
;
T
_start
;
T
_stop
;
auto
lightConst
();
auto
lightImmutable
();
T
opIndex
(sizediff_t index);
size_t
length
();
size_t
[
1
]
shape
();
}
Members
Functions
length
size_t
length
()
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
opIndex
T
opIndex
(sizediff_t index)
shape
size_t
[
1
]
shape
()
Variables
_length
size_t
_length
;
_start
T
_start
;
_stop
T
_stop
;
Meta
Source
See Implementation
mir
ndslice
field
structs
BitField
BitpackField
CycleField
LinspaceField
MagicField
MapField
OrthogonalReduceField
RepeatField
SparseField
VmapField
ZipField
ndIotaField
LinspaceField is used by linspace.