The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
MagicField
mir
ndslice
field
Magic square field.
@
fmamath
struct
MagicField {
@
safe
pure nothrow @
nogc
@
fmamath
size_t
_n
;
MagicField
lightConst
();
MagicField
lightImmutable
();
size_t
length
();
size_t
[
1
]
shape
();
size_t
opIndex
(size_t index);
}
Members
Functions
length
size_t
length
()
lightConst
MagicField
lightConst
()
lightImmutable
MagicField
lightImmutable
()
opIndex
size_t
opIndex
(size_t index)
shape
size_t
[
1
]
shape
()
Variables
_n
size_t
_n
;
Magic Square size.
Meta
Source
See Implementation
mir
ndslice
field
structs
BitField
BitpackField
CycleField
LinspaceField
MagicField
MapField
OrthogonalReduceField
RepeatField
SparseField
VmapField
ZipField
ndIotaField
Magic square field.