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">
16
<refpurpose>logical OR operator</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>A|B</synopsis>
23
<title>Description</title>
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
33
<title>Examples</title>
34
<programlisting role="example"><![CDATA[
16
<refpurpose>logical OR operator</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>A|B</synopsis>
23
<title>Description</title>
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
33
<title>Examples</title>
34
<programlisting role="example"><![CDATA[
35
35
[%t %t %f] | [%f %t %t]
37
37
]]></programlisting>
39
<refsection role="see also">
40
<title>See Also</title>
41
<simplelist type="inline">
43
<link linkend="or">or</link>
46
<link linkend="and">and</link>
49
<link linkend="and_op">and operator (&)</link>
52
<link linkend="not">not</link>
55
<link linkend="find">find</link>
39
<refsection role="see also">
40
<title>See Also</title>
41
<simplelist type="inline">
43
<link linkend="or">or</link>
46
<link linkend="and">and</link>
49
<link linkend="and_op">and operator (&)</link>
52
<link linkend="not">not</link>
55
<link linkend="find">find</link>