1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2008 - INRIA
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
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.
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="cotd" xml:lang="ru">
18 <refname>cotd</refname>
19 <refpurpose>поэлементный котангенс, аргумент в градусах</refpurpose>
22 <title>Синтаксис</title>
23 <synopsis>y=cotd(x)</synopsis>
26 <title>Аргументы</title>
31 <para>вещественный массив.</para>
37 <para>вещественный массив тех же размеров, что и
45 <title>Описание</title>
47 Элементы <varname>y</varname> являются котангенсом соответствующих
48 элементов <varname>x</varname> в предположении, что они даны в градусах.
49 <code>t=cos(x)./sin(x)</code>. Для элементов, равных
50 <literal>n*180</literal>, где <literal>n</literal> - целые числа, результат
51 равен бесконечности, хотя <code>cotg(n*%pi)</code> и большой, но конечный,
52 поскольку <constant>%pi</constant> не может быть представлено точно. Для
53 элементов, равных <literal>n*90</literal>, где <literal>n</literal> - нечётное целое,
54 результаты равны строго <literal>0</literal>.
58 <title>Примеры</title>
59 <programlisting role="example"><![CDATA[
64 <refsection role="see also">
65 <title>Смотрите также</title>
66 <simplelist type="inline">
68 <link linkend="cotg">cotg</link>