Scilab Function

spones - sparse matrix

Calling Sequence

sp=spones(A)

Parameters

Description

sp=spones(A) generates a matrix with the same sparsity structure as A, but with ones in the nonzero positions;

Examples

See Also