PySAL-style spatial analysis for Elixir, backed by a Rust core.
Spatex brings the PySAL toolbox to the BEAM: spatial weights (graphs), exploratory spatial data analysis, map classification, point patterns, spatial regression, spatial dynamics, inequality and regionalization. Algorithms follow PySAL and are verified against it numerically.
Heavy computation runs in a Rust workspace (spatex_core for the pure algorithms,
spatex_native for the thin Rustler layer). Numeric vectors cross the NIF boundary as
native-endian f64 binaries.
See the README for what is available and the PySAL parity matrix (docs/parity.md) for
what is not.
Summary
Functions
@spec version() :: String.t()
Returns the Spatex version string.
Examples
iex> Spatex.version() =~ ~r/^\d+\.\d+\.\d+/
true