MCPcopy Create free account
hub / github.com/PerroEngine/Perro / Matrix

Class Matrix

perro_source/core/perro_structs/src/structs/matrix/mod.rs:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15/// Row-major const-size matrix.
16#[derive(Clone, Copy, Debug, PartialEq)]
17pub struct Matrix<const ROWS: usize, const COLS: usize, T = f32>(pub [[T; COLS]; ROWS]);
18
19/// Row-major square const-size matrix.
20pub type SqMatrix<const SZ: usize, T = f32> = Matrix<SZ, SZ, T>;

Callers 7

map_cellsMethod · 0.85
resize_withMethod · 0.85
transposedMethod · 0.85
mul_genericMethod · 0.85
mul_f32Method · 0.85
mul_f32_transposedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected