Next: , Previous: spchol2inv, Up: Function Reference


22.6.0.22 spconvert

— Function File: x = spconvert (m)

This function converts for a simple sparse matrix format easily produced by other programs into Octave's internal sparse format. The input x is either a 3 or 4 column real matrix, containing the row, column, real and imaginary parts of the elements of the sparse matrix. An element with a zero real and imaginay part can be used to force a particular matrix size.