isSymmetric.isSymmetric

  1. bool isSymmetric(Slice!(Iterator, 2, kind) matrix)
    template isSymmetric(alias fun = "a == b")
    @optmath
    static if(__traits(isSame, naryFun!fun, fun))
    bool
    isSymmetric
    (
    Iterator
    SliceKind kind
    )
    (
    Slice!(Iterator, 2, kind) matrix
    )
  2. alias isSymmetric = .isSymmetric!(naryFun!fun)

Parameters

matrix Slice!(Iterator, 2, kind)

2D ndslice.

Meta