{ } Raw JSON

bundles / scipy 1.17.1 / scipy / sparse / linalg / _dsolve / _superlu / gstrf

built-in

scipy.sparse.linalg._dsolve._superlu:gstrf

Summary

performs a factorization of the sparse matrix A=*(N,nnz,nzvals,rowind,colptr) and returns a factored_lu object.

Parameters

Matrix to be factorized is represented as N,nnz,nzvals,rowind,colptr

as separate arguments. This is compressed sparse column representation.

N : int

number of rows and columns

nnz : int

number of non-zero elements

nzvals : array

non-zero values

rowind : array

row-index for this column (same size as nzvals)

colptr : array

index into rowind for first non-zero value in this column size is (N+1). Last value should be nnz.

Other Parameters

options

specifies additional options for SuperLU (same keys and values as in superlu_options_t C structure, and additionally 'Relax' and 'PanelSize')

ilu : bool

whether to perform an incomplete LU decomposition (default: false)

Aliases

  • scipy.sparse.linalg._dsolve._superlu.gstrf