Module simba::scalar

source ·
Expand description

Traits implemented by scalar, non-SIMD, types.

Traits§

  • Trait alias for Add with result of type Self.
  • Trait alias for Add and AddAssign with result of type Self.
  • Trait alias for Div with result of type Self.
  • Trait alias for Div and DivAssign with result of type Self.
  • Trait alias for Mul with result of type Self.
  • Trait alias for Mul and MulAssign with result of type Self.
  • Trait alias for Neg with result of type Self.
  • Trait alias for Sub with result of type Self.
  • Trait alias for Sub and SubAssign with result of type Self.
  • Trait shared by all complex fields and its subfields (like real numbers).
  • Trait implemented by fields, i.e., complex numbers and floats.
  • Trait shared by all reals.
  • Nested sets and conversions between them (using an injective mapping). Useful to work with substructures. In generic code, it is preferable to use SupersetOf as trait bound whenever possible instead of SubsetOf (because SupersetOf is automatically implemented whenever SubsetOf is).
  • Nested sets and conversions between them. Useful to work with substructures. It is preferable to implement the SubsetOf trait instead of SupersetOf whenever possible (because SupersetOf is automatically implemented whenever SubsetOf is).