Fork me on GitHub
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood

Module operators_comparison

Search:
Group by:

Procs

proc `==`[T](a, b: Tensor[T]): bool {.
noSideEffect
.}
Tensor comparison   Source Edit
proc `.==`[T](a, b: Tensor[T]): Tensor[bool] {.
noInit
.}

Tensor element-wise equality.

And broadcasted element-wise equality.

Returns:
  • A tensor of boolean
  Source Edit
proc `.!=`[T](a, b: Tensor[T]): Tensor[bool] {.
noInit
.}

Tensor element-wise inequality.

And broadcasted element-wise inequality.

Returns:
  • A tensor of boolean
  Source Edit
proc `.<=`[T](a, b: Tensor[T]): Tensor[bool] {.
noInit
.}

Tensor element-wise lesser or equal.

And broadcasted element-wise lesser or equal.

Returns:
  • A tensor of boolean
  Source Edit
proc `.<`[T](a, b: Tensor[T]): Tensor[bool] {.
noInit
.}

Tensor element-wise lesser than.

And broadcasted element-wise lesser than.

Returns:
  • A tensor of boolean
  Source Edit
proc `.>=`[T](a, b: Tensor[T]): Tensor[bool] {.
noInit
.}

Tensor element-wise greater or equal.

And broadcasted element-wise greater or equal.

Returns:
  • A tensor of boolean
  Source Edit
proc `.>`[T](a, b: Tensor[T]): Tensor[bool] {.
noInit
.}

Tensor element-wise greater than.

And broadcasted element-wise greater than.

Returns:
  • A tensor of boolean
  Source Edit