<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> 
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>fr</LANGUAGE>
  <TITLE>spones  </TITLE>
  <TYPE>Scilab Function  </TYPE>
  <DATE>January 1995  </DATE>
  <SHORT_DESCRIPTION name="spones">  matrice creuse dont les termes valent 1   </SHORT_DESCRIPTION>
  <PARAM>
 <PARAM_INDENT>
  <PARAM_ITEM>
  <PARAM_NAME>A  </PARAM_NAME>
  <PARAM_DESCRIPTION>
  <SP>
    : matrice creuse
</SP>
  </PARAM_DESCRIPTION> 
  </PARAM_ITEM>
  <PARAM_ITEM>
  <PARAM_NAME>sp  </PARAM_NAME>
  <PARAM_DESCRIPTION>
  <SP>
    : matrice creuse
</SP>
  </PARAM_DESCRIPTION> 
  </PARAM_ITEM>
 </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
  <P>
    <VERB>sp=spones(A)</VERB> génère une matrice creuse de même structure que <VERB>A</VERB>, mais où les termes non-nuls ont été remplacés par la valeur 1.
  </P>
  </DESCRIPTION>
  <EXAMPLE><![CDATA[
A=sprand(10,12,0.1);
sp=spones(A)
B = A~=0
bool2s(B)
 ]]></EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM> <LINK>sparse</LINK> </SEE_ALSO_ITEM>     <SEE_ALSO_ITEM> <LINK>full</LINK> </SEE_ALSO_ITEM>     <SEE_ALSO_ITEM> <LINK>eye</LINK> </SEE_ALSO_ITEM>     <SEE_ALSO_ITEM> <LINK>speye</LINK> </SEE_ALSO_ITEM>     <SEE_ALSO_ITEM> <LINK>spzeros</LINK> </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
