<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 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:mml="http://www.w3.org/1998/Math/MathML"
          xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
          xml:lang="en" xml:id="dcf">
    <refnamediv>
        <refname>dcf</refname>
        <refpurpose>double coprime factorization</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>
            [N,M, X,Y, NT,MT, XT,YT] = dcf(G)
            [N,M, X,Y, NT,MT, XT,YT] = dcf(G, polf, polc)
            [N,M, X,Y, NT,MT, XT,YT] = dcf(G, polf, polc, tol)
        </synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Arguments</title>
        <variablelist>
            <varlistentry>
                <term>G</term>
                <listitem>
                    <para>
                        <literal>syslin</literal> list (continuous-time linear system)
                    </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>polf, polc</term>
                <listitem>
                    <para>
                        respectively the poles of <literal>XT</literal> and <literal>YT</literal> and the poles of <literal>N</literal>  and <literal>M</literal> (default values =<literal>-1</literal>).
                    </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>tol</term>
                <listitem>
                    <para>
                        real threshold for detecting stable poles (default value <literal>100*%eps</literal>).
                    </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>N,M,XT,YT,NT,MT,X,Y</term>
                <listitem>
                    <para>
                        linear systems represented by <literal>syslin</literal> lists
                    </para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Description</title>
        <para>
            returns eight stable systems <literal>(N,M,X,Y,NT,MT,XT,YT) </literal>
            for the doubly coprime factorization
        </para>
        <para>
            <literal>G</literal> must be stabilizable and detectable.
        </para>
    </refsection>
    <refsection role="see also">
        <title>See also</title>
        <simplelist type="inline">
            <member>
                <link linkend="copfac">copfac</link>
            </member>
        </simplelist>
    </refsection>
</refentry>
