Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SparseMatrix ¶
type SparseMatrix[T any] struct { // contains filtered or unexported fields }
func (*SparseMatrix[T]) AddRow ¶
func (m *SparseMatrix[T]) AddRow(elements []SparseMatrixElement[T]) int
func (*SparseMatrix[T]) Copy ¶
func (m *SparseMatrix[T]) Copy() *SparseMatrix[T]
func (*SparseMatrix[T]) LookupRow ¶
func (m *SparseMatrix[T]) LookupRow(row int) []SparseMatrixElement[T]
func (*SparseMatrix[T]) LookupValue ¶
func (m *SparseMatrix[T]) LookupValue(row, col int) (T, bool)
type SparseMatrixElement ¶
Click to show internal directories.
Click to hide internal directories.