Trait ha_ndarray::NDArrayBooleanScalar
source · pub trait NDArrayBooleanScalar: NDArray + Sized {
// Provided methods
fn and_scalar(
self,
other: Self::DType
) -> Result<ArrayOp<ArrayBooleanScalar<Self, Self::DType>>, Error> { ... }
fn or_scalar(
self,
other: Self::DType
) -> Result<ArrayOp<ArrayBooleanScalar<Self, Self::DType>>, Error> { ... }
fn xor_scalar(
self,
other: Self::DType
) -> Result<ArrayOp<ArrayBooleanScalar<Self, Self::DType>>, Error> { ... }
}
Expand description
Boolean array operations with a scalar argument
Provided Methods§
sourcefn and_scalar(
self,
other: Self::DType
) -> Result<ArrayOp<ArrayBooleanScalar<Self, Self::DType>>, Error>
fn and_scalar( self, other: Self::DType ) -> Result<ArrayOp<ArrayBooleanScalar<Self, Self::DType>>, Error>
Construct a boolean and operation with the other
value.
sourcefn or_scalar(
self,
other: Self::DType
) -> Result<ArrayOp<ArrayBooleanScalar<Self, Self::DType>>, Error>
fn or_scalar( self, other: Self::DType ) -> Result<ArrayOp<ArrayBooleanScalar<Self, Self::DType>>, Error>
Construct a boolean or operation with the other
value.
sourcefn xor_scalar(
self,
other: Self::DType
) -> Result<ArrayOp<ArrayBooleanScalar<Self, Self::DType>>, Error>
fn xor_scalar( self, other: Self::DType ) -> Result<ArrayOp<ArrayBooleanScalar<Self, Self::DType>>, Error>
Construct a boolean xor operation with the other
value.
Object Safety§
This trait is not object safe.