Expand description
Lightweight math primitives for spatial computing.
Native small types with optional interop conversions planned for later releases.
Structs§
- Cauchy
Kernel - Cauchy robust kernel.
- Cov3
- 3x3 symmetric covariance matrix.
- Covariance
Accumulator3 - Accumulates mean and covariance for 3D points.
- Huber
Kernel - Huber robust kernel.
- Isometry3
- Proper rigid transform: rotation + translation without scale/shear.
- Mat3
- 3x3 matrix stored in row-major order.
- Mat4
- 4x4 matrix stored in row-major order.
- Pose3
- Pose with optional translation covariance.
- Quat
- Unit quaternion representing a 3D rotation.
- Symmetric
Eigen3 - Result of a symmetric 3x3 eigendecomposition.
- Transform3
- Rigid transform represented as a 4x4 matrix.
- Tukey
Kernel - Tukey biweight robust kernel.
- Vec2
- 2D vector.
- Vec3
- 3D vector.
- Vec4
- 4D vector.
Enums§
- Least
Squares Result - Result of a small dense linear solve.
Traits§
- Real
- Floating-point scalar used by spatial algorithms.
- Robust
Kernel - Robust loss kernel used by registration and estimation algorithms.
- Scalar
- Numeric types supported by SpatialRust math primitives.
- Transform
Point - Trait for types that can transform 3D points.
Functions§
- approx_
eq - Returns whether two values are approximately equal.
- approx_
eq_ f64 - Returns whether two values are approximately equal.
- f32_eps
- Default tolerance for
f32comparisons. - f64_eps
- Default tolerance for
f64comparisons. - near_
zero - Returns whether a value is near zero.
- near_
zero_ f64 - Returns whether a value is near zero.
- smallest_
eigenvector - Returns the eigenvector for the smallest eigenvalue.
- solve_
linear_ system - Solves
A x = bfor squaren x nsystems using Gaussian elimination with partial pivoting. - symmetric_
eigen3 - Computes eigenvalues and eigenvectors of a symmetric 3x3 matrix.