pub trait NDArrayBoolean<O>: NDArray + Sized
where O: NDArray<DType = Self::DType>,
{ type Output: Access<u8>; // Required methods fn and( self, other: O ) -> Result<Array<u8, Self::Output, Self::Platform>, Error>; fn or( self, other: O ) -> Result<Array<u8, Self::Output, Self::Platform>, Error>; fn xor( self, other: O ) -> Result<Array<u8, Self::Output, Self::Platform>, Error>; }
Expand description

Boolean array operations

Required Associated Types§

Required Methods§

source

fn and(self, other: O) -> Result<Array<u8, Self::Output, Self::Platform>, Error>

Construct a boolean and comparison with the other array.

source

fn or(self, other: O) -> Result<Array<u8, Self::Output, Self::Platform>, Error>

Construct a boolean or comparison with the other array.

source

fn xor(self, other: O) -> Result<Array<u8, Self::Output, Self::Platform>, Error>

Construct a boolean xor comparison with the other array.

Object Safety§

This trait is not object safe.

Implementors§