* Bug 14741 fixed: [m,e]=log2(x) documented. frexp()=>internal
[scilab.git] / scilab / modules / elementary_functions / help / ru_RU / ndims.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 - Serge STEER
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="ndims" xml:lang="ru">
17     <refnamediv>
18         <refname>ndims</refname>
19         <refpurpose>количество размерностей массива</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Синтаксис</title>
23         <synopsis>
24             n = ndims(A)
25         </synopsis>
26     </refsynopsisdiv>
27     <refsection>
28         <title>Аргументы</title>
29         <variablelist>
30             <varlistentry>
31                 <term>A</term>
32                 <listitem>
33                     <para>массив.</para>
34                 </listitem>
35             </varlistentry>
36             <varlistentry>
37                 <term>n</term>
38                 <listitem>
39                     <para>целое число, количество размерностей массива.</para>
40                 </listitem>
41             </varlistentry>
42         </variablelist>
43     </refsection>
44     <refsection>
45         <title>Описание</title>
46         <para>
47             <code>n = ndims(A)</code> возвращает количество размерностей массива
48             <varname>A</varname>. <varname>n</varname> больше либо равно <literal>2</literal>.
49         </para>
50     </refsection>
51     <refsection>
52         <title>Примеры</title>
53         <programlisting role="example"><![CDATA[
54 A=rand(2,3);
55 ndims(A)
56
57 A=rand(2,3,2);
58 size(A),ndims(A)
59
60 H=[1/%s,1/(%s+1)]
61 ndims(H)
62  ]]></programlisting>
63     </refsection>
64     <refsection role="see also">
65         <title>Смотрите также</title>
66         <simplelist type="inline">
67             <member>
68                 <link linkend="size">size</link>
69             </member>
70         </simplelist>
71     </refsection>
72 </refentry>