The OpenD Programming Language

isSymmetric.isSymmetric

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

Parameters

matrix Slice!(Iterator, 2, kind)

2D ndslice.

Meta