# `Spatex`
[🔗](https://github.com/CountlinkX-Solutions/spatex/blob/v0.2.1/lib/spatex.ex#L1)

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.

# `version`

```elixir
@spec version() :: String.t()
```

Returns the Spatex version string.

## Examples

    iex> Spatex.version() =~ ~r/^\d+\.\d+\.\d+/
    true

---

*Consult [api-reference.md](api-reference.md) for complete listing*
