orthogonalReduceField.orthogonalReduceField

  1. OrthogonalReduceField!(Iterator, fun, I) orthogonalReduceField(I initialValue, Slice!Iterator slice)
    template orthogonalReduceField(alias fun)
    @optmath
    static if(__traits(isSame, naryFun!fun, fun))
    @optmath
    OrthogonalReduceField!(Iterator, fun, I)
    orthogonalReduceField
    (
    I
    Iterator
    )
    (,
    Slice!Iterator slice
    )
  2. OrthogonalReduceField!(T*, fun, I) orthogonalReduceField(I initialValue, T[] array)
  3. auto orthogonalReduceField(I initialValue, T withAsSlice)
  4. alias orthogonalReduceField = .orthogonalReduceField!(naryFun!fun)

Parameters

slice Slice!Iterator

Non empty input slice composed of fields or iterators.

Return Value

Type: OrthogonalReduceField!(Iterator, fun, I)

a lazy field with each element of which is reduced value of element of the same index of all iterators.

Meta