Trait diffgeom::tensors::Variance [] [src]

pub trait Variance {
    type Rank: Unsigned + Add<B1>;
    fn variance() -> Vec<IndexType>;

    fn rank() -> usize { ... }
}

Trait identifying a type as representing a tensor variance. It is implemented for CovariantIndex, ContravariantIndex and tuples (Index, Variance).

Associated Types

Required Methods

Provided Methods

Implementors