mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
OrthogonalReduceField.opIndex
mir
ndslice
field
OrthogonalReduceField
r = fun(r, fields[i][index]);
reduction by
i
struct
OrthogonalReduceField
(FieldsIterator, alias fun, T)
@
optmath
auto
opIndex
()
(
size_t
index
)
Meta
Source
See Implementation
mir
ndslice
field
OrthogonalReduceField
functions
lightConst
lightImmutable
opIndex
variables
_fields
_initialValue
r = fun(r, fields[i][index]); reduction by i