[Scilab-Dev] Question about sparse(ij,v,mn) internals

Samuel Gougeon sgougeon at free.fr
Tue May 12 11:56:56 CEST 2015


Le 12/05/2015 11:09, Stéphane Mottelet a écrit :
> Le 12/05/2015 10:30, Samuel Gougeon a écrit :
>>
>>> OK. So, unless i misunderstand you, this syntax is used only to 
>>> update values at their current positions, not to set new positions 
>>> or modify ones.
> exactly !

Stephane,
Could you report your wish on bugzilla? The patch to do S.nzval=v is 
ready. I will post it on your report, with updated help pages.
>> There could be a convention: when v(i) is %nan, the existing value 
>> could be unchanged and v(i) ignored.
>> When v(i)==0, then A's length is automatically changed. This can make 
>> forthcoming assignments very hazardous.
>>
>> Samuel
Regards
Samuel




More information about the dev mailing list