Module raw

Module raw 

Source
Expand description

Raw trait contracts for unchecked operations on primitive types. Raw trait definitions for unchecked scalar operations.

This module defines the fundamental traits for raw number types (like f64 or rug::Float). These traits provide unchecked_* methods that assume inputs are valid and do not perform any validation.

§Trait Hierarchy

RawScalarTrigonometric ─┐
RawScalarHyperbolic ────┼──> RawScalarTrait ──> RawRealTrait
RawScalarPow ───────────┘                   └──> RawComplexTrait

Traits§

RawComplexTrait
A trait for raw complex scalar types, extending RawScalarTrait.
RawRealTrait
A trait for raw real scalar types, extending RawScalarTrait with real-specific operations.
RawScalarHyperbolic
Trait for unchecked hyperbolic operations.
RawScalarPow
Trait for unchecked power operations with integer exponents.
RawScalarTrait
A baseline trait for raw scalar types, defining core operations and properties.
RawScalarTrigonometric
Trait for unchecked trigonometric operations.