* Add the documentation of the new special functions 55/10455/8
Sylvestre Ledru [Mon, 11 Feb 2013 16:33:12 +0000 (17:33 +0100)]
* Improvement of the existing help page
* Remove old mathml function
* Add unit tests
* SEP 90

Change-Id: I2fb9da518030452b98b36c37f653b738aec82d3e

227 files changed:
SEP/SEP_090_special_functions.odt [new file with mode: 0644]
scilab/Makefile.in
scilab/modules/helptools/images/Equation_LaTeX_10.png
scilab/modules/helptools/images/Equation_LaTeX_120.png
scilab/modules/helptools/images/Equation_LaTeX_121.png
scilab/modules/helptools/images/Equation_LaTeX_122.png
scilab/modules/helptools/images/Equation_LaTeX_123.png
scilab/modules/helptools/images/Equation_LaTeX_124.png
scilab/modules/helptools/images/Equation_LaTeX_125.png
scilab/modules/helptools/images/Equation_LaTeX_126.png
scilab/modules/helptools/images/Equation_LaTeX_127.png
scilab/modules/helptools/images/Equation_LaTeX_128.png
scilab/modules/helptools/images/Equation_LaTeX_129.png
scilab/modules/helptools/images/Equation_LaTeX_130.png
scilab/modules/helptools/images/Equation_LaTeX_131.png
scilab/modules/helptools/images/Equation_LaTeX_132.png
scilab/modules/helptools/images/Equation_LaTeX_133.png
scilab/modules/helptools/images/Equation_LaTeX_134.png
scilab/modules/helptools/images/Equation_LaTeX_135.png
scilab/modules/helptools/images/Equation_LaTeX_136.png
scilab/modules/helptools/images/Equation_LaTeX_137.png
scilab/modules/helptools/images/Equation_LaTeX_138.png
scilab/modules/helptools/images/Equation_LaTeX_139.png
scilab/modules/helptools/images/Equation_LaTeX_140.png
scilab/modules/helptools/images/Equation_LaTeX_141.png
scilab/modules/helptools/images/Equation_LaTeX_142.png
scilab/modules/helptools/images/Equation_LaTeX_143.png
scilab/modules/helptools/images/Equation_LaTeX_144.png
scilab/modules/helptools/images/Equation_LaTeX_145.png
scilab/modules/helptools/images/Equation_LaTeX_146.png
scilab/modules/helptools/images/Equation_LaTeX_147.png
scilab/modules/helptools/images/Equation_LaTeX_148.png
scilab/modules/helptools/images/Equation_LaTeX_149.png
scilab/modules/helptools/images/Equation_LaTeX_150.png
scilab/modules/helptools/images/Equation_LaTeX_151.png
scilab/modules/helptools/images/Equation_LaTeX_152.png
scilab/modules/helptools/images/Equation_LaTeX_153.png
scilab/modules/helptools/images/Equation_LaTeX_154.png
scilab/modules/helptools/images/Equation_LaTeX_155.png
scilab/modules/helptools/images/Equation_LaTeX_156.png
scilab/modules/helptools/images/Equation_LaTeX_157.png
scilab/modules/helptools/images/Equation_LaTeX_158.png
scilab/modules/helptools/images/Equation_LaTeX_159.png
scilab/modules/helptools/images/Equation_LaTeX_160.png
scilab/modules/helptools/images/Equation_LaTeX_161.png
scilab/modules/helptools/images/Equation_LaTeX_162.png
scilab/modules/helptools/images/Equation_LaTeX_163.png
scilab/modules/helptools/images/Equation_LaTeX_164.png
scilab/modules/helptools/images/Equation_LaTeX_165.png
scilab/modules/helptools/images/Equation_LaTeX_166.png
scilab/modules/helptools/images/Equation_LaTeX_167.png
scilab/modules/helptools/images/Equation_LaTeX_168.png
scilab/modules/helptools/images/Equation_LaTeX_170.png
scilab/modules/helptools/images/Equation_LaTeX_171.png
scilab/modules/helptools/images/Equation_LaTeX_172.png
scilab/modules/helptools/images/Equation_LaTeX_173.png
scilab/modules/helptools/images/Equation_LaTeX_175.png
scilab/modules/helptools/images/Equation_LaTeX_177.png
scilab/modules/helptools/images/Equation_LaTeX_178.png
scilab/modules/helptools/images/Equation_LaTeX_179.png
scilab/modules/helptools/images/Equation_LaTeX_180.png
scilab/modules/helptools/images/Equation_LaTeX_181.png
scilab/modules/helptools/images/Equation_LaTeX_182.png
scilab/modules/helptools/images/Equation_LaTeX_183.png
scilab/modules/helptools/images/Equation_LaTeX_184.png
scilab/modules/helptools/images/Equation_LaTeX_185.png
scilab/modules/helptools/images/Equation_LaTeX_186.png
scilab/modules/helptools/images/Equation_LaTeX_187.png
scilab/modules/helptools/images/Equation_LaTeX_188.png
scilab/modules/helptools/images/Equation_LaTeX_189.png
scilab/modules/helptools/images/Equation_LaTeX_190.png
scilab/modules/helptools/images/Equation_LaTeX_192.png
scilab/modules/helptools/images/Equation_LaTeX_193.png
scilab/modules/helptools/images/Equation_LaTeX_194.png
scilab/modules/helptools/images/Equation_LaTeX_197.png
scilab/modules/helptools/images/Equation_LaTeX_198.png
scilab/modules/helptools/images/Equation_LaTeX_199.png
scilab/modules/helptools/images/Equation_LaTeX_200.png
scilab/modules/helptools/images/Equation_LaTeX_201.png
scilab/modules/helptools/images/Equation_LaTeX_203.png
scilab/modules/helptools/images/Equation_LaTeX_204.png
scilab/modules/helptools/images/Equation_LaTeX_205.png
scilab/modules/helptools/images/Equation_LaTeX_206.png
scilab/modules/helptools/images/Equation_LaTeX_207.png
scilab/modules/helptools/images/Equation_LaTeX_209.png
scilab/modules/helptools/images/Equation_LaTeX_210.png
scilab/modules/helptools/images/Equation_LaTeX_211.png
scilab/modules/helptools/images/Equation_LaTeX_212.png
scilab/modules/helptools/images/Equation_LaTeX_213.png
scilab/modules/helptools/images/Equation_LaTeX_214.png
scilab/modules/helptools/images/Equation_LaTeX_216.png
scilab/modules/helptools/images/Equation_LaTeX_217.png
scilab/modules/helptools/images/Equation_LaTeX_218.png
scilab/modules/helptools/images/Equation_LaTeX_219.png
scilab/modules/helptools/images/Equation_LaTeX_220.png
scilab/modules/helptools/images/Equation_LaTeX_221.png
scilab/modules/helptools/images/Equation_LaTeX_222.png
scilab/modules/helptools/images/Equation_LaTeX_223.png
scilab/modules/helptools/images/Equation_LaTeX_224.png
scilab/modules/helptools/images/Equation_LaTeX_225.png
scilab/modules/helptools/images/Equation_LaTeX_226.png
scilab/modules/helptools/images/Equation_LaTeX_227.png
scilab/modules/helptools/images/Equation_LaTeX_228.png
scilab/modules/helptools/images/Equation_LaTeX_230.png
scilab/modules/helptools/images/Equation_LaTeX_231.png
scilab/modules/helptools/images/Equation_LaTeX_232.png
scilab/modules/helptools/images/Equation_LaTeX_233.png
scilab/modules/helptools/images/Equation_LaTeX_234.png
scilab/modules/helptools/images/Equation_LaTeX_235.png
scilab/modules/helptools/images/Equation_LaTeX_237.png
scilab/modules/helptools/images/Equation_LaTeX_238.png
scilab/modules/helptools/images/Equation_LaTeX_239.png
scilab/modules/helptools/images/Equation_LaTeX_240.png
scilab/modules/helptools/images/Equation_LaTeX_241.png
scilab/modules/helptools/images/Equation_LaTeX_242.png
scilab/modules/helptools/images/Equation_LaTeX_243.png
scilab/modules/helptools/images/Equation_LaTeX_244.png
scilab/modules/helptools/images/Equation_LaTeX_245.png
scilab/modules/helptools/images/Equation_LaTeX_246.png
scilab/modules/helptools/images/Equation_LaTeX_247.png
scilab/modules/helptools/images/Equation_LaTeX_248.png
scilab/modules/helptools/images/Equation_LaTeX_249.png
scilab/modules/helptools/images/Equation_LaTeX_250.png
scilab/modules/helptools/images/Equation_LaTeX_251.png
scilab/modules/helptools/images/Equation_LaTeX_252.png
scilab/modules/helptools/images/Equation_LaTeX_253.png
scilab/modules/helptools/images/Equation_LaTeX_254.png
scilab/modules/helptools/images/Equation_LaTeX_255.png
scilab/modules/helptools/images/Equation_LaTeX_256.png
scilab/modules/helptools/images/Equation_LaTeX_257.png
scilab/modules/helptools/images/Equation_LaTeX_258.png
scilab/modules/helptools/images/Equation_LaTeX_259.png
scilab/modules/helptools/images/Equation_LaTeX_260.png
scilab/modules/helptools/images/Equation_LaTeX_261.png
scilab/modules/helptools/images/Equation_LaTeX_262.png
scilab/modules/helptools/images/Equation_LaTeX_263.png
scilab/modules/helptools/images/Equation_LaTeX_264.png
scilab/modules/helptools/images/Equation_LaTeX_265.png
scilab/modules/helptools/images/Equation_LaTeX_266.png
scilab/modules/helptools/images/Equation_LaTeX_267.png
scilab/modules/helptools/images/Equation_LaTeX_268.png
scilab/modules/helptools/images/Equation_LaTeX_269.png
scilab/modules/helptools/images/Equation_LaTeX_270.png
scilab/modules/helptools/images/Equation_LaTeX_271.png
scilab/modules/helptools/images/Equation_LaTeX_272.png
scilab/modules/helptools/images/Equation_LaTeX_273.png
scilab/modules/helptools/images/Equation_LaTeX_274.png
scilab/modules/helptools/images/Equation_LaTeX_275.png
scilab/modules/helptools/images/Equation_LaTeX_276.png
scilab/modules/helptools/images/Equation_LaTeX_277.png
scilab/modules/helptools/images/Equation_LaTeX_278.png
scilab/modules/helptools/images/Equation_LaTeX_279.png
scilab/modules/helptools/images/Equation_LaTeX_280.png
scilab/modules/helptools/images/Equation_LaTeX_281.png
scilab/modules/helptools/images/Equation_LaTeX_282.png
scilab/modules/helptools/images/Equation_LaTeX_283.png
scilab/modules/helptools/images/Equation_LaTeX_284.png [new file with mode: 0644]
scilab/modules/helptools/images/Equation_LaTeX_285.png [new file with mode: 0644]
scilab/modules/helptools/images/Equation_LaTeX_286.png [new file with mode: 0644]
scilab/modules/helptools/images/Equation_LaTeX_287.png [new file with mode: 0644]
scilab/modules/helptools/images/Equation_LaTeX_288.png [new file with mode: 0644]
scilab/modules/helptools/images/Equation_LaTeX_289.png [new file with mode: 0644]
scilab/modules/helptools/images/Equation_LaTeX_4.png
scilab/modules/helptools/images/Equation_LaTeX_80.png
scilab/modules/helptools/images/Equation_LaTeX_82.png
scilab/modules/helptools/images/Equation_MathML_0.png
scilab/modules/helptools/images/Equation_MathML_1.png
scilab/modules/helptools/images/Equation_MathML_10.png
scilab/modules/helptools/images/Equation_MathML_11.png
scilab/modules/helptools/images/Equation_MathML_12.png
scilab/modules/helptools/images/Equation_MathML_13.png
scilab/modules/helptools/images/Equation_MathML_14.png
scilab/modules/helptools/images/Equation_MathML_15.png
scilab/modules/helptools/images/Equation_MathML_16.png
scilab/modules/helptools/images/Equation_MathML_17.png
scilab/modules/helptools/images/Equation_MathML_18.png
scilab/modules/helptools/images/Equation_MathML_19.png
scilab/modules/helptools/images/Equation_MathML_2.png
scilab/modules/helptools/images/Equation_MathML_20.png
scilab/modules/helptools/images/Equation_MathML_21.png
scilab/modules/helptools/images/Equation_MathML_22.png
scilab/modules/helptools/images/Equation_MathML_23.png
scilab/modules/helptools/images/Equation_MathML_24.png
scilab/modules/helptools/images/Equation_MathML_3.png
scilab/modules/helptools/images/Equation_MathML_4.png
scilab/modules/helptools/images/Equation_MathML_5.png
scilab/modules/helptools/images/Equation_MathML_6.png
scilab/modules/helptools/images/Equation_MathML_7.png
scilab/modules/helptools/images/Equation_MathML_8.png
scilab/modules/helptools/images/Equation_MathML_9.png
scilab/modules/helptools/images/Equation_MathML_ru_RU_6.png
scilab/modules/helptools/images/Equation_MathML_ru_RU_9.png
scilab/modules/helptools/images/nicholschart_1.png
scilab/modules/helptools/images/optim_sa_1.png
scilab/modules/scicos/Makefile.in
scilab/modules/signal_processing/help/en_US/transforms/dst.xml
scilab/modules/special_functions/help/en_US/calerf.xml
scilab/modules/special_functions/help/en_US/dawson.xml [new file with mode: 0644]
scilab/modules/special_functions/help/en_US/erf.xml
scilab/modules/special_functions/help/en_US/erfc.xml
scilab/modules/special_functions/help/en_US/erfcx.xml
scilab/modules/special_functions/help/en_US/erfi.xml [new file with mode: 0644]
scilab/modules/special_functions/help/en_US/erfinv.xml
scilab/modules/special_functions/help/fr_FR/erf.xml
scilab/modules/special_functions/help/fr_FR/erfc.xml
scilab/modules/special_functions/help/fr_FR/erfcx.xml
scilab/modules/special_functions/help/ja_JP/erf.xml
scilab/modules/special_functions/help/ja_JP/erfc.xml
scilab/modules/special_functions/help/ja_JP/erfcx.xml
scilab/modules/special_functions/help/mml/erf_equation1.mml [deleted file]
scilab/modules/special_functions/help/mml/erfc_equation1.mml [deleted file]
scilab/modules/special_functions/help/mml/erfcx_equation1.mml [deleted file]
scilab/modules/special_functions/macros/calerf.sci [moved from scilab/modules/elementary_functions/macros/calerf.sci with 100% similarity]
scilab/modules/special_functions/sci_gateway/cpp/sci_faddeeva.cpp
scilab/modules/special_functions/sci_gateway/cpp/sci_faddeeva.hxx
scilab/modules/special_functions/tests/unit_tests/calerf.dia.ref
scilab/modules/special_functions/tests/unit_tests/calerf.tst
scilab/modules/special_functions/tests/unit_tests/dawson.dia.ref [new file with mode: 0644]
scilab/modules/special_functions/tests/unit_tests/dawson.tst [new file with mode: 0644]
scilab/modules/special_functions/tests/unit_tests/erf.dia.ref
scilab/modules/special_functions/tests/unit_tests/erf.tst
scilab/modules/special_functions/tests/unit_tests/erfc.dia.ref [new file with mode: 0644]
scilab/modules/special_functions/tests/unit_tests/erfc.tst [new file with mode: 0644]
scilab/modules/special_functions/tests/unit_tests/erfcx.dia.ref [new file with mode: 0644]
scilab/modules/special_functions/tests/unit_tests/erfcx.tst [new file with mode: 0644]
scilab/modules/special_functions/tests/unit_tests/erfi.dia.ref [new file with mode: 0644]
scilab/modules/special_functions/tests/unit_tests/erfi.tst [new file with mode: 0644]

diff --git a/SEP/SEP_090_special_functions.odt b/SEP/SEP_090_special_functions.odt
new file mode 100644 (file)
index 0000000..78d0398
Binary files /dev/null and b/SEP/SEP_090_special_functions.odt differ
index 2c47006..e3fb44f 100644 (file)
@@ -87,7 +87,7 @@ bin_PROGRAMS = scilab-bin$(EXEEXT) scilab-cli-bin$(EXEEXT) \
 #  The user wants to compile the localization files
 @GENERATE_LOCALIZATION_FILES_TRUE@am__append_4 = localization
 @COMPILATION_TESTS_TRUE@am__append_5 = check-java
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
        $(srcdir)/Makefile.in $(srcdir)/scilab-lib-doc.properties.in \
        $(srcdir)/scilab-lib.properties.in $(srcdir)/scilab.pc.in \
        $(srcdir)/scilab.properties.in \
index 299e17c..b5f7327 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_10.png and b/scilab/modules/helptools/images/Equation_LaTeX_10.png differ
index 079e7d7..7723275 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_120.png and b/scilab/modules/helptools/images/Equation_LaTeX_120.png differ
index d095852..7c5e170 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_121.png and b/scilab/modules/helptools/images/Equation_LaTeX_121.png differ
index ed07d4a..9179eba 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_122.png and b/scilab/modules/helptools/images/Equation_LaTeX_122.png differ
index 72c8168..213c5ed 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_123.png and b/scilab/modules/helptools/images/Equation_LaTeX_123.png differ
index ea5c18c..5d17c3b 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_124.png and b/scilab/modules/helptools/images/Equation_LaTeX_124.png differ
index b3e0cf4..b83f016 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_125.png and b/scilab/modules/helptools/images/Equation_LaTeX_125.png differ
index ab2a5f6..079e7d7 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_126.png and b/scilab/modules/helptools/images/Equation_LaTeX_126.png differ
index 079445a..d095852 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_127.png and b/scilab/modules/helptools/images/Equation_LaTeX_127.png differ
index 84520f3..ed07d4a 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_128.png and b/scilab/modules/helptools/images/Equation_LaTeX_128.png differ
index ca2f219..72c8168 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_129.png and b/scilab/modules/helptools/images/Equation_LaTeX_129.png differ
index 7752ee2..ea5c18c 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_130.png and b/scilab/modules/helptools/images/Equation_LaTeX_130.png differ
index 5f38e7f..b3e0cf4 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_131.png and b/scilab/modules/helptools/images/Equation_LaTeX_131.png differ
index f23f44d..ab2a5f6 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_132.png and b/scilab/modules/helptools/images/Equation_LaTeX_132.png differ
index 27a2bf6..079445a 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_133.png and b/scilab/modules/helptools/images/Equation_LaTeX_133.png differ
index 4ef7550..7ee2d4a 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_134.png and b/scilab/modules/helptools/images/Equation_LaTeX_134.png differ
index 5f38e7f..557571e 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_135.png and b/scilab/modules/helptools/images/Equation_LaTeX_135.png differ
index d207309..478947b 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_136.png and b/scilab/modules/helptools/images/Equation_LaTeX_136.png differ
index 8f53cbd..28fd084 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_137.png and b/scilab/modules/helptools/images/Equation_LaTeX_137.png differ
index 4349d64..0674e0a 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_138.png and b/scilab/modules/helptools/images/Equation_LaTeX_138.png differ
index 2a06731..dea4463 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_139.png and b/scilab/modules/helptools/images/Equation_LaTeX_139.png differ
index 494a050..491dbd3 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_140.png and b/scilab/modules/helptools/images/Equation_LaTeX_140.png differ
index a368d9e..28fd084 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_141.png and b/scilab/modules/helptools/images/Equation_LaTeX_141.png differ
index d118325..623162f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_142.png and b/scilab/modules/helptools/images/Equation_LaTeX_142.png differ
index 55c3253..2e32f6a 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_143.png and b/scilab/modules/helptools/images/Equation_LaTeX_143.png differ
index 943c8dd..1bf2fe9 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_144.png and b/scilab/modules/helptools/images/Equation_LaTeX_144.png differ
index b6d1e07..de70c64 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_145.png and b/scilab/modules/helptools/images/Equation_LaTeX_145.png differ
index 56569eb..4875091 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_146.png and b/scilab/modules/helptools/images/Equation_LaTeX_146.png differ
index 3985ed0..db5d3c3 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_147.png and b/scilab/modules/helptools/images/Equation_LaTeX_147.png differ
index ae15127..d118325 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_148.png and b/scilab/modules/helptools/images/Equation_LaTeX_148.png differ
index 1413c2c..55c3253 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_149.png and b/scilab/modules/helptools/images/Equation_LaTeX_149.png differ
index 4cc07d0..943c8dd 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_150.png and b/scilab/modules/helptools/images/Equation_LaTeX_150.png differ
index cad3980..5e79459 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_151.png and b/scilab/modules/helptools/images/Equation_LaTeX_151.png differ
index c1fe7dc..56569eb 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_152.png and b/scilab/modules/helptools/images/Equation_LaTeX_152.png differ
index 61002e8..df519e9 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_153.png and b/scilab/modules/helptools/images/Equation_LaTeX_153.png differ
index 0a188c3..ae15127 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_154.png and b/scilab/modules/helptools/images/Equation_LaTeX_154.png differ
index 9473b91..1413c2c 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_155.png and b/scilab/modules/helptools/images/Equation_LaTeX_155.png differ
index 98b213b..4cc07d0 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_156.png and b/scilab/modules/helptools/images/Equation_LaTeX_156.png differ
index e1c64da..fcad425 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_157.png and b/scilab/modules/helptools/images/Equation_LaTeX_157.png differ
index 8739ca5..c1fe7dc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_158.png and b/scilab/modules/helptools/images/Equation_LaTeX_158.png differ
index e2b1720..f9db195 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_159.png and b/scilab/modules/helptools/images/Equation_LaTeX_159.png differ
index 763cf8f..d36a0be 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_160.png and b/scilab/modules/helptools/images/Equation_LaTeX_160.png differ
index 32917cd..9473b91 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_161.png and b/scilab/modules/helptools/images/Equation_LaTeX_161.png differ
index b33aee5..98b213b 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_162.png and b/scilab/modules/helptools/images/Equation_LaTeX_162.png differ
index f32b2fc..e1c64da 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_163.png and b/scilab/modules/helptools/images/Equation_LaTeX_163.png differ
index c2d4ea7..8739ca5 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_164.png and b/scilab/modules/helptools/images/Equation_LaTeX_164.png differ
index f9979ad..e2b1720 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_165.png and b/scilab/modules/helptools/images/Equation_LaTeX_165.png differ
index d0b33e8..763cf8f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_166.png and b/scilab/modules/helptools/images/Equation_LaTeX_166.png differ
index b33aee5..32917cd 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_167.png and b/scilab/modules/helptools/images/Equation_LaTeX_167.png differ
index 0aeff63..b33aee5 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_168.png and b/scilab/modules/helptools/images/Equation_LaTeX_168.png differ
index f32b2fc..c2d4ea7 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_170.png and b/scilab/modules/helptools/images/Equation_LaTeX_170.png differ
index 0aeff63..f9979ad 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_171.png and b/scilab/modules/helptools/images/Equation_LaTeX_171.png differ
index b33aee5..d0b33e8 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_172.png and b/scilab/modules/helptools/images/Equation_LaTeX_172.png differ
index 0aeff63..b33aee5 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_173.png and b/scilab/modules/helptools/images/Equation_LaTeX_173.png differ
index 0aeff63..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_175.png and b/scilab/modules/helptools/images/Equation_LaTeX_175.png differ
index c2d4ea7..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_177.png and b/scilab/modules/helptools/images/Equation_LaTeX_177.png differ
index c2d4ea7..b33aee5 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_178.png and b/scilab/modules/helptools/images/Equation_LaTeX_178.png differ
index f9979ad..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_179.png and b/scilab/modules/helptools/images/Equation_LaTeX_179.png differ
index d0b33e8..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_180.png and b/scilab/modules/helptools/images/Equation_LaTeX_180.png differ
index 1c4f7f2..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_181.png and b/scilab/modules/helptools/images/Equation_LaTeX_181.png differ
index e2b1720..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_182.png and b/scilab/modules/helptools/images/Equation_LaTeX_182.png differ
index 763cf8f..c2d4ea7 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_183.png and b/scilab/modules/helptools/images/Equation_LaTeX_183.png differ
index 32917cd..c2d4ea7 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_184.png and b/scilab/modules/helptools/images/Equation_LaTeX_184.png differ
index f32b2fc..f9979ad 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_185.png and b/scilab/modules/helptools/images/Equation_LaTeX_185.png differ
index c2d4ea7..d0b33e8 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_186.png and b/scilab/modules/helptools/images/Equation_LaTeX_186.png differ
index f9979ad..1c4f7f2 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_187.png and b/scilab/modules/helptools/images/Equation_LaTeX_187.png differ
index d0b33e8..e2b1720 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_188.png and b/scilab/modules/helptools/images/Equation_LaTeX_188.png differ
index 0aeff63..763cf8f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_189.png and b/scilab/modules/helptools/images/Equation_LaTeX_189.png differ
index f32b2fc..32917cd 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_190.png and b/scilab/modules/helptools/images/Equation_LaTeX_190.png differ
index 0aeff63..c2d4ea7 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_192.png and b/scilab/modules/helptools/images/Equation_LaTeX_192.png differ
index 0aeff63..f9979ad 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_193.png and b/scilab/modules/helptools/images/Equation_LaTeX_193.png differ
index 0aeff63..d0b33e8 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_194.png and b/scilab/modules/helptools/images/Equation_LaTeX_194.png differ
index 9473b91..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_197.png and b/scilab/modules/helptools/images/Equation_LaTeX_197.png differ
index 785e012..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_198.png and b/scilab/modules/helptools/images/Equation_LaTeX_198.png differ
index 4721695..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_199.png and b/scilab/modules/helptools/images/Equation_LaTeX_199.png differ
index 763cf8f..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_200.png and b/scilab/modules/helptools/images/Equation_LaTeX_200.png differ
index 32917cd..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_201.png and b/scilab/modules/helptools/images/Equation_LaTeX_201.png differ
index f32b2fc..9473b91 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_203.png and b/scilab/modules/helptools/images/Equation_LaTeX_203.png differ
index f9979ad..785e012 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_204.png and b/scilab/modules/helptools/images/Equation_LaTeX_204.png differ
index d0b33e8..4721695 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_205.png and b/scilab/modules/helptools/images/Equation_LaTeX_205.png differ
index f32b2fc..763cf8f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_206.png and b/scilab/modules/helptools/images/Equation_LaTeX_206.png differ
index 0aeff63..32917cd 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_207.png and b/scilab/modules/helptools/images/Equation_LaTeX_207.png differ
index 0aeff63..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_209.png and b/scilab/modules/helptools/images/Equation_LaTeX_209.png differ
index 0aeff63..f9979ad 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_210.png and b/scilab/modules/helptools/images/Equation_LaTeX_210.png differ
index f32b2fc..d0b33e8 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_211.png and b/scilab/modules/helptools/images/Equation_LaTeX_211.png differ
index 0aeff63..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_212.png and b/scilab/modules/helptools/images/Equation_LaTeX_212.png differ
index f32b2fc..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_213.png and b/scilab/modules/helptools/images/Equation_LaTeX_213.png differ
index 0aeff63..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_214.png and b/scilab/modules/helptools/images/Equation_LaTeX_214.png differ
index d0b33e8..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_216.png and b/scilab/modules/helptools/images/Equation_LaTeX_216.png differ
index f9979ad..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_217.png and b/scilab/modules/helptools/images/Equation_LaTeX_217.png differ
index bc3bfc5..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_218.png and b/scilab/modules/helptools/images/Equation_LaTeX_218.png differ
index 1dea00e..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_219.png and b/scilab/modules/helptools/images/Equation_LaTeX_219.png differ
index d2a8dcf..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_220.png and b/scilab/modules/helptools/images/Equation_LaTeX_220.png differ
index 763cf8f..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_221.png and b/scilab/modules/helptools/images/Equation_LaTeX_221.png differ
index 32917cd..d0b33e8 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_222.png and b/scilab/modules/helptools/images/Equation_LaTeX_222.png differ
index f32b2fc..f9979ad 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_223.png and b/scilab/modules/helptools/images/Equation_LaTeX_223.png differ
index f32b2fc..bc3bfc5 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_224.png and b/scilab/modules/helptools/images/Equation_LaTeX_224.png differ
index 0973557..1dea00e 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_225.png and b/scilab/modules/helptools/images/Equation_LaTeX_225.png differ
index 8868e7b..d2a8dcf 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_226.png and b/scilab/modules/helptools/images/Equation_LaTeX_226.png differ
index f32b2fc..763cf8f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_227.png and b/scilab/modules/helptools/images/Equation_LaTeX_227.png differ
index 0aeff63..32917cd 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_228.png and b/scilab/modules/helptools/images/Equation_LaTeX_228.png differ
index 0aeff63..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_230.png and b/scilab/modules/helptools/images/Equation_LaTeX_230.png differ
index 0aeff63..0973557 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_231.png and b/scilab/modules/helptools/images/Equation_LaTeX_231.png differ
index f32b2fc..8868e7b 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_232.png and b/scilab/modules/helptools/images/Equation_LaTeX_232.png differ
index 0aeff63..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_233.png and b/scilab/modules/helptools/images/Equation_LaTeX_233.png differ
index f32b2fc..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_234.png and b/scilab/modules/helptools/images/Equation_LaTeX_234.png differ
index 0aeff63..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_235.png and b/scilab/modules/helptools/images/Equation_LaTeX_235.png differ
index 330cf0f..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_237.png and b/scilab/modules/helptools/images/Equation_LaTeX_237.png differ
index 330cf0f..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_238.png and b/scilab/modules/helptools/images/Equation_LaTeX_238.png differ
index 06e3c75..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_239.png and b/scilab/modules/helptools/images/Equation_LaTeX_239.png differ
index 536c088..f32b2fc 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_240.png and b/scilab/modules/helptools/images/Equation_LaTeX_240.png differ
index e6e53b1..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_241.png and b/scilab/modules/helptools/images/Equation_LaTeX_241.png differ
index 8b3b42a..0aeff63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_242.png and b/scilab/modules/helptools/images/Equation_LaTeX_242.png differ
index ff922c8..330cf0f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_243.png and b/scilab/modules/helptools/images/Equation_LaTeX_243.png differ
index 8b3b42a..330cf0f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_244.png and b/scilab/modules/helptools/images/Equation_LaTeX_244.png differ
index 131a05f..06e3c75 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_245.png and b/scilab/modules/helptools/images/Equation_LaTeX_245.png differ
index 19f9126..536c088 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_246.png and b/scilab/modules/helptools/images/Equation_LaTeX_246.png differ
index cc31e50..1542e10 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_247.png and b/scilab/modules/helptools/images/Equation_LaTeX_247.png differ
index 1fd3ae6..8b3b42a 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_248.png and b/scilab/modules/helptools/images/Equation_LaTeX_248.png differ
index 1fd3ae6..ff922c8 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_249.png and b/scilab/modules/helptools/images/Equation_LaTeX_249.png differ
index 1fd3ae6..8b3b42a 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_250.png and b/scilab/modules/helptools/images/Equation_LaTeX_250.png differ
index 1fd3ae6..de178e5 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_251.png and b/scilab/modules/helptools/images/Equation_LaTeX_251.png differ
index 139915c..a6e6e3f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_252.png and b/scilab/modules/helptools/images/Equation_LaTeX_252.png differ
index b59277e..c37121a 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_253.png and b/scilab/modules/helptools/images/Equation_LaTeX_253.png differ
index 139915c..1fd3ae6 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_254.png and b/scilab/modules/helptools/images/Equation_LaTeX_254.png differ
index f3bc306..1fd3ae6 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_255.png and b/scilab/modules/helptools/images/Equation_LaTeX_255.png differ
index b59277e..1fd3ae6 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_256.png and b/scilab/modules/helptools/images/Equation_LaTeX_256.png differ
index f192ffa..1fd3ae6 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_257.png and b/scilab/modules/helptools/images/Equation_LaTeX_257.png differ
index f3bc306..139915c 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_258.png and b/scilab/modules/helptools/images/Equation_LaTeX_258.png differ
index 139915c..b59277e 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_259.png and b/scilab/modules/helptools/images/Equation_LaTeX_259.png differ
index b59277e..139915c 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_260.png and b/scilab/modules/helptools/images/Equation_LaTeX_260.png differ
index f192ffa..f3bc306 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_261.png and b/scilab/modules/helptools/images/Equation_LaTeX_261.png differ
index 139915c..b59277e 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_262.png and b/scilab/modules/helptools/images/Equation_LaTeX_262.png differ
index f3bc306..f192ffa 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_263.png and b/scilab/modules/helptools/images/Equation_LaTeX_263.png differ
index b59277e..f3bc306 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_264.png and b/scilab/modules/helptools/images/Equation_LaTeX_264.png differ
index f192ffa..139915c 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_265.png and b/scilab/modules/helptools/images/Equation_LaTeX_265.png differ
index 422d957..b59277e 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_266.png and b/scilab/modules/helptools/images/Equation_LaTeX_266.png differ
index c2cdad8..f192ffa 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_267.png and b/scilab/modules/helptools/images/Equation_LaTeX_267.png differ
index c2cdad8..139915c 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_268.png and b/scilab/modules/helptools/images/Equation_LaTeX_268.png differ
index 30dfcde..f3bc306 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_269.png and b/scilab/modules/helptools/images/Equation_LaTeX_269.png differ
index f972b8d..b59277e 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_270.png and b/scilab/modules/helptools/images/Equation_LaTeX_270.png differ
index 0c2117e..f192ffa 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_271.png and b/scilab/modules/helptools/images/Equation_LaTeX_271.png differ
index b6dd4ba..422d957 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_272.png and b/scilab/modules/helptools/images/Equation_LaTeX_272.png differ
index be14009..47c6ee1 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_273.png and b/scilab/modules/helptools/images/Equation_LaTeX_273.png differ
index c2cdad8..47c6ee1 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_274.png and b/scilab/modules/helptools/images/Equation_LaTeX_274.png differ
index c2cdad8..3ae80de 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_275.png and b/scilab/modules/helptools/images/Equation_LaTeX_275.png differ
index c2cdad8..f972b8d 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_276.png and b/scilab/modules/helptools/images/Equation_LaTeX_276.png differ
index dc9568c..0c2117e 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_277.png and b/scilab/modules/helptools/images/Equation_LaTeX_277.png differ
index 887a446..b6dd4ba 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_278.png and b/scilab/modules/helptools/images/Equation_LaTeX_278.png differ
index 0ce343e..be14009 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_279.png and b/scilab/modules/helptools/images/Equation_LaTeX_279.png differ
index 995e86d..47c6ee1 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_280.png and b/scilab/modules/helptools/images/Equation_LaTeX_280.png differ
index 711a821..47c6ee1 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_281.png and b/scilab/modules/helptools/images/Equation_LaTeX_281.png differ
index b841386..47c6ee1 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_282.png and b/scilab/modules/helptools/images/Equation_LaTeX_282.png differ
index a955390..6b740ee 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_283.png and b/scilab/modules/helptools/images/Equation_LaTeX_283.png differ
diff --git a/scilab/modules/helptools/images/Equation_LaTeX_284.png b/scilab/modules/helptools/images/Equation_LaTeX_284.png
new file mode 100644 (file)
index 0000000..ea2f08c
Binary files /dev/null and b/scilab/modules/helptools/images/Equation_LaTeX_284.png differ
diff --git a/scilab/modules/helptools/images/Equation_LaTeX_285.png b/scilab/modules/helptools/images/Equation_LaTeX_285.png
new file mode 100644 (file)
index 0000000..0ce343e
Binary files /dev/null and b/scilab/modules/helptools/images/Equation_LaTeX_285.png differ
diff --git a/scilab/modules/helptools/images/Equation_LaTeX_286.png b/scilab/modules/helptools/images/Equation_LaTeX_286.png
new file mode 100644 (file)
index 0000000..995e86d
Binary files /dev/null and b/scilab/modules/helptools/images/Equation_LaTeX_286.png differ
diff --git a/scilab/modules/helptools/images/Equation_LaTeX_287.png b/scilab/modules/helptools/images/Equation_LaTeX_287.png
new file mode 100644 (file)
index 0000000..711a821
Binary files /dev/null and b/scilab/modules/helptools/images/Equation_LaTeX_287.png differ
diff --git a/scilab/modules/helptools/images/Equation_LaTeX_288.png b/scilab/modules/helptools/images/Equation_LaTeX_288.png
new file mode 100644 (file)
index 0000000..bad1ec4
Binary files /dev/null and b/scilab/modules/helptools/images/Equation_LaTeX_288.png differ
diff --git a/scilab/modules/helptools/images/Equation_LaTeX_289.png b/scilab/modules/helptools/images/Equation_LaTeX_289.png
new file mode 100644 (file)
index 0000000..f02f75a
Binary files /dev/null and b/scilab/modules/helptools/images/Equation_LaTeX_289.png differ
index 3e1cde8..0f4e849 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_4.png and b/scilab/modules/helptools/images/Equation_LaTeX_4.png differ
index 8659b88..30fbf1e 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_80.png and b/scilab/modules/helptools/images/Equation_LaTeX_80.png differ
index 41a9da8..bc8231b 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_LaTeX_82.png and b/scilab/modules/helptools/images/Equation_LaTeX_82.png differ
index 31adf9e..e703956 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_0.png and b/scilab/modules/helptools/images/Equation_MathML_0.png differ
index 31adf9e..e703956 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_1.png and b/scilab/modules/helptools/images/Equation_MathML_1.png differ
index 3a4dbcd..04eab3f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_10.png and b/scilab/modules/helptools/images/Equation_MathML_10.png differ
index ae0538d..0af6e0b 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_11.png and b/scilab/modules/helptools/images/Equation_MathML_11.png differ
index f8b96c6..4ccf93c 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_12.png and b/scilab/modules/helptools/images/Equation_MathML_12.png differ
index 987846f..2e7264f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_13.png and b/scilab/modules/helptools/images/Equation_MathML_13.png differ
index fe69034..1cf26df 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_14.png and b/scilab/modules/helptools/images/Equation_MathML_14.png differ
index 626494b..e3c782c 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_15.png and b/scilab/modules/helptools/images/Equation_MathML_15.png differ
index 23a369f..7e9541b 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_16.png and b/scilab/modules/helptools/images/Equation_MathML_16.png differ
index 8b53702..2ae69a5 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_17.png and b/scilab/modules/helptools/images/Equation_MathML_17.png differ
index 78205b9..0a92b93 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_18.png and b/scilab/modules/helptools/images/Equation_MathML_18.png differ
index d7b78c0..9be0381 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_19.png and b/scilab/modules/helptools/images/Equation_MathML_19.png differ
index 160535a..0f3639f 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_2.png and b/scilab/modules/helptools/images/Equation_MathML_2.png differ
index 58aa868..7faffa2 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_20.png and b/scilab/modules/helptools/images/Equation_MathML_20.png differ
index 7db6f8d..bd0ea4e 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_21.png and b/scilab/modules/helptools/images/Equation_MathML_21.png differ
index 5e97562..fab0529 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_22.png and b/scilab/modules/helptools/images/Equation_MathML_22.png differ
index 5e97562..fab0529 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_23.png and b/scilab/modules/helptools/images/Equation_MathML_23.png differ
index 33136bd..02e2fbb 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_24.png and b/scilab/modules/helptools/images/Equation_MathML_24.png differ
index 5b539e8..9d4b92d 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_3.png and b/scilab/modules/helptools/images/Equation_MathML_3.png differ
index 50fabce..742dbd7 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_4.png and b/scilab/modules/helptools/images/Equation_MathML_4.png differ
index 137dc8c..f24bb63 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_5.png and b/scilab/modules/helptools/images/Equation_MathML_5.png differ
index f1ec599..1e12a16 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_6.png and b/scilab/modules/helptools/images/Equation_MathML_6.png differ
index 27ad475..226fe74 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_7.png and b/scilab/modules/helptools/images/Equation_MathML_7.png differ
index 8f290e5..4745b74 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_8.png and b/scilab/modules/helptools/images/Equation_MathML_8.png differ
index 09768e3..041397d 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_9.png and b/scilab/modules/helptools/images/Equation_MathML_9.png differ
index 6d07141..2f634ce 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_ru_RU_6.png and b/scilab/modules/helptools/images/Equation_MathML_ru_RU_6.png differ
index 16c276a..f1ebe8d 100644 (file)
Binary files a/scilab/modules/helptools/images/Equation_MathML_ru_RU_9.png and b/scilab/modules/helptools/images/Equation_MathML_ru_RU_9.png differ
index 99f9071..d00625a 100644 (file)
Binary files a/scilab/modules/helptools/images/nicholschart_1.png and b/scilab/modules/helptools/images/nicholschart_1.png differ
index 5a93d9a..94284cd 100644 (file)
Binary files a/scilab/modules/helptools/images/optim_sa_1.png and b/scilab/modules/helptools/images/optim_sa_1.png differ
index b071c63..caf65b4 100644 (file)
@@ -96,9 +96,7 @@ build_triplet = @build@
 host_triplet = @host@
 DIST_COMMON = $(am__libsciscicos_la_include_HEADERS_DIST) \
        $(srcdir)/.depend $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-       $(srcdir)/Makefile.modelica.am $(top_srcdir)/Makefile.incl.am \
-       $(top_srcdir)/config/depcomp \
-       $(top_srcdir)/config/mkinstalldirs
+       $(srcdir)/Makefile.modelica.am $(top_srcdir)/Makefile.incl.am
 @NEED_JAVA_TRUE@am__append_1 = java
 @OCAML_TRUE@@XCOS_TRUE@bin_PROGRAMS = $(am__EXEEXT_1)
 
index 2b14270..948d771 100644 (file)
     <refsection>
         <title>Algorithms</title>
         <para>
-            This function uses the  <ulink url="http://www.fftw.org/">fftw3</ulink> library.
+            This function is based on the <ulink url="http://www.fftw.org/">fftw3</ulink> library.
         </para>
     </refsection>
     <refsection role="see also">
index a2fa581..4bc8eff 100644 (file)
@@ -61,6 +61,12 @@ calerf(1,0)
 2/sqrt(%pi)*intg(0,1,f)
  ]]></programlisting>
     </refsection>
+    <refsection>
+        <title>Algorithms</title>
+        <para>
+            This function is based on the <ulink url="http://ab-initio.mit.edu/Faddeeva">Faddeeva package</ulink> library.
+        </para>
+    </refsection>
     <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
@@ -75,4 +81,13 @@ calerf(1,0)
             </member>
         </simplelist>
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revremark>The calerf function is based on the fadddeeva package</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
diff --git a/scilab/modules/special_functions/help/en_US/dawson.xml b/scilab/modules/special_functions/help/en_US/dawson.xml
new file mode 100644 (file)
index 0000000..fb1a821
--- /dev/null
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ * 
+ * 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-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="dawson" xml:lang="en">
+    <refnamediv>
+        <refname>dawson</refname>
+        <refpurpose>Compute the Dawson (scaled imaginary error) function.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>y = dawson(x)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>x</term>
+                <listitem>
+                    <para>vector or matrix</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>y</term>
+                <listitem>
+                    <para>vector or matrix (of same size than x)</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            <literal>dawson</literal> computes scaled imaginary error function
+            function:
+        </para>
+        <para>
+            <latex>
+                \mathrm{Dawson}(z) = \frac{\sqrt{\pi}}{2} e^{-z^2} \mathrm{erfi}(z)
+            </latex>
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+x = [0.1, 1, 1+2*%i,-1+2*%i,1e-4+2e-4*%i,0+2*%i];
+dawson(x)
+dawson(-x)
+ ]]></programlisting>
+    </refsection>
+    <refsection>
+        <title>Algorithms</title>
+        <para>
+            This function is based on the <ulink url="http://ab-initio.mit.edu/Faddeeva">Faddeeva package</ulink> library.
+        </para>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="erf">erf</link>
+            </member>
+            <member>
+                <link linkend="erfc">erfc</link>
+            </member>
+            <member>
+                <link linkend="calerf">calerf</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revremark>Function dawson introduced</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
index 69673e6..d4d3580 100644 (file)
@@ -2,11 +2,11 @@
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA
- * 
+ *
  * 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    
+ * are also available at
  * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
  *
  -->
             <varlistentry>
                 <term>x</term>
                 <listitem>
-                    <para>real vector or matrix</para>
+                    <para>vector or matrix</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>y</term>
                 <listitem>
-                    <para>real vector or matrix (of same size than x)</para>
+                    <para>vector or matrix (of same size than x)</para>
                 </listitem>
             </varlistentry>
         </variablelist>
         <title>Description</title>
         <para>
             <literal>erf</literal> computes the error function:
+            <latex>
+                \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} dt
+            </latex>
         </para>
-        <informalequation>
-            <mediaobject>
-                <imageobject>
-                    <imagedata align="center" fileref="../mml/erf_equation1.mml"/>
-                </imageobject>
-            </mediaobject>
-        </informalequation>
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 deff('y=f(t)','y=exp(-t^2)');
 erf(0.5)-2/sqrt(%pi)*intg(0,0.5,f)
+
+x = [1+2*%i, -1+2*%i, 1e-6+2e-6*%i,0+2*%i];
+a=erf(x)
+
+// Equivalent to
+1-erfc(x)
 ]]></programlisting>
     </refsection>
+    <refsection>
+        <title>Algorithms</title>
+        <para>
+            This function is based on the <ulink url="http://ab-initio.mit.edu/Faddeeva">Faddeeva package</ulink> library.
+        </para>
+    </refsection>
     <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
@@ -76,4 +84,13 @@ erf(0.5)-2/sqrt(%pi)*intg(0,0.5,f)
             </member>
         </simplelist>
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revremark>Function erf supports complex arguments</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index 1f584a8..4ca4a3f 100644 (file)
             <varlistentry>
                 <term>x</term>
                 <listitem>
-                    <para>real vector or matrix</para>
+                    <para>vector or matrix</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>y</term>
                 <listitem>
-                    <para>real vector or matrix (of same size than x)</para>
+                    <para>vector or matrix (of same size than x)</para>
                 </listitem>
             </varlistentry>
         </variablelist>
     <refsection>
         <title>Description</title>
         <para>
-            <literal>erfc</literal> computes the complementary error
-            function:
+            Compute the complementary error function of x, defined by: <latex>1- \operatorname{erf}(x)</latex>
         </para>
-        <informalequation>
-            <mediaobject>
-                <imageobject>
-                    <imagedata align="center" fileref="../mml/erfc_equation1.mml"/>
-                </imageobject>
-            </mediaobject>
-        </informalequation>
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 erf([0.5,0.2])+erfc([0.5,0.2])
+
+x = [1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
+erfc(x)
+
  ]]></programlisting>
     </refsection>
+    <refsection>
+        <title>Algorithms</title>
+        <para>
+            This function is based on the <ulink url="http://ab-initio.mit.edu/Faddeeva">Faddeeva package</ulink> library.
+        </para>
+    </refsection>
     <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
@@ -70,4 +72,13 @@ erf([0.5,0.2])+erfc([0.5,0.2])
             </member>
         </simplelist>
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revremark>Function erfc supports complex arguments</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index b43c9ed..aec1472 100644 (file)
             <varlistentry>
                 <term>x</term>
                 <listitem>
-                    <para>real vector or matrix</para>
+                    <para>vector or matrix</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>y</term>
                 <listitem>
-                    <para>real vector or matrix (of same size than x)</para>
+                    <para>vector or matrix (of same size than x)</para>
                 </listitem>
             </varlistentry>
         </variablelist>
     <refsection>
         <title>Description</title>
         <para>
-            <literal>erfcx</literal> computes the scaled complementary error
-            function:
+            Compute the scaled complementary error function of x, defined by <latex>e^{x^2} \operatorname{erfc}(x)</latex>. Note also that <latex>\operatorname{erfcx}(-ix)</latex> computes the Faddeeva function w(x).
+            
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+x = [1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
+erfcx(x)
+// Equivalent to
+exp (x.^2) .* erfc(x)
+ ]]></programlisting>
+    </refsection>
+    <refsection>
+        <title>Algorithms</title>
+        <para>
+            This function is based on the <ulink url="http://ab-initio.mit.edu/Faddeeva">Faddeeva package</ulink> library.
         </para>
-        <informalequation>
-            <mediaobject>
-                <imageobject>
-                    <imagedata align="center" fileref="../mml/erfcx_equation1.mml"/>
-                </imageobject>
-            </mediaobject>
-        </informalequation>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
diff --git a/scilab/modules/special_functions/help/en_US/erfi.xml b/scilab/modules/special_functions/help/en_US/erfi.xml
new file mode 100644 (file)
index 0000000..463a3e1
--- /dev/null
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA
+ * 
+ * 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-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="erfi" xml:lang="en">
+    <refnamediv>
+        <refname>erfi</refname>
+        <refpurpose>The imaginary error function.</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>y = erfi(z)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>z</term>
+                <listitem>
+                    <para>vector or matrix</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>y</term>
+                <listitem>
+                    <para>vector or matrix (of same size than x)</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            <literal>erfi</literal> computes the imaginary error function of x, defined by <latex>-i \operatorname{erf}(ix)</latex>
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+erfi(1.234)
+
+x = [-0.1, 0.1, 1, 1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
+erfi(x)
+// equivalent to
+-%i * erf(%i*x)
+ ]]></programlisting>
+    </refsection>
+    <refsection>
+        <title>Algorithms</title>
+        <para>
+            This function is based on the <ulink url="http://ab-initio.mit.edu/Faddeeva">Faddeeva package</ulink> library.
+        </para>
+    </refsection>
+    <refsection role="see also">
+        <title>See Also</title>
+        <simplelist type="inline">
+            <member>
+                <link linkend="erf">erf</link>
+            </member>
+            <member>
+                <link linkend="erfcx">erfcx</link>
+            </member>
+            <member>
+                <link linkend="erfc">erfc</link>
+            </member>
+            <member>
+                <link linkend="calerf">calerf</link>
+            </member>
+        </simplelist>
+    </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revremark>Function erfi supports complex arguments</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
+</refentry>
index 592e432..892e920 100644 (file)
             <varlistentry>
                 <term>x</term>
                 <listitem>
-                    <para>real vector or matrix</para>
+                    <para>vector or matrix</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>y</term>
                 <listitem>
-                    <para>real vector or matrix (same size as x)</para>
+                    <para>vector or matrix (same size as x)</para>
                 </listitem>
             </varlistentry>
         </variablelist>
@@ -50,7 +50,7 @@
     </refsection>
     <refsection>
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 x = linspace(-0.99, 0.99, 100);
 y = erfinv(x);
 plot2d(x, y)
index aa5005d..7b93266 100644 (file)
             <varlistentry>
                 <term>x</term>
                 <listitem>
-                    <para>vecteur réel</para>
+                    <para>vecteur</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>y</term>
                 <listitem>
-                    <para>vecteur réel (de même taille que x)</para>
+                    <para>vecteur (de même taille que x)</para>
                 </listitem>
             </varlistentry>
         </variablelist>
         <title>Description</title>
         <para>
             <literal>erf</literal>calcule la fonction erreur :
+            <latex>
+                \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} dt
+            </latex>
         </para>
-        <informalequation>
-            <mediaobject>
-                <imageobject>
-                    <imagedata align="center" fileref="../mml/erf_equation1.mml"/>
-                </imageobject>
-            </mediaobject>
-        </informalequation>
     </refsection>
     <refsection>
         <title>Exemples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 deff('y=f(t)','y=exp(-t^2)');
 erf(0.5)-2/sqrt(%pi)*intg(0,0.5,f)
+
+x = [1+2*%i, -1+2*%i, 1e-6+2e-6*%i,0+2*%i];
+a=erf(x)
+
+// Equivalent à
+1-erfc(x)
 ]]></programlisting>
     </refsection>
+    
+    <refsection>
+        <title>Algorithmes</title>
+        <para>
+            Cette fonction est basée sur la bibliothèque <ulink url="http://ab-initio.mit.edu/Faddeeva">Faddeeva</ulink>.
+        </para>
+    </refsection>
+    
     <refsection role="see also">
         <title>Voir aussi</title>
         <simplelist type="inline">
@@ -65,4 +75,14 @@ erf(0.5)-2/sqrt(%pi)*intg(0,0.5,f)
             </member>
         </simplelist>
     </refsection>
+    
+    <refsection>
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revremark>La fonction erf supporte les arguments complexes.</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index dccdd9e..ac19278 100644 (file)
             <varlistentry>
                 <term>x</term>
                 <listitem>
-                    <para>vecteur réel</para>
+                    <para>vecteur</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>y</term>
                 <listitem>
-                    <para>vecteur réel (de même taille que x)</para>
+                    <para>vecteur (de même taille que x)</para>
                 </listitem>
             </varlistentry>
         </variablelist>
         <title>Description</title>
         <para>
             <literal>erfc</literal> calcule la fonction erreur
-            complémentaire.
+            complémentaire définie par : <latex>1- \operatorname{erf}(x)</latex>
         </para>
-        <informalequation>
-            <mediaobject>
-                <imageobject>
-                    <imagedata align="center" fileref="../mml/erfc_equation1.mml"/>
-                </imageobject>
-            </mediaobject>
-        </informalequation>
     </refsection>
     <refsection>
         <title>Exemples</title>
         <programlisting role="example"><![CDATA[ 
 erf([0.5,0.2])+erfc([0.5,0.2])
+
+x = [1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
+erfc(x)
  ]]></programlisting>
     </refsection>
+    
+    <refsection>
+        <title>Algorithmes</title>
+        <para>
+            Cette fonction est basée sur la bibliothèque <ulink url="http://ab-initio.mit.edu/Faddeeva">Faddeeva</ulink>.
+        </para>
+    </refsection>
     <refsection role="see also">
         <title>Voir aussi</title>
         <simplelist type="inline">
@@ -59,4 +62,13 @@ erf([0.5,0.2])+erfc([0.5,0.2])
             </member>
         </simplelist>
     </refsection>
+    <refsection>
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revremark>La fonction erfc supporte les arguments complexes.</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index ef78534..f138774 100644 (file)
             <varlistentry>
                 <term>x</term>
                 <listitem>
-                    <para>vecteur réel</para>
+                    <para>vecteur</para>
                 </listitem>
             </varlistentry>
             <varlistentry>
                 <term>y</term>
                 <listitem>
-                    <para>vecteur réel (de même taille que x)</para>
+                    <para>vecteur (de même taille que x)</para>
                 </listitem>
             </varlistentry>
         </variablelist>
         <title>Description</title>
         <para>
             <literal>erfcx</literal> calcule la fonction erreur complémentaire
-            normalisée.
+            normalisée définie par <latex>e^{x^2} \operatorname{erfc}(x)</latex>.  <latex>\operatorname{erfcx}(-ix)</latex> calcul aussi la fonction Faddeeva w(x).
+        </para>
+    </refsection>
+    <refsection>
+        <title>Exemples</title>
+        <programlisting role="example"><![CDATA[
+x = [1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
+erfcx(x)
+// Equivalent à
+exp (x.^2) .* erfc(x)
+ ]]></programlisting>
+    </refsection>
+    
+    <refsection>
+        <title>Algorithmes</title>
+        <para>
+            Cette fonction est basée sur la bibliothèque <ulink url="http://ab-initio.mit.edu/Faddeeva">Faddeeva</ulink>.
         </para>
-        <informalequation>
-            <mediaobject>
-                <imageobject>
-                    <imagedata align="center" fileref="../mml/erfcx_equation1.mml"/>
-                </imageobject>
-            </mediaobject>
-        </informalequation>
     </refsection>
     <refsection role="see also">
         <title>Voir aussi</title>
             </member>
         </simplelist>
     </refsection>
+    
+    <refsection>
+        <title>Historique</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.5.0</revnumber>
+                <revremark>La fonction erfc supporte les arguments complexes.</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>
index d1b95c3..3fdb2c3 100644 (file)
     <refsection>
         <title>説明</title>
         <para>
-            <literal>erf</literal> は誤差関数を計算します:
+            <literal>erf</literal> は誤差関数を計算します:  <latex>
+                \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} dt
+            </latex>
         </para>
-        <informalequation>
-            <mediaobject>
-                <imageobject>
-                    <imagedata align="center" fileref="../mml/erf_equation1.mml"/>
-                </imageobject>
-            </mediaobject>
-        </informalequation>
     </refsection>
     <refsection>
         <title>例</title>
         <programlisting role="example"><![CDATA[ 
 deff('y=f(t)','y=exp(-t^2)');
 erf(0.5)-2/sqrt(%pi)*intg(0,0.5,f)
+
+
+x = [1+2*%i, -1+2*%i, 1e-6+2e-6*%i,0+2*%i];
+a=erf(x)
+
+1-erfc(x)
 ]]></programlisting>
     </refsection>
     <refsection role="see also">
index 340f74a..2cf47e8 100644 (file)
     <refsection>
         <title>説明</title>
         <para>
-            <literal>erfc</literal> は相補誤差関数を計算します:
+            <literal>erfc</literal> は相補誤差関数を計算します: <latex>1- \operatorname{erf}(x)</latex>
         </para>
-        <informalequation>
-            <mediaobject>
-                <imageobject>
-                    <imagedata align="center" fileref="../mml/erfc_equation1.mml"/>
-                </imageobject>
-            </mediaobject>
-        </informalequation>
     </refsection>
     <refsection>
         <title>例</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 erf([0.5,0.2])+erfc([0.5,0.2])
+
+x = [1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
+erfc(x)
  ]]></programlisting>
     </refsection>
     <refsection role="see also">
index e9f11a7..e4e09ae 100644 (file)
     <refsection>
         <title>説明</title>
         <para>
-            <literal>erfcx</literal> はスケーリング付き相互関数を計算します:
+            <literal>erfcx</literal> はスケーリング付き相互関数を計算します:<latex>e^{x^2} \operatorname{erfc}(x)</latex>
         </para>
-        <informalequation>
-            <mediaobject>
-                <imageobject>
-                    <imagedata align="center" fileref="../mml/erfcx_equation1.mml"/>
-                </imageobject>
-            </mediaobject>
-        </informalequation>
     </refsection>
+    
+    <refsection>
+        <title>例</title>
+        <programlisting role="example"><![CDATA[
+x = [1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
+erfcx(x)
+// ==
+exp (x.^2) .* erfc(x)
+ ]]></programlisting>
+    </refsection>
+    
     <refsection role="see also">
         <title>参照</title>
         <simplelist type="inline">
diff --git a/scilab/modules/special_functions/help/mml/erf_equation1.mml b/scilab/modules/special_functions/help/mml/erf_equation1.mml
deleted file mode 100644 (file)
index 79a481f..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE math:math PUBLIC "-//OpenOffice.org//DTD Modified W3C MathML 1.01//EN" "math.dtd">
-<math:math xmlns:math="http://www.w3.org/1998/Math/MathML">
- <math:semantics>
-  <math:mrow>
-   <math:mi>y</math:mi>
-   <math:mo math:stretchy="false">=</math:mo>
-   <math:mrow>
-    <math:mrow>
-     <math:mfrac>
-      <math:mn>2</math:mn>
-      <math:msqrt>
-       <math:mrow>
-        <math:mo math:stretchy="false">(</math:mo>
-        <math:mo math:stretchy="false">π</math:mo>
-        <math:mo math:stretchy="false">)</math:mo>
-       </math:mrow>
-      </math:msqrt>
-     </math:mfrac>
-     <math:mo math:stretchy="false">⋅</math:mo>
-     <math:mrow>
-      <math:munderover>
-       <math:mo math:stretchy="false">∫</math:mo>
-       <math:mn>0</math:mn>
-       <math:mi>x</math:mi>
-      </math:munderover>
-      <math:msup>
-       <math:mi>e</math:mi>
-       <math:mrow>
-        <math:mo math:stretchy="false">−</math:mo>
-        <math:msup>
-         <math:mi>t</math:mi>
-         <math:mn>2</math:mn>
-        </math:msup>
-       </math:mrow>
-      </math:msup>
-     </math:mrow>
-    </math:mrow>
-    <math:mo math:stretchy="false">⋅</math:mo>
-    <math:mi math:fontstyle="italic">dt</math:mi>
-   </math:mrow>
-  </math:mrow>
-  <math:annotation math:encoding="StarMath 5.0">y = {2 over sqrt(%pi)} cdot int from 0 to x e^{-t^2} cdot dt</math:annotation>
- </math:semantics>
-</math:math>
\ No newline at end of file
diff --git a/scilab/modules/special_functions/help/mml/erfc_equation1.mml b/scilab/modules/special_functions/help/mml/erfc_equation1.mml
deleted file mode 100644 (file)
index 75c0451..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE math:math PUBLIC "-//OpenOffice.org//DTD Modified W3C MathML 1.01//EN" "math.dtd">
-<math:math xmlns:math="http://www.w3.org/1998/Math/MathML">
- <math:semantics>
-  <math:mrow>
-   <math:mtable>
-    <math:mtr>
-     <math:mrow>
-      <math:mrow>
-       <math:mi>y</math:mi>
-       <math:mo math:stretchy="false">=</math:mo>
-       <math:mfrac>
-        <math:mn>2</math:mn>
-        <math:msqrt>
-         <math:mrow>
-          <math:mo math:stretchy="false">(</math:mo>
-          <math:mo math:stretchy="false">π</math:mo>
-          <math:mo math:stretchy="false">)</math:mo>
-         </math:mrow>
-        </math:msqrt>
-       </math:mfrac>
-      </math:mrow>
-      <math:mrow>
-       <math:mrow>
-        <math:munderover>
-         <math:mo math:stretchy="false">∫</math:mo>
-         <math:mi>x</math:mi>
-         <math:mrow>
-          <math:mo math:stretchy="false">+</math:mo>
-          <math:mo math:stretchy="false">∞</math:mo>
-         </math:mrow>
-        </math:munderover>
-        <math:msup>
-         <math:mi>e</math:mi>
-         <math:mrow>
-          <math:mo math:stretchy="false">−</math:mo>
-          <math:msup>
-           <math:mi>t</math:mi>
-           <math:mn>2</math:mn>
-          </math:msup>
-         </math:mrow>
-        </math:msup>
-       </math:mrow>
-       <math:mo math:stretchy="false">⋅</math:mo>
-       <math:mi math:fontstyle="italic">dt</math:mi>
-      </math:mrow>
-     </math:mrow>
-    </math:mtr>
-    <math:mtr>
-     <math:mrow>
-      <math:mrow>
-       <math:mi>y</math:mi>
-       <math:mo math:stretchy="false">=</math:mo>
-       <math:mrow>
-        <math:mn>1</math:mn>
-        <math:mo math:stretchy="false">−</math:mo>
-        <math:mi math:fontstyle="italic">erf</math:mi>
-       </math:mrow>
-      </math:mrow>
-      <math:mrow>
-       <math:mo math:stretchy="false">(</math:mo>
-       <math:mi>x</math:mi>
-       <math:mo math:stretchy="false">)</math:mo>
-      </math:mrow>
-     </math:mrow>
-    </math:mtr>
-   </math:mtable>
-  </math:mrow>
-  <math:annotation math:encoding="StarMath 5.0">alignl stack {
-y = {2 over sqrt(%pi)} int from x to {+infty} e^{-t^2} cdot dt #
-y = 1 - erf(x)
-}</math:annotation>
- </math:semantics>
-</math:math>
\ No newline at end of file
diff --git a/scilab/modules/special_functions/help/mml/erfcx_equation1.mml b/scilab/modules/special_functions/help/mml/erfcx_equation1.mml
deleted file mode 100644 (file)
index 1e73abe..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE math:math PUBLIC "-//OpenOffice.org//DTD Modified W3C MathML 1.01//EN" "math.dtd">
-<math:math xmlns:math="http://www.w3.org/1998/Math/MathML">
- <math:semantics>
-  <math:mtable>
-   <math:mtr>
-    <math:mrow>
-     <math:mrow>
-      <math:mi>y</math:mi>
-      <math:mo math:stretchy="false">=</math:mo>
-      <math:mi>exp</math:mi>
-     </math:mrow>
-     <math:mrow>
-      <math:mrow>
-       <math:mo math:stretchy="false">(</math:mo>
-       <math:msup>
-        <math:mi>x</math:mi>
-        <math:mn>2</math:mn>
-       </math:msup>
-       <math:mo math:stretchy="false">)</math:mo>
-      </math:mrow>
-      <math:mo math:stretchy="false">⋅</math:mo>
-      <math:mi math:fontstyle="italic">erfc</math:mi>
-     </math:mrow>
-     <math:mrow>
-      <math:mo math:stretchy="false">(</math:mo>
-      <math:mi>x</math:mi>
-      <math:mo math:stretchy="false">)</math:mo>
-     </math:mrow>
-    </math:mrow>
-   </math:mtr>
-   <math:mtr>
-    <math:mrow>
-     <math:mi>y</math:mi>
-     <math:mo math:stretchy="false">→</math:mo>
-     <math:mrow>
-      <math:mfrac>
-       <math:mn>1</math:mn>
-       <math:mrow>
-        <math:mi>x</math:mi>
-        <math:mo math:stretchy="false">⋅</math:mo>
-        <math:msqrt>
-         <math:mrow>
-          <math:mo math:stretchy="false">(</math:mo>
-          <math:mo math:stretchy="false">π</math:mo>
-          <math:mo math:stretchy="false">)</math:mo>
-         </math:mrow>
-        </math:msqrt>
-       </math:mrow>
-      </math:mfrac>
-      <math:mtext> when </math:mtext>
-      <math:mi>x</math:mi>
-      <math:mrow>
-       <math:mo math:stretchy="false">→</math:mo>
-       <math:mo math:stretchy="false">+</math:mo>
-       <math:mo math:stretchy="false">∞</math:mo>
-      </math:mrow>
-     </math:mrow>
-    </math:mrow>
-   </math:mtr>
-  </math:mtable>
-  <math:annotation math:encoding="StarMath 5.0">stack {
-y = exp(x^2) cdot erfc(x) #
-y rightarrow {1 over {x cdot sqrt(%pi)} &quot; when &quot; x rightarrow +infty}
-}</math:annotation>
- </math:semantics>
-</math:math>
\ No newline at end of file
index 8eb9367..dc0ac7e 100644 (file)
@@ -14,6 +14,7 @@ extern "C" {
 #include "gw_special_functions.h"
 #include "Scierror.h"
 #include "api_scilab.h"
+#include "localization.h"
 }
 
 #include "faddeeva.h"
index 7fb8a71..723f9b4 100644 (file)
@@ -23,10 +23,12 @@ int SCI_FADDEEVA(char *fname, unsigned long fname_len)
 
     double* wr = NULL;
     double* wi = NULL;
+    int iType = 0;
 
     SciErr sciErr;
     CheckInputArgument(pvApiCtx, 1, 1);
 
+
     /* get z */
     //get variable address of the input argument
     sciErr = getVarAddressFromPosition(pvApiCtx, 1, &zAddr);
@@ -36,6 +38,21 @@ int SCI_FADDEEVA(char *fname, unsigned long fname_len)
         return 1;
     }
 
+    // check type
+    sciErr = getVarType(pvApiCtx, zAddr, &iType);
+    if (sciErr.iErr)
+    {
+        printError(&sciErr, 0);
+        Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1);
+        return 0;
+    }
+
+    if (iType != sci_matrix)
+    {
+        Scierror(999, _("%s: Wrong type for argument #%d: Real or complex matrix expected.\n"), fname, 1);
+        return 0;
+    }
+
     sciErr = getComplexMatrixOfDouble(pvApiCtx, zAddr, &m, &n, &zr, &zi);
     if (sciErr.iErr)
     {
index fcb3eb7..54604b6 100644 (file)
@@ -7,4 +7,4 @@
 deff('y=f(t)','y=exp(-t^2)');
 r = calerf(1,0);
 ref = 2/sqrt(%pi)*intg(0,1,f);
-if abs(r - ref) > %eps then bugmes();quit;end
+assert_checkalmostequal(r, ref);
index b656c77..7afd304 100644 (file)
@@ -7,4 +7,5 @@
 deff('y=f(t)','y=exp(-t^2)');
 r = calerf(1,0);
 ref = 2/sqrt(%pi)*intg(0,1,f);
-if abs(r - ref) > %eps then pause,end
+assert_checkalmostequal(r, ref);
+
diff --git a/scilab/modules/special_functions/tests/unit_tests/dawson.dia.ref b/scilab/modules/special_functions/tests/unit_tests/dawson.dia.ref
new file mode 100644 (file)
index 0000000..1a177b1
--- /dev/null
@@ -0,0 +1,60 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+assert_checkalmostequal(dawson(2 + 1*%i), 0.1635394094345355614904345232875688576839 + -0.1531245755371229803585918112683241066853*%i, 1.e-10);
+assert_checkalmostequal(dawson(-2 + 1*%i), -0.1635394094345355614904345232875688576839 + -0.1531245755371229803585918112683241066853*%i, 1.e-10);
+assert_checkalmostequal(dawson(2 + -1*%i), 0.1635394094345355614904345232875688576839 + 0.1531245755371229803585918112683241066853*%i, 1.e-10);
+assert_checkalmostequal(dawson(-2 + -1*%i), -0.1635394094345355614904345232875688576839 + 0.1531245755371229803585918112683241066853*%i, 1.e-10);
+assert_checkalmostequal(dawson(-28 + 9*%i), -0.01619082256681596362895875232699626384420 + -0.005210224203359059109181555401330902819419*%i, 1.e-10);
+assert_checkalmostequal(dawson(33 + -21*%i), 0.01078377080978103125464543240346760257008 + 0.006866888783433775382193630944275682670599*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e3 + 1e3*%i), -0.5808616819196736225612296471081337245459 + 0.6688593905505562263387760667171706325749*%i, 1.e-10);
+if getos() == "Windows" then
+assert_checkalmostequal(dawson(-1000 + -3001*%i), complex(%nan, -%nan), 1.e-10);
+else
+assert_checkalmostequal(dawson(-1000 + -3001*%i), complex(%inf, -%inf), 1.e-10);
+end
+assert_checkalmostequal(dawson(1e-8 + 5.1e-3*%i), 0.1000052020902036118082966385855563526705e-7 + 0.005100088434920073153418834680320146441685*%i, 1.e-10);
+assert_checkalmostequal(dawson(4.95e-3 + -4.9e-3*%i), 0.004950156837581592745389973960217444687524 + -0.004899838305155226382584756154100963570500*%i, 1.e-10);
+assert_checkalmostequal(dawson(5.1e-3 + 5.1e-3*%i), 0.005100176864319675957314822982399286703798 + 0.005099823128319785355949825238269336481254*%i, 1.e-10);
+assert_checkalmostequal(dawson(0.5 + 4.9e-3*%i), 0.4244534840871830045021143490355372016428 + 0.002820278933186814021399602648373095266538*%i, 1.e-10);
+assert_checkalmostequal(dawson(-0.5e1 + 4.9e-4*%i), -0.1021340733271046543881236523269967674156 + -0.00001045696456072005761498961861088944159916*%i, 1.e-10);
+assert_checkalmostequal(dawson(-0.5e2 + -4.9e-5*%i), -0.01000200120119206748855061636187197886859 + 0.9805885888237419500266621041508714123763e-8*%i, 1.e-10);
+assert_checkalmostequal(dawson(0.5e3 + 4.9e-6*%i), 0.001000002000012000023960527532953151819595 + -0.9800058800588007290937355024646722133204e-11*%i, 1.e-10);
+assert_checkalmostequal(dawson(0.5 + 5.1e-3*%i), 0.4244549085628511778373438768121222815752 + 0.002935393851311701428647152230552122898291*%i, 1.e-10);
+assert_checkalmostequal(dawson(-0.5e1 + 5.1e-4*%i), -0.1021340732357117208743299813648493928105 + -0.00001088377943049851799938998805451564893540*%i, 1.e-10);
+assert_checkalmostequal(dawson(-0.5e2 + -5.1e-5*%i), -0.01000200120119126652710792390331206563616 + 0.1020612612857282306892368985525393707486e-7*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e-6 + 2e-6*%i), 0.1000000000007333333333344266666666664457e-5 + 0.2000000000001333333333323199999999978819e-5*%i, 1.e-10);
+assert_checkalmostequal(dawson(2e-6 + 0*%i), 0.1999999999994666666666675199999999990248e-5 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(2 + 0*%i), 0.3013403889237919660346644392864226952119 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(20 + 0*%i), 0.02503136792640367194699495234782353186858 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(200 + 0*%i), 0.002500031251171948248596912483183760683918 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + 4.9e-3*%i), 0 + 0.004900078433419939164774792850907128053308*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + -5.1e-3*%i), 0 + -0.005100088434920074173454208832365950009419*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + 2e-6*%i), 0 + 0.2000000000005333333333341866666666676419e-5*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + -2*%i), 0 + -48.16001211429122974789822893525016528191*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + 20*%i), 0 + 0.4627407029504443513654142715903005954668e174*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + -200*%i), complex(0,-%inf), 1.e-10);
+assert_checkalmostequal(dawson(%inf + 0*%i), 0 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(-%inf + 0*%i), -0 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + %inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(dawson(0 + -%inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(dawson(%inf + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%inf + -%inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%nan + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%nan + 0*%i), %nan + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + %nan*%i), 0 + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%nan + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%inf + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(39 + 6.4e-5*%i), 0.01282473148489433743567240624939698290584 + -0.2105957276516618621447832572909153498104e-7*%i, 1.e-10);
+assert_checkalmostequal(dawson(41 + 6.09e-5*%i), 0.01219875253423634378984109995893708152885 + -0.1813040560401824664088425926165834355953e-7*%i, 1.e-10);
+assert_checkalmostequal(dawson(4.9e7 + 5e-11*%i), 0.1020408163265306334945473399689037886997e-7 + -0.1041232819658476285651490827866174985330e-25*%i, 1.e-10);
+assert_checkalmostequal(dawson(5.1e7 + 4.8e-11*%i), 0.9803921568627452865036825956835185367356e-8 + -0.9227220299884665067601095648451913375754e-26*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e9 + 2.4e-12*%i), 0.5000000000000000002500000000000000003750e-9 + -0.1200000000000000001800000188712838420241e-29*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e11 + 2.4e-14*%i), 5.00000000000000000000025000000000000000000003e-12 + -1.20000000000000000000018000000000000000000004e-36*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e13 + 2.4e-16*%i), 5.00000000000000000000000002500000000000000000e-14 + -1.20000000000000000000000001800000000000000000e-42*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e300 + 2.4e-303*%i), 5e-301 + 0*%i, 1.e-10);
+assert_checkerror("dawson(''foo'')",[],999);
+assert_checkerror("dawson(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);
diff --git a/scilab/modules/special_functions/tests/unit_tests/dawson.tst b/scilab/modules/special_functions/tests/unit_tests/dawson.tst
new file mode 100644 (file)
index 0000000..1606a91
--- /dev/null
@@ -0,0 +1,63 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+
+assert_checkalmostequal(dawson(2 + 1*%i), 0.1635394094345355614904345232875688576839 + -0.1531245755371229803585918112683241066853*%i, 1.e-10);
+assert_checkalmostequal(dawson(-2 + 1*%i), -0.1635394094345355614904345232875688576839 + -0.1531245755371229803585918112683241066853*%i, 1.e-10);
+assert_checkalmostequal(dawson(2 + -1*%i), 0.1635394094345355614904345232875688576839 + 0.1531245755371229803585918112683241066853*%i, 1.e-10);
+assert_checkalmostequal(dawson(-2 + -1*%i), -0.1635394094345355614904345232875688576839 + 0.1531245755371229803585918112683241066853*%i, 1.e-10);
+assert_checkalmostequal(dawson(-28 + 9*%i), -0.01619082256681596362895875232699626384420 + -0.005210224203359059109181555401330902819419*%i, 1.e-10);
+assert_checkalmostequal(dawson(33 + -21*%i), 0.01078377080978103125464543240346760257008 + 0.006866888783433775382193630944275682670599*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e3 + 1e3*%i), -0.5808616819196736225612296471081337245459 + 0.6688593905505562263387760667171706325749*%i, 1.e-10);
+if getos() == "Windows" then
+assert_checkalmostequal(dawson(-1000 + -3001*%i), complex(%nan, -%nan), 1.e-10);
+else
+assert_checkalmostequal(dawson(-1000 + -3001*%i), complex(%inf, -%inf), 1.e-10);
+end
+assert_checkalmostequal(dawson(1e-8 + 5.1e-3*%i), 0.1000052020902036118082966385855563526705e-7 + 0.005100088434920073153418834680320146441685*%i, 1.e-10);
+assert_checkalmostequal(dawson(4.95e-3 + -4.9e-3*%i), 0.004950156837581592745389973960217444687524 + -0.004899838305155226382584756154100963570500*%i, 1.e-10);
+assert_checkalmostequal(dawson(5.1e-3 + 5.1e-3*%i), 0.005100176864319675957314822982399286703798 + 0.005099823128319785355949825238269336481254*%i, 1.e-10);
+assert_checkalmostequal(dawson(0.5 + 4.9e-3*%i), 0.4244534840871830045021143490355372016428 + 0.002820278933186814021399602648373095266538*%i, 1.e-10);
+assert_checkalmostequal(dawson(-0.5e1 + 4.9e-4*%i), -0.1021340733271046543881236523269967674156 + -0.00001045696456072005761498961861088944159916*%i, 1.e-10);
+assert_checkalmostequal(dawson(-0.5e2 + -4.9e-5*%i), -0.01000200120119206748855061636187197886859 + 0.9805885888237419500266621041508714123763e-8*%i, 1.e-10);
+assert_checkalmostequal(dawson(0.5e3 + 4.9e-6*%i), 0.001000002000012000023960527532953151819595 + -0.9800058800588007290937355024646722133204e-11*%i, 1.e-10);
+assert_checkalmostequal(dawson(0.5 + 5.1e-3*%i), 0.4244549085628511778373438768121222815752 + 0.002935393851311701428647152230552122898291*%i, 1.e-10);
+assert_checkalmostequal(dawson(-0.5e1 + 5.1e-4*%i), -0.1021340732357117208743299813648493928105 + -0.00001088377943049851799938998805451564893540*%i, 1.e-10);
+assert_checkalmostequal(dawson(-0.5e2 + -5.1e-5*%i), -0.01000200120119126652710792390331206563616 + 0.1020612612857282306892368985525393707486e-7*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e-6 + 2e-6*%i), 0.1000000000007333333333344266666666664457e-5 + 0.2000000000001333333333323199999999978819e-5*%i, 1.e-10);
+assert_checkalmostequal(dawson(2e-6 + 0*%i), 0.1999999999994666666666675199999999990248e-5 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(2 + 0*%i), 0.3013403889237919660346644392864226952119 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(20 + 0*%i), 0.02503136792640367194699495234782353186858 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(200 + 0*%i), 0.002500031251171948248596912483183760683918 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + 4.9e-3*%i), 0 + 0.004900078433419939164774792850907128053308*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + -5.1e-3*%i), 0 + -0.005100088434920074173454208832365950009419*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + 2e-6*%i), 0 + 0.2000000000005333333333341866666666676419e-5*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + -2*%i), 0 + -48.16001211429122974789822893525016528191*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + 20*%i), 0 + 0.4627407029504443513654142715903005954668e174*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + -200*%i), complex(0,-%inf), 1.e-10);
+assert_checkalmostequal(dawson(%inf + 0*%i), 0 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(-%inf + 0*%i), -0 + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + %inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(dawson(0 + -%inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(dawson(%inf + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%inf + -%inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%nan + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%nan + 0*%i), %nan + 0*%i, 1.e-10);
+assert_checkalmostequal(dawson(0 + %nan*%i), 0 + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%nan + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(%inf + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(dawson(39 + 6.4e-5*%i), 0.01282473148489433743567240624939698290584 + -0.2105957276516618621447832572909153498104e-7*%i, 1.e-10);
+assert_checkalmostequal(dawson(41 + 6.09e-5*%i), 0.01219875253423634378984109995893708152885 + -0.1813040560401824664088425926165834355953e-7*%i, 1.e-10);
+assert_checkalmostequal(dawson(4.9e7 + 5e-11*%i), 0.1020408163265306334945473399689037886997e-7 + -0.1041232819658476285651490827866174985330e-25*%i, 1.e-10);
+assert_checkalmostequal(dawson(5.1e7 + 4.8e-11*%i), 0.9803921568627452865036825956835185367356e-8 + -0.9227220299884665067601095648451913375754e-26*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e9 + 2.4e-12*%i), 0.5000000000000000002500000000000000003750e-9 + -0.1200000000000000001800000188712838420241e-29*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e11 + 2.4e-14*%i), 5.00000000000000000000025000000000000000000003e-12 + -1.20000000000000000000018000000000000000000004e-36*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e13 + 2.4e-16*%i), 5.00000000000000000000000002500000000000000000e-14 + -1.20000000000000000000000001800000000000000000e-42*%i, 1.e-10);
+assert_checkalmostequal(dawson(1e300 + 2.4e-303*%i), 5e-301 + 0*%i, 1.e-10);
+
+assert_checkerror("dawson(''foo'')",[],999);
+assert_checkerror("dawson(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);
index 1cf935a..8f0f70f 100644 (file)
@@ -1015,4 +1015,48 @@ function [x,y]=erf_ref()
 endfunction
 [Xr,Yr]=erf_ref();
 y=erf(Xr);
-if norm((Yr-y),1) >1d-12 then bugmes();quit;end
+assert_checkalmostequal(Yr,y);
+// Tests are from faddeeva code:
+assert_checkalmostequal(erf(1 + 2*%i), -0.5366435657785650339917955593141927494421 + -5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erf(-1 + 2*%i), 0.5366435657785650339917955593141927494421 + -5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erf(1 + -2*%i), -0.5366435657785650339917955593141927494421 + 5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erf(-1 + -2*%i), 0.5366435657785650339917955593141927494421 + 5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erf(9 + -28*%i), 0.3359473673830576996788000505817956637777e304 + -0.1999896139679880888755589794455069208455e304*%i, 1.e-10);
+assert_checkalmostequal(erf(21 + -33*%i), 0.3584459971462946066523939204836760283645e278 + 0.3818954885257184373734213077678011282505e280*%i, 1.e-10);
+assert_checkalmostequal(erf(1e3 + 1e3*%i), 0.9996020422657148639102150147542224526887 + 0.00002801044116908227889681753993542916894856*%i, 1.e-10);
+assert_checkalmostequal(erf(-3001 + -1000*%i), -1 + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(1e160 + -1e159*%i), 1 + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(5.1e-3 + 1e-8*%i), 0.005754683859034800134412990541076554934877 + 0.1128349818335058741511924929801267822634e-7*%i, 1.e-10);
+assert_checkalmostequal(erf(-4.9e-3 + 4.95e-3*%i), -0.005529149142341821193633460286828381876955 + 0.005585388387864706679609092447916333443570*%i, 1.e-10);
+assert_checkalmostequal(erf(4.9e-3 + 0.5*%i), 0.007099365669981359632319829148438283865814 + 0.6149347012854211635026981277569074001219*%i, 1.e-10);
+assert_checkalmostequal(erf(4.9e-4 + -0.5e1*%i), 0.3981176338702323417718189922039863062440e8 + -0.8298176341665249121085423917575122140650e10*%i, 1.e-10);
+assert_checkalmostequal(erf(-4.9e-5 + -0.5e2*%i), complex(-%inf, -%inf), 1.e-10);
+assert_checkalmostequal(erf(5.1e-3 + 0.5*%i), 0.007389128308257135427153919483147229573895 + 0.6149332524601658796226417164791221815139*%i, 1.e-10);
+assert_checkalmostequal(erf(5.1e-4 + -0.5e1*%i), 0.4143671923267934479245651547534414976991e8 + -0.8298168216818314211557046346850921446950e10*%i, 1.e-10);
+assert_checkalmostequal(erf(-5.1e-5 + -0.5e2*%i), complex(-%inf, -%inf), 1.e-10);
+assert_checkalmostequal(erf(1e-6 + 2e-6*%i), 0.1128379167099649964175513742247082845155e-5 + 0.2256758334191777400570377193451519478895e-5*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + 2e-6*%i), 0 + 0.2256758334194034158904576117253481476197e-5*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + 2*%i), 0 + 18.56480241457555259870429191324101719886*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + 20*%i), 0 + 0.1474797539628786202447733153131835124599e173*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + 200*%i), complex(0, %inf), 1.e-10);
+assert_checkalmostequal(erf(%inf + 0*%i), 1 + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(-%inf + 0*%i), -1 + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + %inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(erf(0 + -%inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(erf(%inf + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%inf + -%inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%nan + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%nan + 0*%i), %nan + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + %nan*%i), 0 + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%nan + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%inf + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(1e-3 + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(7e-2 + 7e-2*%i), 0.07924380404615782687930591956705225541145 + 0.07872776218046681145537914954027729115247*%i, 1.e-10);
+assert_checkalmostequal(erf(7e-2 + -7e-4*%i), 0.07885775828512276968931773651224684454495 + -0.0007860046704118224342390725280161272277506*%i, 1.e-10);
+assert_checkalmostequal(erf(-9e-2 + 7e-4*%i), -0.1012806432747198859687963080684978759881 + 0.0007834934747022035607566216654982820299469*%i, 1.e-10);
+assert_checkalmostequal(erf(-9e-2 + 9e-2*%i), -0.1020998418798097910247132140051062512527 + 0.1010030778892310851309082083238896270340*%i, 1.e-10);
+assert_checkalmostequal(erf(-7e-4 + 9e-2*%i), -0.0007962891763147907785684591823889484764272 + 0.1018289385936278171741809237435404896152*%i, 1.e-10);
+assert_checkalmostequal(erf(7e-2 + 0.9e-2*%i), 0.07886408666470478681566329888615410479530 + 0.01010604288780868961492224347707949372245*%i, 1.e-10);
+assert_checkalmostequal(erf(7e-2 + 1.1e-2*%i), 0.07886723099940260286824654364807981336591 + 0.01235199327873258197931147306290916629654*%i, 1.e-10);
+assert_checkerror("erf(''foo'')",[],999);
+assert_checkerror("erf(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);
index d45b457..4602d80 100644 (file)
@@ -1022,5 +1022,51 @@ endfunction
 
 [Xr,Yr]=erf_ref();
 y=erf(Xr);
-if norm((Yr-y),1) >1d-12 then pause,end
+assert_checkalmostequal(Yr,y);
 
+// Tests are from faddeeva code:
+
+assert_checkalmostequal(erf(1 + 2*%i), -0.5366435657785650339917955593141927494421 + -5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erf(-1 + 2*%i), 0.5366435657785650339917955593141927494421 + -5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erf(1 + -2*%i), -0.5366435657785650339917955593141927494421 + 5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erf(-1 + -2*%i), 0.5366435657785650339917955593141927494421 + 5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erf(9 + -28*%i), 0.3359473673830576996788000505817956637777e304 + -0.1999896139679880888755589794455069208455e304*%i, 1.e-10);
+assert_checkalmostequal(erf(21 + -33*%i), 0.3584459971462946066523939204836760283645e278 + 0.3818954885257184373734213077678011282505e280*%i, 1.e-10);
+assert_checkalmostequal(erf(1e3 + 1e3*%i), 0.9996020422657148639102150147542224526887 + 0.00002801044116908227889681753993542916894856*%i, 1.e-10);
+assert_checkalmostequal(erf(-3001 + -1000*%i), -1 + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(1e160 + -1e159*%i), 1 + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(5.1e-3 + 1e-8*%i), 0.005754683859034800134412990541076554934877 + 0.1128349818335058741511924929801267822634e-7*%i, 1.e-10);
+assert_checkalmostequal(erf(-4.9e-3 + 4.95e-3*%i), -0.005529149142341821193633460286828381876955 + 0.005585388387864706679609092447916333443570*%i, 1.e-10);
+assert_checkalmostequal(erf(4.9e-3 + 0.5*%i), 0.007099365669981359632319829148438283865814 + 0.6149347012854211635026981277569074001219*%i, 1.e-10);
+assert_checkalmostequal(erf(4.9e-4 + -0.5e1*%i), 0.3981176338702323417718189922039863062440e8 + -0.8298176341665249121085423917575122140650e10*%i, 1.e-10);
+assert_checkalmostequal(erf(-4.9e-5 + -0.5e2*%i), complex(-%inf, -%inf), 1.e-10);
+assert_checkalmostequal(erf(5.1e-3 + 0.5*%i), 0.007389128308257135427153919483147229573895 + 0.6149332524601658796226417164791221815139*%i, 1.e-10);
+assert_checkalmostequal(erf(5.1e-4 + -0.5e1*%i), 0.4143671923267934479245651547534414976991e8 + -0.8298168216818314211557046346850921446950e10*%i, 1.e-10);
+assert_checkalmostequal(erf(-5.1e-5 + -0.5e2*%i), complex(-%inf, -%inf), 1.e-10);
+assert_checkalmostequal(erf(1e-6 + 2e-6*%i), 0.1128379167099649964175513742247082845155e-5 + 0.2256758334191777400570377193451519478895e-5*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + 2e-6*%i), 0 + 0.2256758334194034158904576117253481476197e-5*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + 2*%i), 0 + 18.56480241457555259870429191324101719886*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + 20*%i), 0 + 0.1474797539628786202447733153131835124599e173*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + 200*%i), complex(0, %inf), 1.e-10);
+assert_checkalmostequal(erf(%inf + 0*%i), 1 + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(-%inf + 0*%i), -1 + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + %inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(erf(0 + -%inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(erf(%inf + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%inf + -%inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%nan + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%nan + 0*%i), %nan + 0*%i, 1.e-10);
+assert_checkalmostequal(erf(0 + %nan*%i), 0 + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%nan + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(%inf + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(1e-3 + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erf(7e-2 + 7e-2*%i), 0.07924380404615782687930591956705225541145 + 0.07872776218046681145537914954027729115247*%i, 1.e-10);
+assert_checkalmostequal(erf(7e-2 + -7e-4*%i), 0.07885775828512276968931773651224684454495 + -0.0007860046704118224342390725280161272277506*%i, 1.e-10);
+assert_checkalmostequal(erf(-9e-2 + 7e-4*%i), -0.1012806432747198859687963080684978759881 + 0.0007834934747022035607566216654982820299469*%i, 1.e-10);
+assert_checkalmostequal(erf(-9e-2 + 9e-2*%i), -0.1020998418798097910247132140051062512527 + 0.1010030778892310851309082083238896270340*%i, 1.e-10);
+assert_checkalmostequal(erf(-7e-4 + 9e-2*%i), -0.0007962891763147907785684591823889484764272 + 0.1018289385936278171741809237435404896152*%i, 1.e-10);
+assert_checkalmostequal(erf(7e-2 + 0.9e-2*%i), 0.07886408666470478681566329888615410479530 + 0.01010604288780868961492224347707949372245*%i, 1.e-10);
+assert_checkalmostequal(erf(7e-2 + 1.1e-2*%i), 0.07886723099940260286824654364807981336591 + 0.01235199327873258197931147306290916629654*%i, 1.e-10);
+
+assert_checkerror("erf(''foo'')",[],999);
+assert_checkerror("erf(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);
diff --git a/scilab/modules/special_functions/tests/unit_tests/erfc.dia.ref b/scilab/modules/special_functions/tests/unit_tests/erfc.dia.ref
new file mode 100644 (file)
index 0000000..167a709
--- /dev/null
@@ -0,0 +1,38 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+assert_checkalmostequal(erfc(1 + 2*%i), 1.536643565778565033991795559314192749442 + 5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erfc(-1 + 2*%i), 0.4633564342214349660082044406858072505579 + 5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erfc(1 + -2*%i), 1.536643565778565033991795559314192749442 + -5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erfc(-1 + -2*%i), 0.4633564342214349660082044406858072505579 + -5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erfc(9 + -28*%i), -0.3359473673830576996788000505817956637777e304 + 0.1999896139679880888755589794455069208455e304*%i, 1.e-10);
+assert_checkalmostequal(erfc(21 + -33*%i), -0.3584459971462946066523939204836760283645e278 + -0.3818954885257184373734213077678011282505e280*%i, 1.e-10);
+assert_checkalmostequal(erfc(1e3 + 1e3*%i), 0.0003979577342851360897849852457775473112748 + -0.00002801044116908227889681753993542916894856*%i, 1.e-10);
+assert_checkalmostequal(erfc(-3001 + -1000*%i), 2 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(1e160 + -1e159*%i), 0 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(5.1e-3 + 1e-8*%i), 0.9942453161409651998655870094589234450651 + -0.1128349818335058741511924929801267822634e-7*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + 2e-6*%i), 1 + -0.2256758334194034158904576117253481476197e-5*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + 2*%i), 1 + -18.56480241457555259870429191324101719886*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + 20*%i), 1 + -0.1474797539628786202447733153131835124599e173*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + 200*%i), complex(1, -%inf), 1.e-10);
+assert_checkalmostequal(erfc(2e-6 + 0*%i), 0.9999977432416658119838633199332831406314 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(2 + 0*%i), 0.004677734981047265837930743632747071389108 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(20 + 0*%i), 0.5395865611607900928934999167905345604088e-175 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(200 + 0*%i), 0 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(%inf + 0*%i), 0 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(-%inf + 0*%i), 2 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + %inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(erfc(0 + -%inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(erfc(%inf + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%inf + -%inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%nan + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%nan + 0*%i), %nan + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + %nan*%i), 1 + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%nan + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%inf + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(88 + 0*%i ), 0 + 0*%i, 1.e-10);
+assert_checkerror("erfc(''foo'')",[],999);
+assert_checkerror("erfc(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);
diff --git a/scilab/modules/special_functions/tests/unit_tests/erfc.tst b/scilab/modules/special_functions/tests/unit_tests/erfc.tst
new file mode 100644 (file)
index 0000000..fe1fd1a
--- /dev/null
@@ -0,0 +1,40 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+assert_checkalmostequal(erfc(1 + 2*%i), 1.536643565778565033991795559314192749442 + 5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erfc(-1 + 2*%i), 0.4633564342214349660082044406858072505579 + 5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erfc(1 + -2*%i), 1.536643565778565033991795559314192749442 + -5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erfc(-1 + -2*%i), 0.4633564342214349660082044406858072505579 + -5.049143703447034669543036958614140565553*%i, 1.e-10);
+assert_checkalmostequal(erfc(9 + -28*%i), -0.3359473673830576996788000505817956637777e304 + 0.1999896139679880888755589794455069208455e304*%i, 1.e-10);
+assert_checkalmostequal(erfc(21 + -33*%i), -0.3584459971462946066523939204836760283645e278 + -0.3818954885257184373734213077678011282505e280*%i, 1.e-10);
+assert_checkalmostequal(erfc(1e3 + 1e3*%i), 0.0003979577342851360897849852457775473112748 + -0.00002801044116908227889681753993542916894856*%i, 1.e-10);
+assert_checkalmostequal(erfc(-3001 + -1000*%i), 2 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(1e160 + -1e159*%i), 0 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(5.1e-3 + 1e-8*%i), 0.9942453161409651998655870094589234450651 + -0.1128349818335058741511924929801267822634e-7*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + 2e-6*%i), 1 + -0.2256758334194034158904576117253481476197e-5*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + 2*%i), 1 + -18.56480241457555259870429191324101719886*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + 20*%i), 1 + -0.1474797539628786202447733153131835124599e173*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + 200*%i), complex(1, -%inf), 1.e-10);
+assert_checkalmostequal(erfc(2e-6 + 0*%i), 0.9999977432416658119838633199332831406314 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(2 + 0*%i), 0.004677734981047265837930743632747071389108 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(20 + 0*%i), 0.5395865611607900928934999167905345604088e-175 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(200 + 0*%i), 0 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(%inf + 0*%i), 0 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(-%inf + 0*%i), 2 + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + %inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(erfc(0 + -%inf*%i), complex(%nan, %nan), 1.e-10);
+assert_checkalmostequal(erfc(%inf + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%inf + -%inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%nan + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%nan + 0*%i), %nan + 0*%i, 1.e-10);
+assert_checkalmostequal(erfc(0 + %nan*%i), 1 + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%nan + %inf*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(%inf + %nan*%i), %nan + %nan*%i, 1.e-10);
+assert_checkalmostequal(erfc(88 + 0*%i ), 0 + 0*%i, 1.e-10);
+
+assert_checkerror("erfc(''foo'')",[],999);
+assert_checkerror("erfc(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);
diff --git a/scilab/modules/special_functions/tests/unit_tests/erfcx.dia.ref b/scilab/modules/special_functions/tests/unit_tests/erfcx.dia.ref
new file mode 100644 (file)
index 0000000..adcc99c
--- /dev/null
@@ -0,0 +1,10 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+a=erfcx(1.234 + 0.5678*%i);
+assert_checkalmostequal(a, 0.33821874798-%i*0.111607747081);
+assert_checkerror("erfcx(''foo'')",[],999);
+assert_checkerror("erfcx(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);
diff --git a/scilab/modules/special_functions/tests/unit_tests/erfcx.tst b/scilab/modules/special_functions/tests/unit_tests/erfcx.tst
new file mode 100644 (file)
index 0000000..39a1455
--- /dev/null
@@ -0,0 +1,12 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+a=erfcx(1.234 + 0.5678*%i);
+assert_checkalmostequal(a, 0.33821874798-%i*0.111607747081);
+
+assert_checkerror("erfcx(''foo'')",[],999);
+assert_checkerror("erfcx(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);
diff --git a/scilab/modules/special_functions/tests/unit_tests/erfi.dia.ref b/scilab/modules/special_functions/tests/unit_tests/erfi.dia.ref
new file mode 100644 (file)
index 0000000..00ad53b
--- /dev/null
@@ -0,0 +1,10 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+a=erfi(1.234 + 0.5678*%i);
+assert_checkalmostequal(a, 1.081032284405+%i*1.926775520841);
+assert_checkerror("erfi(''foo'')",[],999);
+assert_checkerror("erfi(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);
diff --git a/scilab/modules/special_functions/tests/unit_tests/erfi.tst b/scilab/modules/special_functions/tests/unit_tests/erfi.tst
new file mode 100644 (file)
index 0000000..7231c1c
--- /dev/null
@@ -0,0 +1,13 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - S/E - Sylvestre Ledru
+//
+//  This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+a=erfi(1.234 + 0.5678*%i);
+assert_checkalmostequal(a, 1.081032284405+%i*1.926775520841);
+
+
+assert_checkerror("erfi(''foo'')",[],999);
+assert_checkerror("erfi(sparse([1,2;4,5;3,10],[1,2,3]))",[],999);