lance_linalg/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright The Lance Authors
3
4//! High-performance [Apache Arrow](https://docs.rs/arrow/latest/arrow/) native Linear Algebra algorithms.
5
6#![deny(clippy::unused_async)]
7#![cfg_attr(target_arch = "loongarch64", feature(stdarch_loongarch))]
8
9use arrow_schema::ArrowError;
10
11mod clustering;
12pub mod distance;
13pub mod kernels;
14pub mod simd;
15
16#[cfg(test)]
17pub(crate) mod test_utils;
18
19pub use clustering::Clustering;
20
21type Error = ArrowError;
22pub type Result<T> = std::result::Result<T, Error>;