Coverage Report

Created: 2026-10-28 06:40

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/rust/registry/src/index.crates.io-1949cf8c6b5b557f/sofars-0.6.2/src/vm/ir.rs
Line
Count
Source
1
/// Initialize an r-matrix to the identity matrix.
2
#[inline]
3
0
pub fn ir(r: &mut [[f64; 3]; 3]) {
4
0
    r[0][0] = 1.0;
5
0
    r[0][1] = 0.0;
6
0
    r[0][2] = 0.0;
7
0
    r[1][0] = 0.0;
8
0
    r[1][1] = 1.0;
9
0
    r[1][2] = 0.0;
10
0
    r[2][0] = 0.0;
11
0
    r[2][1] = 0.0;
12
0
    r[2][2] = 1.0;
13
0
}