Linear algebra and data manipulation library for Idris2 | GitHub Mirror: https://github.com/kiana-S/numidr
Find a file
2024-04-25 13:37:59 -04:00
docs Add second section of tutorial 2024-04-25 13:37:59 -04:00
src/Data Remove Data.NP 2024-03-01 18:56:27 -05:00
.gitignore Update .gitignore 2022-05-10 16:41:34 -04:00
LICENSE Initial commit 2022-05-10 16:38:53 -04:00
numidr.ipkg Remove Data.NP 2024-03-01 18:56:27 -05:00
README.md Add beginnings of a tutorial 2024-04-24 18:59:47 -04:00
sirdi.json Remove Data.NP 2024-03-01 18:56:27 -05:00

NumIdr

NumIdr is a linear algebra and data manipulation library for Idris 2. It features an efficient, type-safe array data structure, as well as utilities for working with vector spaces and matrices.

The name is pronounced like "num-idge".

Features

  • A type-safe and efficient array type, based on NumPy's arrays.

  • Compile-time checked indexing operations to avoid run-time overhead.

  • Utility functions and operations for working with vectors, matrices, homogeneous coordinates, and other linear algebra computations.

  • Transform types for working with rotations, reflections, isometries, and other types of affine maps.

Inspiration

NumIdr is inspired by many different data science and linear algebra libraries, including Python's NumPy, Rust's nalgebra, and Haskell's massiv. It aims to combine the most useful features of each library.

Documentation

Most of the exported utility functions have docstrings. There is also a (currently unfinished) tutorial of NumIdr's features here.

Usage

To install using idris2 directly:

git clone https://github.com/kiana-S/numidr
cd numidr
idris2 --install numidr.ipkg

Or you can install using pack:

pack install numidr