[Obsolete] %asn 31/15331/5
Bruno JOFRET [Tue, 7 Oct 2014 12:08:48 +0000 (14:08 +0200)]
Change-Id: I04fe91d9a5288fe08793f36246bc31877b305cb8

scilab/CHANGES_5.5.X
scilab/modules/helptools/data/configuration/scilab_macros.txt
scilab/modules/helptools/tests/nonreg_tests/bug_6514.tst
scilab/modules/signal_processing/locales/signal_processing.pot
scilab/modules/signal_processing/macros/%asn.sci [deleted file]
scilab/modules/signal_processing/tests/nonreg_tests/bug_6512.dia.ref
scilab/modules/signal_processing/tests/nonreg_tests/bug_6512.tst
scilab/modules/special_functions/help/en_US/percentasn.xml [deleted file]
scilab/modules/special_functions/help/ja_JP/percentasn.xml [deleted file]

index c3f7a72..bd4b431 100644 (file)
@@ -6,8 +6,9 @@ Removed Functions
 
 * xmltochm removed.
 
-* jmat removed.
+* jmat removed. Please use flipdim instead.
 
+* %asn removed. Please use delip instead.
 
                      Changes between version 5.5.0 and 5.5.1
                      =======================================
index c0b63f4..5bdffd7 100644 (file)
@@ -13,7 +13,7 @@
 // http://bugzilla.scilab.org/show_bug.cgi?id=6514
 //
 // <-- Short Description -->
-// "help %k" and "help %asn" pointed to the symbols help page.
+// "help %k" pointed to the symbols help page.
 
-help %asn
-// Check that the help page opened is the %asn help page and not the sympbols help page
\ No newline at end of file
+help %k
+// Check that the help page opened is the %k help page and not the sympbols help page
\ No newline at end of file
index 833a44f..4d2c4e2 100644 (file)
@@ -15,7 +15,7 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=ISO-8859-1\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Revision-Date: 2014-09-18 17:01+0100\n"
+"Revision-Date: 2014-10-08 15:42+0100\n"
 
 # File: sci_gateway/c/sci_conv2.c, line: 38
 # File: sci_gateway/c/sci_conv2.c, line: 99
@@ -373,14 +373,6 @@ msgid "length 55"
 msgstr ""
 
 #
-# File: macros/%asn.sci, line: 24
-# File: macros/remezb.sci, line: 40
-#, c-format
-msgid ""
-"%s: Wrong value for input argument #%d: Must be in the interval [%s, %s].\n"
-msgstr ""
-
-#
 # File: macros/analpf.sci, line: 58
 # File: macros/cspect.sci, line: 33
 # File: macros/detrend.sci, line: 89
@@ -733,6 +725,13 @@ msgid ""
 msgstr ""
 
 #
+# File: macros/remezb.sci, line: 40
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: Must be in the interval [%s, %s].\n"
+msgstr ""
+
+#
 # File: macros/remezb.sci, line: 45
 # File: macros/remezb.sci, line: 48
 # File: macros/yulewalk.sci, line: 44
diff --git a/scilab/modules/signal_processing/macros/%asn.sci b/scilab/modules/signal_processing/macros/%asn.sci
deleted file mode 100644 (file)
index 065a5bd..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) INRIA - F.D
-//
-// This file must be used under the terms of the CeCILL.
-// This source file is licensed as described in the file COPYING, which
-// you should have received as part of this distribution.  The terms
-// are also available at
-// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
-
-function [y]=%asn(x,m)
-    //Calculates the elliptic integral:
-    //  y = integral from 0 to x of
-    //       [1/(((1-t*t)^(1/2))(1-m*t*t)^(1/2))]
-    //For vector arguments y is a vector
-    //  x :Upper limit of integral (x>0)
-    //  m :Parameter of integral (0<m<1)
-    //  y :Value of the integral
-    //
-    //!
-    warnobsolete("delip","5.5.1");
-    m=real(m);
-
-    if m<0|m>1 then
-        error(msprintf(gettext("%s: Wrong value for input argument #%d: Must be in the interval [%s, %s].\n"),"%%asn",2,"0","1"));
-    end
-
-    y=delip(x,sqrt(m));
-endfunction
index 25cb819..39ca8d5 100644 (file)
@@ -11,7 +11,6 @@
 // http://bugzilla.scilab.org/show_bug.cgi?id=6512
 //
 // <-- Short Description -->
-// %asn tagged as obsolete
 // Check that findm is still ok
 res = findm(1);
 assert_checktrue(%k(1-res)/%k(res)-1<1e-8);
index 3e57299..78c5a6b 100644 (file)
@@ -13,7 +13,6 @@
 // http://bugzilla.scilab.org/show_bug.cgi?id=6512
 //
 // <-- Short Description -->
-// %asn tagged as obsolete
 // Check that findm is still ok
 
 res = findm(1);
diff --git a/scilab/modules/special_functions/help/en_US/percentasn.xml b/scilab/modules/special_functions/help/en_US/percentasn.xml
deleted file mode 100644 (file)
index 98dc174..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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="percentasn">
-    <refnamediv>
-        <refname>%asn</refname>
-        <refpurpose>
-            elliptic integral. <emphasis role="bold">This function is obsolete.</emphasis>
-        </refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>Calling Sequence</title>
-        <synopsis>[y]=%asn(x,m)</synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>Arguments</title>
-        <variablelist>
-            <varlistentry>
-                <term>x</term>
-                <listitem>
-                    <para>
-                        upper limit of integral (<literal>x&gt;0</literal>) (can be a vector)
-                    </para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>m</term>
-                <listitem>
-                    <para>
-                        parameter of integral (<literal>0&lt;m&lt;1</literal>)
-                    </para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>y</term>
-                <listitem>
-                    <para>value of the integral</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>Description</title>
-        <para>
-            Calculates the elliptic integral
-        </para>
-        <para>
-            If <literal>x</literal> is a vector, <literal>y</literal> is a vector of same dimension as <literal>x</literal>.
-        </para>
-        <warning>This function is obsolete.</warning>
-        It is better to use <link linkend="delip">delip</link> instead of function <function>%asn</function>.
-    </refsection>
-    <refsection>
-        <title>Examples</title>
-        <programlisting role="example"><![CDATA[
-m=0.8;
-z=%asn(1/sqrt(m),m);
-K=real(z);
-Ktilde=imag(z);
-x2max=1/sqrt(m);
-x1=0:0.05:1;
-x2=1:((x2max-1)/20):x2max;
-x3=x2max:0.05:10;
-x=[x1,x2,x3];
-y=%asn(x,m);
-rect=[0,-Ktilde,1.1*K,2*Ktilde];
-plot2d(real(y)',imag(y)',1,'011',' ',rect)
-
-deff('y=f(t)','y=1/sqrt((1-t^2)*(1-m*t^2))');
-intg(0,0.9,f)-%asn(0.9,m)  //Works for real case only!
- ]]></programlisting>
-        <scilab:image>
-            warning("off")
-            m=0.8;
-            z=%asn(1/sqrt(m),m);
-            K=real(z);
-            Ktilde=imag(z);
-            x2max=1/sqrt(m);
-            x1=0:0.05:1;
-            x2=1:((x2max-1)/20):x2max;
-            x3=x2max:0.05:10;
-            x=[x1,x2,x3];
-            y=%asn(x,m);
-            rect=[0,-Ktilde,1.1*K,2*Ktilde];
-            plot2d(real(y)',imag(y)',1,'011',' ',rect)
-            warning("on")
-        </scilab:image>
-    </refsection>
-    <refsection role="see also">
-        <title>See Also</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="delip">delip</link>
-            </member>
-        </simplelist>
-    </refsection>
-    <refsection>
-        <title>History</title>
-        <revhistory>
-            <revision>
-                <revnumber>5.5.0</revnumber>
-                <revdescription>
-                    Function tagged as obsolete. Will be removed in 5.5.1. Please use <link linkend="delip">delip</link> instead.
-                </revdescription>
-            </revision>
-        </revhistory>
-    </refsection>
-</refentry>
diff --git a/scilab/modules/special_functions/help/ja_JP/percentasn.xml b/scilab/modules/special_functions/help/ja_JP/percentasn.xml
deleted file mode 100644 (file)
index e26c589..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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="percentasn">
-    <refnamediv>
-        <refname>%asn</refname>
-        <refpurpose>
-            楕円積分.
-            <emphasis role="bold">この関数は廃止されます.</emphasis>
-        </refpurpose>
-    </refnamediv>
-    <refsynopsisdiv>
-        <title>呼び出し手順</title>
-        <synopsis>[y]=%asn(x,m)</synopsis>
-    </refsynopsisdiv>
-    <refsection>
-        <title>パラメータ</title>
-        <variablelist>
-            <varlistentry>
-                <term>x</term>
-                <listitem>
-                    <para>
-                        積分の上限 (<literal>x&gt;0</literal>) (ベクトルにすることが可能)
-                    </para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>m</term>
-                <listitem>
-                    <para>
-                        積分のパラメータ (<literal>0&lt;m&lt;1</literal>)
-                    </para>
-                </listitem>
-            </varlistentry>
-            <varlistentry>
-                <term>y</term>
-                <listitem>
-                    <para>積分値</para>
-                </listitem>
-            </varlistentry>
-        </variablelist>
-    </refsection>
-    <refsection>
-        <title>説明</title>
-        <para>
-            楕円積分を計算します.
-        </para>
-        <para>
-            <literal>x</literal>がベクトルの場合, <literal>y</literal> は
-            <literal>x</literal>と同じ次元のベクトルとなります.
-        </para>
-        <warning>この関数は廃止されます.</warning>
-        <para>
-            関数 <function>%asn</function>の代わりに<link linkend="delip">delip</link>を使用する
-            方が良いでしょう.
-        </para>
-    </refsection>
-    <refsection>
-        <title>例</title>
-        <programlisting role="example"><![CDATA[ 
-m=0.8;
-z=%asn(1/sqrt(m),m);
-K=real(z);
-Ktilde=imag(z);
-x2max=1/sqrt(m);
-x1=0:0.05:1;
-x2=1:((x2max-1)/20):x2max;
-x3=x2max:0.05:10;
-x=[x1,x2,x3];
-y=%asn(x,m);
-rect=[0,-Ktilde,1.1*K,2*Ktilde];
-plot2d(real(y)',imag(y)',1,'011',' ',rect)
-deff('y=f(t)','y=1/sqrt((1-t^2)*(1-m*t^2))');
-intg(0,0.9,f)-%asn(0.9,m)  //実数の場合のみ動作します!
- ]]></programlisting>
-        <scilab:image>
-            warning("off")
-            m=0.8;
-            z=%asn(1/sqrt(m),m);
-            K=real(z);
-            Ktilde=imag(z);
-            x2max=1/sqrt(m);
-            x1=0:0.05:1;
-            x2=1:((x2max-1)/20):x2max;
-            x3=x2max:0.05:10;
-            x=[x1,x2,x3];
-            y=%asn(x,m);
-            rect=[0,-Ktilde,1.1*K,2*Ktilde];
-            plot2d(real(y)',imag(y)',1,'011',' ',rect)
-            warning("on")
-        </scilab:image>
-    </refsection>
-    <refsection role="see also">
-        <title>参照</title>
-        <simplelist type="inline">
-            <member>
-                <link linkend="delip">delip</link>
-            </member>
-        </simplelist>
-    </refsection>
-    <refsection>
-        <title>履歴</title>
-        <revhistory>
-            <revision>
-                <revnumber>5.5.0</revnumber>
-                <revdescription>
-                    関数が廃止対象となりました. 5.5.1で削除されます. 
-                    代わりに<link linkend="delip">delip</link>を使用してください.
-                </revdescription>
-            </revision>
-        </revhistory>
-    </refsection>
-</refentry>