rustebra 0.2.1

A hybrid no_std/alloc linear algebra crate for Rust, scaling from embedded targets to dynamic Krylov subspace solvers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use rustebra::storage::{StaticStorage, Storage};

pub(crate) fn run() {
    println!("== StaticStorage ==");
    let storage = StaticStorage::new([1, 2, 3]);

    println!("len = {}", storage.len());
    println!("is_empty = {}", storage.is_empty());
    println!("get(1) = {:?}", storage.get(1));
    println!("get(3) = {:?}", storage.get(3));
}