1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The Lance Authors

//! High-performance [Apache Arrow](https://docs.rs/arrow/latest/arrow/) native Linear Algebra algorithms.

// #![cfg_attr(feature = "avx512", feature(stdsimd))]

pub mod distance;
pub mod kernels;
pub mod kmeans;
pub mod matrix;
pub mod simd;

#[cfg(test)]
pub(crate) mod test_utils;

pub use matrix::MatrixView;

use arrow_schema::ArrowError;

type Error = ArrowError;
pub type Result<T> = std::result::Result<T, Error>;