Expand description
Mathematical functions for floating-point vector types.
This module provides a comprehensive set of mathematical operations tailored for floating-point vector types. It includes core mathematical functions, transcendental functions, spatial computations, and real-valued operations.
The traits defined here are designed to be flexible and efficient, allowing for different precision and performance trade-offs through the use of policies. Each mathematical trait has a corresponding version that accepts a policy parameter, enabling fine-tuned control over the behavior of the functions.
Modules§
- algorithms
- policy
- prelude
- specialized
- Element-parameterized implementations behind the public math traits.
Traits§
- Coefficients
- Core
Math - Core Math functions for floating-point vectors using the default policy. This is the core set of mathematical operations that form the basis for more advanced functions.
- Core
Math With Policy - Core Math functions for floating-point vectors with customizable policies. This is the core set of mathematical operations that form the basis for more advanced functions.
- Float
Consts - Extensive set of constant special values used in float operations.
- Float
Math - Float Math functions for floating-point vectors using the default policy.
Float-specific mathematical functions like
ldexpandfrexp. - Float
Math With Policy - Float Math functions for floating-point vectors with customizable policies.
Float-specific mathematical functions like
ldexpandfrexp. - Real
Math - Real Math functions for floating-point vectors using the default policy. Real-value mathematical functions that cannot be applied to some number types. (e.g., complex numbers)
- Real
Math With Policy - Real Math functions for floating-point vectors with customizable policies. Real-value mathematical functions that cannot be applied to some number types. (e.g., complex numbers)
- Scalar
Math - Aggregate of all scalar math traits using the default policy.
- Scalar
Math With Policy - Aggregate of all scalar math traits with customizable policies.
- Spatial
Math - Spatial Math functions for floating-point vectors using the default policy. Spatial mathematical functions like norms and distances.
- Spatial
Math With Policy - Spatial Math functions for floating-point vectors with customizable policies. Spatial mathematical functions like norms and distances.
- Transcendental
Math - Transcendental Math functions for floating-point vectors using the default policy. Transcendental mathematical functions like trigonometric, exponential, and logarithmic functions.
- Transcendental
Math With Policy - Transcendental Math functions for floating-point vectors with customizable policies. Transcendental mathematical functions like trigonometric, exponential, and logarithmic functions.