Struct ha_ndarray::ops::ArrayCompareScalar
source · pub struct ArrayCompareScalar<T, A> { /* private fields */ }
Expand description
An array comparison Op
with a scalar argument
Implementations§
source§impl<T: CDatatype, A: NDArray> ArrayCompareScalar<T, A>
impl<T: CDatatype, A: NDArray> ArrayCompareScalar<T, A>
sourcepub fn gt(array: A, scalar: T) -> Result<Self, Error>
pub fn gt(array: A, scalar: T) -> Result<Self, Error>
Initialize a new greater-than comparison Op
.
sourcepub fn ge(array: A, scalar: T) -> Result<Self, Error>
pub fn ge(array: A, scalar: T) -> Result<Self, Error>
Initialize a new equal-or-greater-than comparison Op
.
sourcepub fn lt(array: A, scalar: T) -> Result<Self, Error>
pub fn lt(array: A, scalar: T) -> Result<Self, Error>
Initialize a new less-than comparison Op
.
Trait Implementations§
source§impl<T: Clone, A: Clone> Clone for ArrayCompareScalar<T, A>
impl<T: Clone, A: Clone> Clone for ArrayCompareScalar<T, A>
source§fn clone(&self) -> ArrayCompareScalar<T, A>
fn clone(&self) -> ArrayCompareScalar<T, A>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: CDatatype, A: NDArrayRead<DType = T>> Op for ArrayCompareScalar<T, A>
impl<T: CDatatype, A: NDArrayRead<DType = T>> Op for ArrayCompareScalar<T, A>
Auto Trait Implementations§
impl<T, A> RefUnwindSafe for ArrayCompareScalar<T, A>where A: RefUnwindSafe, T: RefUnwindSafe,
impl<T, A> Send for ArrayCompareScalar<T, A>where A: Send, T: Send,
impl<T, A> Sync for ArrayCompareScalar<T, A>where A: Sync, T: Sync,
impl<T, A> Unpin for ArrayCompareScalar<T, A>where A: Unpin, T: Unpin,
impl<T, A> UnwindSafe for ArrayCompareScalar<T, A>where A: UnwindSafe, T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more