Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ env:
RUST_BACKTRACE: 1
ACTIONLINT_VERSION: "1.7.10"
MARKDOWNLINT_VERSION: "0.47.0"
CSPELL_VERSION: "9.4.0"
CSPELL_VERSION: "9.6.2"
SHFMT_VERSION: "3.12.0"
UV_VERSION: "0.9.21"
UV_VERSION: "0.9.28"

jobs:
build:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Install just
if: matrix.os != 'windows-latest'
uses: taiki-e/install-action@29feb09ac22f4fde4175fe7b5c3548952234f69a # v2.67.17
uses: taiki-e/install-action@29feb09ac22f4fde4175fe7b5c3548952234f69a # v2.67.17
with:
tool: just

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
fi

- name: Install just
uses: taiki-e/install-action@29feb09ac22f4fde4175fe7b5c3548952234f69a # v2.67.17
uses: taiki-e/install-action@29feb09ac22f4fde4175fe7b5c3548952234f69a # v2.67.17
with:
tool: just

Expand Down
4 changes: 2 additions & 2 deletions WARP.md → AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WARP.md
# AGENTS.md

This file provides guidance to WARP (warp.dev) when working with code in this repository.
This file provides guidance for automated agents (including Warp at warp.dev) when working with code in this repository.

## Priorities

Expand Down
111 changes: 51 additions & 60 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "la-stack"
version = "0.1.2"
edition = "2024"
rust-version = "1.92"
rust-version = "1.93"
license = "BSD-3-Clause"
description = "Small, stack-allocated linear algebra for fixed dimensions"
readme = "README.md"
Expand All @@ -12,19 +12,24 @@ categories = [ "mathematics", "science" ]
keywords = [ "linear-algebra", "geometry", "const-generics" ]

[dependencies]
# Intentionally empty
# Intentionally empty (bench-only deps are optional features below)
criterion = { version = "0.8.1", features = [ "html_reports" ], optional = true }
faer = { version = "0.24.0", default-features = false, features = [ "std", "linalg" ], optional = true }
nalgebra = { version = "0.34.1", optional = true }

[dev-dependencies]
approx = "0.5.1"
criterion = { version = "0.8.1", features = [ "html_reports" ] }
faer = { version = "0.23.2", default-features = false, features = [ "std", "linalg" ] }
nalgebra = "0.34.1"
pastey = "0.2.1"
proptest = "1.9.0"

[features]
default = [ ]
bench = [ "criterion", "faer", "nalgebra" ]

[[bench]]
name = "vs_linalg"
harness = false
required-features = [ "bench" ]

[lints.rust]
unsafe_code = "forbid"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ just fix # apply auto-fixes (mutating)
just ci # lint + tests + examples + bench compile
```

For the full set of developer commands, see `just --list` and `WARP.md`.
For the full set of developer commands, see `just --list` and `AGENTS.md`.

## 📝 Citation

Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"sarif",
"Schreiber",
"semgrep",
"serde",
"setuptools",
"shellcheck",
"SHFMT",
Expand Down
12 changes: 4 additions & 8 deletions docs/assets/bench/vs_linalg_lu_solve_median.csv
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
D,la_stack,la_lo,la_hi,nalgebra,na_lo,na_hi,faer,fa_lo,fa_hi
2,2.0426140654904827,2.0391714186102856,2.0478594146918607,18.27778331516731,18.25588547829167,18.353343071154377,159.2814967810837,158.47282250661482,159.94929876504062
3,13.449391348041551,13.441149735016948,13.468703234496012,23.33714807833139,23.197918644389595,23.432750888142905,196.59112056791784,195.46791977222858,197.64819469379614
4,27.80669858961578,27.79483103644443,27.82507517021301,54.198756567150525,54.1371885181747,54.25850823046414,226.2216645280771,225.69147147746128,226.77489608417022
5,46.075071909216696,46.0009302878795,46.22542128093703,73.54836237475409,73.15376033523773,73.65083570024034,290.9144674933806,290.3368842481312,292.2770703780476
8,138.18689626060086,137.6385886896043,138.71964020251693,177.4526788255892,176.72965942802895,177.76610014816572,379.88559054369557,378.0171460866489,381.43214918535807
16,626.0776434176701,622.7027039893363,627.8191979162416,594.0545445505171,590.9848069960763,596.1921326044237,897.0439411793589,892.3923679060665,903.3721630306105
32,2684.695543866568,2682.287244245524,2692.145801224854,2502.0311961897173,2498.0753625161688,2507.013007391502,2909.4663798139577,2905.3646097654746,2914.4703556771547
64,16721.57637997433,16681.169824561402,16765.606725146197,14875.769757096798,14835.11001141987,14911.022279129322,12493.628154592803,12481.801167582416,12502.518368055556
8,139.1757887813422,138.85553999302812,139.43884658648437,178.21202693227167,177.52836844843281,178.55635798393308,385.32108423907505,384.06743118586223,386.57307928983295
16,621.9073704935589,609.1396166716988,629.7385504068142,593.0675282677521,591.0085279317698,593.8912579957356,914.6753125472296,910.9807147912244,918.442061653845
32,2686.106579251768,2673.9338182855513,2693.15666392619,2494.9662128806867,2492.8615451388887,2498.0652466220645,2928.5380530973453,2923.4865662122297,2933.5632483081727
64,16748.679299149127,16714.879960962913,16783.847576211894,14695.374476410936,14657.57544191919,14718.787518037518,12441.879753474954,12411.776004717805,12477.712264150943
Loading
Loading