<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  
  <LANGUAGE>fr</LANGUAGE>
  <TITLE>factorial</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>Sep 2006</DATE>
  <SHORT_DESCRIPTION name="factorial">retourne factorielle</SHORT_DESCRIPTION>

  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>y=factorial(n)</CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>

  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>n</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: un scalaire, vecteur, matrice, ou hypermatrice d'entiers
          positifs</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>

      <PARAM_ITEM>
        <PARAM_NAME>y</PARAM_NAME>

        <PARAM_DESCRIPTION>
          <SP>: un scalaire, vecteur, matrice, ou hypermatrice</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>

  <DESCRIPTION>
    <P><VERB>factorial(n)</VERB> retoune factotielle n, si n est de dimension
    superieur ра <VERB>1</VERB> alors <VERB>factorial(n)</VERB> retourne
    factorielle composante par composante (<VERB>x</VERB> et <VERB>y</VERB>
    ont la meme taille)</P>
  </DESCRIPTION>

  <EXAMPLE><![CDATA[
// n scalaire
n=4
y=factorial(n)
// n matrice
n=[2 6 8;5 4 3]
y=factorial(n)
// n hypermatrice
n=matrix(1:12,[2,2,3])
y=factorial(n)

 ]]></EXAMPLE>
 
</MAN>