Kaba package linalg ed
...
Classes ed
- struct Matrix
- struct SparseRowMatrix
Functions ed
- func static dot(a: f32[], b: f32[]) -> f32
- func static eye(n: i32) -> Matrix
- func static inverse(M: Matrix) -> Matrix
- func static inverse(M: SparseRowMatrix) -> Matrix
- func static mul(A: Matrix, B: Matrix) -> Matrix
- func static mul(M: Matrix, x: f32[]) -> f32[]
- func static mul(M: SparseRowMatrix, x: f32[]) -> f32[]
- func static outer_product(A: SparseRowMatrix, B: SparseRowMatrix) -> SparseRowMatrix
- func static qr_decomposition(A: Matrix) -> (Matrix,Matrix)
- func static solve(A: Matrix, b: f32[]) -> f32[]
- func static transpose(M: Matrix) -> Matrix
- func static vec_basis(n: i32, k: i32) -> f32[]
- func static vec_zero(n: i32) -> f32[]
- func static zeros(m: i32, n: i32) -> Matrix