~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/elementary_functions/help/en_US/or_op.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *
12
12
 -->
13
13
<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" version="5.0-subset Scilab" xml:id="or_op" xml:lang="en">
14
 
  <refnamediv>
15
 
    <refname>|</refname>
16
 
    <refpurpose>logical OR operator</refpurpose>
17
 
  </refnamediv>
18
 
  <refsynopsisdiv>
19
 
    <title>Calling Sequence</title>
20
 
    <synopsis>A|B</synopsis>
21
 
  </refsynopsisdiv>
22
 
  <refsection>
23
 
    <title>Description</title>
24
 
    <para>
25
 
      <literal>A|B</literal> gives the element-wise logical
26
 
      <literal>or</literal> of the booleans matrices <literal>A</literal> and
27
 
      <literal>B</literal>. <literal>A</literal> and <literal>B</literal> must
28
 
      be matrices with the same dimensions or one from them must be a single
29
 
      boolean.
30
 
    </para>
31
 
  </refsection>
32
 
  <refsection>
33
 
    <title>Examples</title>
34
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>|</refname>
 
16
        <refpurpose>logical OR operator</refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>Calling Sequence</title>
 
20
        <synopsis>A|B</synopsis>
 
21
    </refsynopsisdiv>
 
22
    <refsection>
 
23
        <title>Description</title>
 
24
        <para>
 
25
            <literal>A|B</literal> gives the element-wise logical
 
26
            <literal>or</literal> of the booleans matrices <literal>A</literal> and
 
27
            <literal>B</literal>. <literal>A</literal> and <literal>B</literal> must
 
28
            be matrices with the same dimensions or one from them must be a single
 
29
            boolean.
 
30
        </para>
 
31
    </refsection>
 
32
    <refsection>
 
33
        <title>Examples</title>
 
34
        <programlisting role="example"><![CDATA[ 
35
35
[%t %t %f] | [%f %t %t]
36
36
[%t %t %f] | %f
37
37
 ]]></programlisting>
38
 
  </refsection>
39
 
  <refsection role="see also">
40
 
    <title>See Also</title>
41
 
    <simplelist type="inline">
42
 
      <member>
43
 
        <link linkend="or">or</link>
44
 
      </member>
45
 
      <member>
46
 
        <link linkend="and">and</link>
47
 
      </member>
48
 
      <member>
49
 
        <link linkend="and_op">and operator (&amp;)</link>
50
 
      </member>
51
 
      <member>
52
 
        <link linkend="not">not</link>
53
 
      </member>
54
 
      <member>
55
 
        <link linkend="find">find</link>
56
 
      </member>
57
 
    </simplelist>
58
 
  </refsection>
 
38
    </refsection>
 
39
    <refsection role="see also">
 
40
        <title>See Also</title>
 
41
        <simplelist type="inline">
 
42
            <member>
 
43
                <link linkend="or">or</link>
 
44
            </member>
 
45
            <member>
 
46
                <link linkend="and">and</link>
 
47
            </member>
 
48
            <member>
 
49
                <link linkend="and_op">and operator (&amp;)</link>
 
50
            </member>
 
51
            <member>
 
52
                <link linkend="not">not</link>
 
53
            </member>
 
54
            <member>
 
55
                <link linkend="find">find</link>
 
56
            </member>
 
57
        </simplelist>
 
58
    </refsection>
59
59
</refentry>