MCPcopy Index your code
hub / github.com/blas-lapack-rs/blas

github.com/blas-lapack-rs/blas @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
186 symbols 247 edges 4 files 0 documented · 0% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BLAS Package Documentation Build

The package provides wrappers for BLAS (Fortran).

Architecture

Example

use blas::*;

let (m, n, k) = (2, 4, 3);
let a = vec![
    1.0, 4.0,
    2.0, 5.0,
    3.0, 6.0,
];
let b = vec![
    1.0, 5.0,  9.0,
    2.0, 6.0, 10.0,
    3.0, 7.0, 11.0,
    4.0, 8.0, 12.0,
];
let mut c = vec![
    2.0, 7.0,
    6.0, 2.0,
    0.0, 7.0,
    4.0, 2.0,
];

unsafe {
    dgemm(b'N', b'N', m, n, k, 1.0, &a, m, &b, k, 1.0, &mut c, m);
}

assert!(
    c == vec![
        40.0,  90.0,
        50.0, 100.0,
        50.0, 120.0,
        60.0, 130.0,
    ]
);

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.

Core symbols most depended-on inside this repo

format
called by 29
bin/documentation.py
append
called by 12
bin/documentation.py
prepare
called by 3
bin/generate.py
do
called by 3
bin/generate.py
is_scalar
called by 2
bin/generate.py
translate_argument
called by 2
bin/generate.py
translate_return_type
called by 2
bin/generate.py
parse
called by 1
bin/function.py

Shape

Function 168
Method 13
Class 5

Languages

Rust78%
Python22%

Modules by API surface

src/lib.rs146 symbols
bin/documentation.py19 symbols
bin/generate.py14 symbols
bin/function.py7 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add blas \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact