mirror of
https://github.com/gonum/gonum.git
synced 2025-10-13 02:43:59 +08:00
Add BandWidther interface definition
This commit is contained in:
@@ -239,6 +239,12 @@ type Ler interface {
|
||||
L(a Matrix)
|
||||
}
|
||||
|
||||
// A BandWidther represents a banded matrix and can return the left and right half-bandwidths, k1 and
|
||||
// k2.
|
||||
type BandWidther interface {
|
||||
BandWidth() (k1, k2 int)
|
||||
}
|
||||
|
||||
// RawMatrix represents a cblas native representation of a matrix.
|
||||
type RawMatrix struct {
|
||||
Order blas.Order
|
||||
|
Reference in New Issue
Block a user