<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Ajouter ici d'éventuels commentaires sur le fichier XML
-->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
          xmlns:scilab="http://www.scilab.org"  xml:id="sech" xml:lang="en">
    <refnamediv>
        <refname>sech</refname>
        <refpurpose>computes the element-wise hyperbolic secant of the
            argument
        </refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>y = sech(x)</synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Arguments</title>
        <variablelist>
            <varlistentry>
                <term>x</term>
                <listitem>
                    <para>a real or complex array.</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>y</term>
                <listitem>
                    <para>a real or complex array.</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Description</title>
        <para>
          Compute the element-wise hyperbolic secant of the argument. The hyperbolic secant
          is defined as <literal>1/cosh(x)</literal>. For real data the results are real
          and in <literal>[0, 1]</literal>.
        </para>
    </refsection>
    <refsection>
        <title>Sample</title>
        <scilab:image>
            x=linspace(-10,10,1000)
            plot(x,sech(x))
        </scilab:image>
    </refsection>
    <refsection>
        <title>Examples</title>
        <programlisting role="example"><![CDATA[
x=linspace(-10,10,1000)
plot(x,sech(x))
 ]]></programlisting>
    </refsection>
    <refsection role="see also">
        <title>See also</title>
        <simplelist type="inline">
            <member>
                <link linkend="cosh">cosh</link>
            </member>
            <member>
                <link linkend="asech">asech</link>
            </member>
        </simplelist>
    </refsection>
</refentry>
