pub fn tridiagonal_matrix_vector_multiplication(
a: &Array2<f64>,
b: &Array1<f64>,
c: f64
) -> Result<Array1<f64>, Error>
Expand description
General Information
Matrix - vector multiplication for a tridiagonal system reducing number of operations from n^2
to 3n
Parameters
a
- a tridiagonal matrixb
- a vector of the same length as any axis of the matrix