BandedMatrix

Type Alias BandedMatrix 

Source
pub type BandedMatrix<T> = BandedArray<T>;
Expand description

Legacy banded matrix wrapper around BandedArray

Aliased Type§

pub struct BandedMatrix<T> { /* private fields */ }

Implementations§

Source§

impl<T> BandedMatrix<T>
where T: Float + Debug + Display + Copy + Zero + One + Send + Sync + 'static + AddAssign,

Source

pub fn matmul(&self, other: &BandedMatrix<T>) -> SparseResult<BandedMatrix<T>>

Matrix multiplication (for legacy API compatibility)

Source

pub fn from_dense(dense: &Array2<T>, kl: usize, ku: usize) -> SparseResult<Self>

Create banded matrix from dense array

Source

pub fn get_mut(&mut self, row: usize, col: usize) -> Option<&mut T>

Get a mutable reference to an element (legacy API)

Source

pub fn set(&mut self, row: usize, col: usize, value: T) -> SparseResult<()>

Set element (legacy API)