mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
isSymmetric.isSymmetric
mir
algorithm
iteration
isSymmetric
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
)
alias
isSymmetric
=
.
isSymmetric
!(
naryFun
!
fun
)
Parameters
matrix
Slice
!(
Iterator
, 2,
kind
)
2D ndslice.
Meta
Source
See Implementation
mir
algorithm
iteration
isSymmetric
functions
isSymmetric