NDArrayBooleanOps

vecxt.NDArrayBooleanOps

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Extensions

Extensions

extension (a: NDArray[Boolean])
inline def &&(b: NDArray[Boolean]): NDArray[Boolean]

Element-wise logical AND. Operands must have the same shape.

Element-wise logical AND. Operands must have the same shape.

Attributes

inline def all: Boolean

Returns true if all elements are true.

Returns true if all elements are true.

Attributes

inline def all(axis: Int): NDArray[Boolean]

Returns NDArray[Boolean] where each element is true if all elements along axis are true.

Returns NDArray[Boolean] where each element is true if all elements along axis are true.

Attributes

inline def any: Boolean

Returns true if any element is true.

Returns true if any element is true.

Attributes

inline def any(axis: Int): NDArray[Boolean]

Returns NDArray[Boolean] where each element is true if any element along axis is true.

Returns NDArray[Boolean] where each element is true if any element along axis is true.

Attributes

inline def countTrue: Int

Count of true elements.

Count of true elements.

Attributes

inline def countTrue(axis: Int): NDArray[Int]

Count true values along axis. Returns NDArray[Int].

Count true values along axis. Returns NDArray[Int].

Attributes

inline def not: NDArray[Boolean]

Element-wise logical NOT. Returns a new NDArray[Boolean].

Element-wise logical NOT. Returns a new NDArray[Boolean].

Attributes

inline def not!: Unit

In-place element-wise logical NOT. a must be contiguous.

In-place element-wise logical NOT. a must be contiguous.

Attributes

inline def ||(b: NDArray[Boolean]): NDArray[Boolean]

Element-wise logical OR. Operands must have the same shape.

Element-wise logical OR. Operands must have the same shape.

Attributes