summaryrefslogtreecommitdiff
path: root/help/en_US/c_sum.xml
blob: fe041168d0a8e108974c721420af8aa705426a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is released under the 3-clause BSD license. See COPYING-BSD.
 *
 -->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="c_sum" xml:lang="en">
    <refnamediv>
        <refname>c_sum</refname>
        <refpurpose>sum from C</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>a = c_sum(b,c)</synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Arguments</title>
        <variablelist>
            <varlistentry>
                <term>b</term>
                <listitem>
                    <para>first input argument</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>c</term>
                <listitem>
                    <para>second input argument</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>a</term>
                <listitem>
                    <para>output argument</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Description</title>
        <para>Do a sum.</para>
        <para>Add here a paragraph of the function description </para>
        <para>
            LaTeX can also be used to render equation: In this case, the rendering should <latex>$x+y$</latex>
        </para>
    </refsection>
    <refsection>
        <title>Examples</title>
        <programlisting role="example">c_sum(3,4)</programlisting>
    </refsection>
    <refsection role="see also">
        <title>See also</title>
        <simplelist type="inline">
            <member>
                <link linkend="fortran_sum">fortran_sum</link>
            </member>
            <member>
                <link type="scilab" linkend="scilab.help/sum">Link to the Scilab help page</link>
            </member>
        </simplelist>
    </refsection>
</refentry>