Trait ha_ndarray::NDArrayBoolean
source · pub trait NDArrayBoolean<O>: NDArray + Sized{
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§
sourcefn and(self, other: O) -> Result<Array<u8, Self::Output, Self::Platform>, Error>
fn and(self, other: O) -> Result<Array<u8, Self::Output, Self::Platform>, Error>
Construct a boolean and comparison with the other
array.
Object Safety§
This trait is not object safe.