Loading...
Searching...
No Matches
aigenlib.hpp File Reference
Bounded, owning numerical types and Gaussian-process operations. More...
#include <array>#include <cstddef>#include <vector>Go to the source code of this file.
Classes | |
| struct | dipla::aigenlib::Point |
| Three-dimensional value type for route arithmetic. More... | |
| class | dipla::aigenlib::Matrix |
| Owning, contiguous, row-major double matrix. More... | |
| struct | dipla::aigenlib::Sensor |
| Sparse uniform-averaging measurement operator. More... | |
Namespaces | |
| namespace | dipla |
| namespace | dipla::aigenlib |
Typedefs | |
| using | dipla::aigenlib::Vector = std::vector<double> |
| Owning scalar vector; size validation belongs to the consuming operation. | |
Enumerations | |
| enum class | dipla::aigenlib::SolveMethod { dipla::aigenlib::cholesky , dipla::aigenlib::pseudoinverse } |
| Factorization selected for a solve. More... | |
Functions | |
| Point | dipla::aigenlib::operator+ (Point left, const Point &right) noexcept |
| Add points. | |
| Point | dipla::aigenlib::operator- (Point left, const Point &right) noexcept |
| Subtract points. | |
| Point | dipla::aigenlib::operator* (Point point, double scale) noexcept |
| Scale coordinates. | |
| Point | dipla::aigenlib::operator* (double scale, Point point) noexcept |
| Scale coordinates. | |
| Point | dipla::aigenlib::operator/ (Point point, double divisor) |
| Divide coordinates. | |
| bool | dipla::aigenlib::operator== (const Point &left, const Point &right) noexcept |
| Exact equality. | |
| bool | dipla::aigenlib::operator!= (const Point &left, const Point &right) noexcept |
| Exact inequality. | |
| Matrix | dipla::aigenlib::solve_symmetric (const Matrix &system, const Matrix &right, SolveMethod *method=nullptr) |
| Solve a finite symmetric system with multiple right-hand sides. | |
| Matrix | dipla::aigenlib::matern32 (const std::vector< Point > &positions, double sigma2, double lengthscale) |
| Construct a symmetric Matern-3/2 covariance over supplied positions. | |
| Matrix | dipla::aigenlib::project (const Sensor &sensor, const Matrix &covariance) |
| Project covariance through sparse averaging rows: B = H P. | |
| Matrix | dipla::aigenlib::innovation (const Sensor &sensor, const Matrix &projected) |
| Construct innovation covariance S = H P H^T + R from B = H P. | |
| Vector | dipla::aigenlib::observe (const Sensor &sensor, const Vector &field) |
| Average field values through a sensor. | |
| double | dipla::aigenlib::expected_reduction (const Matrix &covariance, const std::vector< bool > &mask, const Sensor &sensor) |
| Sum the masked posterior diagonal reduction without modifying belief. | |
| void | dipla::aigenlib::condition (Matrix &covariance, Vector *mean, const Sensor &sensor, const Vector *measurement) |
| Condition a GP in place with optional measurement assimilation. | |
Variables | |
| constexpr std::size_t | dipla::aigenlib::max_extent = 2601 |
| Maximum matrix extent, matching the current dense GP grid ceiling. | |
| constexpr double | dipla::aigenlib::pseudoinverse_relative_cutoff = 1e-15 |
| Relative spectral cutoff shared with the Eigen reference implementation. | |
Detailed Description
Bounded, owning numerical types and Gaussian-process operations.
No expression templates, BLAS, LAPACK, Eigen, or OpenCV dependency. Operations allocate explicit bounded workspaces and throw on invalid input.