* Bug #14648 fixed - isinf(%inf+%i*%inf)) and isinf(%nan+%i%inf) returned %F
[scilab.git] / scilab / modules / elementary_functions / help / ru_RU / floating_point / isinf.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA
5  * 
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <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="isinf" xml:lang="ru">
17     <refnamediv>
18         <refname>isinf</refname>
19         <refpurpose>проверка на бесконечные элементы</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Синтаксис</title>
23         <synopsis>r = isinf(x)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>Аргументы</title>
27         <variablelist>
28             <varlistentry>
29                 <term>x</term>
30                 <listitem>
31                     <para>матрица или вектор вещественных или комплексных значений</para>
32                 </listitem>
33                 <term>r</term>
34                 <listitem>
35                     <para>вектор или матрица логических значений</para>
36                 </listitem>
37             </varlistentry>
38         </variablelist>
39     </refsection>
40     <refsection>
41         <title>Описание</title>
42         <para>
43             <literal>isinf(x)</literal> returns a matrix <varname>r</varname>
44             of booleans such that, for each element <varname>x(i)</varname>,
45             <varname>r(i)</varname> is set to <literal>%T</literal> as soon as
46             <varname>x(i)</varname> is infinite.
47         </para>
48         <para>When <literal>x</literal> is complex-encoded, <literal>x(i)</literal>
49          is considered infinite as soon as its real or imaginary or both parts
50          are infinite.
51         </para>
52     </refsection>
53     <refsection>
54         <title>Примеры</title>
55         <programlisting role="example"><![CDATA[
56 [i, inf, nan] = (%i, %inf, %nan);
57 isinf([-1  0.01 -inf  inf  nan])
58 isinf([2+i, -10-inf, inf+i])
59 isinf([nan-i, inf-nan*i, nan+i*inf])
60  ]]></programlisting>
61     </refsection>
62     <refsection role="see also">
63         <title>Смотрите также</title>
64         <simplelist type="inline">
65             <member>
66                 <link linkend="isnan">isnan</link>
67             </member>
68             <member>
69                 <link linkend="isreal">isreal</link>
70             </member>
71             <member>
72                 <link linkend="isnum">isnum</link>
73             </member>
74             <member>
75                 <link linkend="type">type</link>
76             </member>
77         </simplelist>
78     </refsection>
79 </refentry>