nalgebra-sparse-linalg 0.1.10

Sparse linear algebra library for Rust using nalgebra including linear solvers and SVD.
Documentation
1
2
3
4
5
6
7
8
9
use super::*;

pub(crate) fn build_r<N>(_a: &CsrMatrix<N>, p: &CsrMatrix<N>) -> CsrMatrix<N>
where N: RealField + Copy
{
    // Define R as the transpose of P (Galerkin approach)
    // The matrix 'a' is not needed for this definition but kept for API consistency
    p.transpose()
}