kronecker.kronecker

  1. auto kronecker(NdFields fields)
    template kronecker(alias fun = product)
    @optmath
    static if(__traits(isSame, naryFun!fun, fun))
    @optmath
    kronecker
    (
    NdFields...
    )
    (
    NdFields fields
    )
    if (
    allSatisfy!(hasShape, NdFields) ||
    allSatisfy!(hasLength, NdFields)
    )
  2. alias kronecker = .kronecker!(naryFun!fun)

Parameters

fields NdFields

list of either fields with lengths or ndFields with shapes. All ndFields must have the same dimension count.

Return Value

Type: auto

Kronecker!(fun, NdFields)(fields).slicedNdField

Meta