Export/import macros and build-stamp accessors for MATHLIB. More...


Go to the source code of this file.
Namespaces | |
| namespace | MATHLIB |
| Mathematical algorithms and geometry (linear algebra, optimization, spectral estimation). | |
Macros | |
| #define | MATHSHARED_EXPORT |
Functions | |
| MATHSHARED_EXPORT const char * | MATHLIB::buildDateTime () |
| MATHSHARED_EXPORT const char * | MATHLIB::buildHash () |
| MATHSHARED_EXPORT const char * | MATHLIB::buildHashLong () |
Export/import macros and build-stamp accessors for MATHLIB.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
MATHLIB is the numerical-helpers layer of mne-cpp: linear algebra (UTILSLIB::Linalg), general numerics and baseline rescaling (UTILSLIB::Numerics), K-means clustering (UTILSLIB::KMeans), multi-taper spectral estimation (UTILSLIB::Spectral), Nelder–Mead simplex optimisation (UTILSLIB::SimplexAlgorithm), sphere fitting (UTILSLIB::Sphere) and thin-plate-spline warping (UTILSLIB::Warp). It depends only on Eigen, Qt core and UTILSLIB and is therefore safe to pull into any higher-level library (FIFFLIB, FWDLIB, INVERSELIB, CONNECTIVITYLIB).
This header defines the MATHSHARED_EXPORT visibility macro that toggles between Q_DECL_EXPORT and Q_DECL_IMPORT depending on whether the library itself or a consumer is being compiled, plus the STATICBUILD short-circuit used on WebAssembly and other static deployments. It also exposes buildDateTime(), buildHash() and buildHashLong() so applications can stamp produced files with the exact MATHLIB revision they were linked against.
Definition in file math_global.h.
| #define MATHSHARED_EXPORT |
Definition at line 51 of file math_global.h.