* Bugs 7948 15825 fixed: gsort() multilevel sorting 23/20723/16
authorSamuel GOUGEON <sgougeon@free.fr>
Mon, 29 Oct 2018 02:33:26 +0000 (03:33 +0100)
committerAntoine ELIAS <antoine.elias@esi-group.com>
Fri, 7 Feb 2020 13:12:18 +0000 (14:12 +0100)
commit1b46d60a19aab33b8288904515e96a63ee342afb
tree29f17783dfbc45a426ed260d18c024e4bd156193
parentdab600f08bccde6d9519838a929fec54106691a8
* Bugs 7948 15825 fixed: gsort() multilevel sorting

  http://bugzilla.scilab.org/7948
  http://bugzilla.scilab.org/15825
  Page (PDF): http://bugzilla.scilab.org/attachment.cgi?id=5059

  The tests and examples presently call directly the overloads
  on purpose, to be independent of the gateway. They can and will be
  changed into regular gsort() calls.

  This is the first step.
  The next one, afterward and in a separate commit will be for sparses
  (see 15839 below).

  This commit is noticeably required to process the following bugs:
    - http://bugzilla.scilab.org/15839 (sorting sparse and complex sparse)
    - http://bugzilla.scilab.org/15838 (sparse complex vector: wrong k)
    - http://bugzilla.scilab.org/15280 (hypermat of complex along dim>2)
    - http://bugzilla.scilab.org/15734 (intersect() with complex numbers)
    - http://bugzilla.scilab.org/15737 (setdiff() with complex numbers)

Change-Id: I7cd88246026ce14fa730d14d5c07064d84cbf73f
16 files changed:
scilab/CHANGES.md
scilab/modules/elementary_functions/help/en_US/searchandsort/gsort.xml
scilab/modules/elementary_functions/help/fr_FR/searchandsort/gsort.xml [deleted file]
scilab/modules/elementary_functions/help/ja_JP/searchandsort/gsort.xml [deleted file]
scilab/modules/elementary_functions/help/pt_BR/searchandsort/gsort.xml [deleted file]
scilab/modules/elementary_functions/help/ru_RU/searchandsort/gsort.xml [deleted file]
scilab/modules/elementary_functions/macros/%gsort_multilevel.sci [new file with mode: 0644]
scilab/modules/elementary_functions/macros/%hm_gsort.sci
scilab/modules/elementary_functions/macros/%s_gsort.sci [new file with mode: 0644]
scilab/modules/elementary_functions/sci_gateway/cpp/sci_gsort.cpp
scilab/modules/elementary_functions/tests/unit_tests/gsort.tst
scilab/modules/elementary_functions/tests/unit_tests/gsort_complex.tst [deleted file]
scilab/modules/elementary_functions/tests/unit_tests/gsort_multilevel_complex.tst [new file with mode: 0644]
scilab/modules/elementary_functions/tests/unit_tests/gsort_multilevel_numbers.tst [new file with mode: 0644]
scilab/modules/elementary_functions/tests/unit_tests/gsort_multilevel_polynomials.tst [new file with mode: 0644]
scilab/modules/elementary_functions/tests/unit_tests/gsort_multilevel_text.tst [new file with mode: 0644]