<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="guide" id="function" xml:lang="eu">

    <info>
        <link type="guide" xref="index#equation"/>
    </info>

	<title>Funtzioak</title>
    
    <p>
    Functions can be used by inserting the name of the function followed by function arguments. <app>Calculator</app> also support user-defined functions.
    If the argument is not a number or <link xref="variable">a single variable</link> then write each argument separated by semicolon and use parenthesis around the argument list.
    </p>
    <example>
    <p its:locNote="Translators: Do not translate the word 'sin'!">sin 30</p>
    <p its:locNote="Translators: Do not translate the word 'abs'!">abs (5−9)</p>
    <p its:locNote="Translators: Do not translate the word 'fun'!">fun (9;10)</p>
    </example>
    <p>
    To add a new function type the function in the format as given below. A function name and arguments must only contain upper or lower case characters, or underscores. The part after @ is the function description which is optional.
    </p>
    <example>
    <p>
    SimpleInterest (principal; rate; time) = principal * rate * time @ Simple Interest formula
    </p>
    </example>
    <p>Funtzioak gehitu eta txertatzeko beste modu bat f(x) botoia erabiltzea da.</p>
    <example>
    <p>
    Click on f(x). Type the function name in the box, choose the number of arguments and click on the plus sign button next to it. On the calculator screen type the function expression and press <key>Enter</key>.
    </p>
    </example>
    <example>
    <p>Egin klik f(x) aukeran. Aukeratu funtzioa eta egin klik gainean.</p>
    </example>
    <p>Hurrengo funtzioak definitu dira.</p>
    <table>
    <tr>
    <td colspan="2"><p>Trigonometria</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sin</p></td>
    <td><p><link xref="trigonometry">Sinua</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">cos</p></td>
    <td><p><link xref="trigonometry">Kosinua</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">tan</p></td>
    <td><p><link xref="trigonometry">Tangentea</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sin⁻¹ / asin</p></td>
    <td><p><link xref="trigonometry">Alderantzizko sinua</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">cos⁻¹ / acos</p></td>
    <td><p><link xref="trigonometry">Alderantzizko kosinua</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">tan⁻¹ / atan</p></td>
    <td><p><link xref="trigonometry">Alderantzizko tangentea</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sinh</p></td>
    <td><p><link xref="trigonometry">Sinu hiperbolikoa</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">cosh</p></td>
    <td><p><link xref="trigonometry">Kosinu hiperbolikoa</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">tanh</p></td>
    <td><p><link xref="trigonometry">Tangente hiperbolikoa</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sinh⁻¹ / asinh</p></td>
    <td><p><link xref="trigonometry">Alderantzizko sinu hiperbolikoa</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">cosh⁻¹ / acosh</p></td>
    <td><p><link xref="trigonometry">Alderantzizko kosinu hiperbolikoa</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">tanh⁻¹ / atanh</p></td>
    <td><p><link xref="trigonometry">Alderantzizko tangente hiperbolikoa</link></p></td>
    </tr>
    <tr>
    <td colspan="2"><p>Konplexua</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">conj</p></td>
    <td><p><link xref="complex">Konjugatu konplexua</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">arg</p></td>
    <td><p><link xref="complex">Argumentu konplexua</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">re</p></td>
    <td><p><link xref="complex">Zati erreala</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">im</p></td>
    <td><p><link xref="complex">Zati irudikaria</link></p></td>
    </tr>
    <tr>
    <td colspan="2"><p>Programazioa</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">ones</p></td>
    <td><p><link xref="mode-programming">Baten osagarria</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">twos</p></td>
    <td><p><link xref="mode-programming">Biren osagarria</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">bswap</p></td>
    <td><p><link xref="mode-programming">Trukatu endian balioa</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">mod</p></td>
    <td><p><link xref="modulus">Moduluaren zatiketa</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">modexp</p></td>
    <td><p><link xref="modulus">Berreketa modularra</link></p></td>
    </tr>
    <tr>
    <td colspan="2"><p>Biribiltzea</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">round</p></td>
    <td><p><link xref="rounding">Biribiltzea</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">floor</p></td>
    <td><p><link xref="rounding">Zorua</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">ceil</p></td>
    <td><p><link xref="rounding">Sabaia</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">int</p></td>
    <td><p><link xref="rounding">Osoko zatia</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">frac</p></td>
    <td><p><link xref="rounding">Zati frakzionala</link></p></td>
    </tr>
    <tr>
    <td colspan="2"><p>Estatistikak</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sum</p></td>
    <td><p>Batuketa</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sumsq</p></td>
    <td><p>Erro karratuen batuketa</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">average</p></td>
    <td><p>Batez bestekoa</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">median</p></td>
    <td><p>Mediana</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">min</p></td>
    <td><p>Balio minimoa</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">max</p></td>
    <td><p>Balio maximoa</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">stdev</p></td>
    <td><p>Laginaren desbideratze estandarra</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">stdevp</p></td>
    <td><p>Populazioaren desbideratze estandarra</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">var</p></td>
    <td><p>Laginaren bariantza</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">varp</p></td>
    <td><p>Populazioaren bariantza</p></td>
    </tr>
    <tr>
    <td colspan="2"><p>Bestelakoak</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">log</p></td>
    <td><p><link xref="logarithm">Logaritmoa</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">ln</p></td>
    <td><p><link xref="logarithm">Logaritmo naturala</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sqrt</p></td>
    <td><p><link xref="power">Erro karratua</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">abs</p></td>
    <td><p><link xref="absolute">Balio absolutua</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sgn</p></td>
    <td><p><link xref="absolute">Ikurra</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">ncr</p></td>
    <td><p>Konbinazioa</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">npr</p></td>
    <td><p>Permutazioa</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">gcd</p></td>
    <td><p>Zatitzaile komun handiena</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">lcm</p></td>
    <td><p>Multiplo komun txikiena</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">cmp</p></td>
    <td><p>Konparazioa (Kronecker Delta)</p></td>
    </tr>
    </table>
</page>
