[][src]Trait rin::math::constraint::SameDimension

pub trait SameDimension<D1, D2>: SameNumberOfRows<D1, D2> + SameNumberOfColumns<D1, D2> where
    D1: Dim,
    D2: Dim
{ type Representative: Dim; }

Constraints D1 and D2 to be equivalent, where they both designate dimensions of algebraic entities (e.g. square matrices).

Associated Types

This is either equal to D1 or D2, always choosing the one (if any) which is a type-level constant.

Implementors

impl<D> SameDimension<Dynamic, D> for ShapeConstraint where
    D: DimName
[src]

impl<D> SameDimension<D, Dynamic> for ShapeConstraint where
    D: DimName
[src]

impl<D> SameDimension<D, D> for ShapeConstraint where
    D: Dim
[src]