1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="hat">
18 <refname>hat</refname>
19 <refpurpose>(^) 累乗</refpurpose>
23 <synopsis>A^b</synopsis>
28 定数ベクトルによる行列またはベクトルの累乗.
31 <literal>A</literal> がベクトルまたは矩形行列の場合,累乗は要素毎に行われます.
34 <literal>A</literal> が正方行列の場合, 累乗は行列に関して行われます.
37 論理値,多項式および有理行列の場合, 指数は整数である必要があります.
42 <literal>123.^b</literal> は <literal>(123).^b</literal>と解釈されます.
43 この場合,ドット(.)は数値ではなく演算子の一部となります.
46 実数または複素数の <literal>x1</literal> と <literal>x2</literal>に関して,
47 <literal>x1^x2</literal> の値は,
48 <literal>x1^x2 = exp(x2*log(x1))</literal> により定義される
55 <programlisting role="example"><![CDATA[
64 <refsection role="see also">
66 <simplelist type="inline">
68 <link linkend="exp">exp</link>
71 <link linkend="inv">inv</link>