Trait tc_tensor::TensorBoolean[][src]

pub trait TensorBoolean<O> {
    type Combine: TensorInstance;
    type LeftCombine: TensorInstance;
    fn and(self, other: O) -> TCResult<Self::LeftCombine>;
fn or(self, other: O) -> TCResult<Self::Combine>;
fn xor(self, other: O) -> TCResult<Self::Combine>; }
Expand description

Tensor boolean operations.

Associated Types

The result type of a boolean operation.

The result type of a boolean operation which may ignore right-hand values.

Required methods

Logical and

Logical or

Logical xor

Implementors