Trait tc_collection::tensor::TensorBooleanConst
source · pub trait TensorBooleanConst {
type Combine: TensorInstance;
// Required methods
fn and_const(self, other: Number) -> TCResult<Self::Combine>;
fn or_const(self, other: Number) -> TCResult<Self::Combine>;
fn xor_const(self, other: Number) -> TCResult<Self::Combine>;
}
Expand description
Tensor
boolean operations in relation to a constant.
Required Associated Types§
sourcetype Combine: TensorInstance
type Combine: TensorInstance
The return type of a boolean operation.