<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Scilab ( https://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2008 - INRIA
 *
 * Copyright (C) 2012 - 2016 - Scilab Enterprises
 *
 * This file is hereby licensed under the terms of the GNU GPL v2.0,
 * pursuant to article 5.3.4 of the CeCILL v.2.1.
 * This file was originally licensed under the terms of the CeCILL v2.1,
 * and continues to be available under such terms.
 * For more information, see the COPYING file which you should have received
 * along with this program.
 *
 -->
<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="kernel" xml:lang="pt">
    <refnamediv>
        <refname>kernel</refname>
        <refpurpose>núcleo de uma matriz</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title> Seqüência de Chamamento </title>
        <synopsis>W=kernel(A [,tol,[,flag])</synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Parâmetros</title>
        <variablelist>
            <varlistentry>
                <term>A</term>
                <listitem>
                    <para>matriz de reais ou complexos completa ou matriz de reais
                        esparsa
                    </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>flag</term>
                <listitem>
                    <para>
                        string <literal>'svd'</literal> (padrão) ou
                        <literal>'qr'</literal>
                    </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>tol</term>
                <listitem>
                    <para>número real </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>W</term>
                <listitem>
                    <para>matriz de posto-coluna completo</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Descrição</title>
        <para>
            <literal>W=kernel(A)</literal> retorna o núcleo (espaço nulo) de
            <literal>A</literal>. Se A tem posto-coluna completo, então uma matriz
            vazia [] é retornada.
        </para>
        <para>
            <literal>flag</literal> e <literal>tol</literal> são parâmetros
            opcionais: <literal>flag = 'qr'</literal> ou<literal>'svd'</literal> (o
            padrão é <literal>'svd'</literal>).
        </para>
        <para>
            <literal>tol</literal> = parâmetro de tolerância (de ordem
            <literal>%eps</literal> como valor padrão).
        </para>
    </refsection>
    <refsection>
        <title>Exemplos</title>
        <programlisting role="example"><![CDATA[
A=rand(3,1)*rand(1,3);
A*kernel(A)
A=sparse(A);
clean(A*kernel(A))
 ]]></programlisting>
    </refsection>
    <refsection>
        <title> Ver Também</title>
        <simplelist type="inline">
            <member>
                <link linkend="colcomp">colcomp</link>
            </member>
            <member>
                <link linkend="fullrf">fullrf</link>
            </member>
            <member>
                <link linkend="fullrfk">fullrfk</link>
            </member>
            <member>
                <link linkend="linsolve">linsolve</link>
            </member>
        </simplelist>
    </refsection>
</refentry>
