<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>log1p</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>July 2001</DATE>
  <SHORT_DESCRIPTION name="log1p"> computes with accuracy the natural logarithm of its argument added by one</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>y=log1p(x)  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>x</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: real scalar, vector or matrix</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>y</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: real scalar, vector or matrix</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P><VERB>logp1(x)</VERB> is the &quot;element-wise&quot; log(1+x) function. <VERB>y(i,j)=log(1 + x(i,j))</VERB>.
    This function, defined for x &gt; -1, must be used if we want to compute log(1+x) with
    accuracy for |x| &lt;&lt; 1.</P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
format("e",24)
log(1.001)
log1p(0.001)
log(1 + 1.e-7)
log1p(1.e-7)
log(1 + 1.e-20)
log1p(1.e-20)
format("v") //reset default format
   ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>log</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
  <AUTHOR>B.P.;   </AUTHOR>
</MAN>
