* Bug #5017 fixed (proposal 2) - Linear algebra: 'norm' from macro to function 57/11657/16
authorPaul BIGNIER <paul.bignier@scilab-enterprises.com>
Mon, 29 Apr 2013 07:55:27 +0000 (09:55 +0200)
committerVincent COUVERT <vincent.couvert@scilab-enterprises.com>
Wed, 12 Feb 2014 10:43:32 +0000 (11:43 +0100)
commite5b2fdc68416e82a9cb9a510037de30caf6b5998
treed19f37a6cf2f58937e02b6b2b095b555094f5c30
parent6d127f9caa1f71869ff9aab41d146bd7af2b9323
* Bug #5017 fixed (proposal 2) - Linear algebra: 'norm' from macro to function

Rewrote norm() macro into norm() function to benefit from the Lapack performance.

This commit uses scaling in the 2-norm calculation.

Change-Id: I254ca24a5cdf24b2ae12f8064d8b0bfd3920b4ab
16 files changed:
scilab/CHANGES_5.5.X
scilab/modules/linear_algebra/Makefile.am
scilab/modules/linear_algebra/Makefile.in
scilab/modules/linear_algebra/includes/gw_linear_algebra.h
scilab/modules/linear_algebra/sci_gateway/c/gw_linear_algebra2.c
scilab/modules/linear_algebra/sci_gateway/c/sci_norm.c [new file with mode: 0644]
scilab/modules/linear_algebra/sci_gateway/linear_algebra_gateway.xml
scilab/modules/linear_algebra/src/c/linear_algebra.vcxproj
scilab/modules/linear_algebra/src/c/linear_algebra.vcxproj.filters
scilab/modules/linear_algebra/src/c/linear_algebra_f_Import.def
scilab/modules/linear_algebra/src/c/norm.c [new file with mode: 0644]
scilab/modules/linear_algebra/src/c/norm.h [new file with mode: 0644]
scilab/modules/linear_algebra/tests/nonreg_tests/bug_5017.dia.ref [moved from scilab/modules/linear_algebra/macros/norm.sci with 80% similarity]
scilab/modules/linear_algebra/tests/nonreg_tests/bug_5017.tst [new file with mode: 0644]
scilab/modules/linear_algebra/tests/unit_tests/norm.dia.ref
scilab/modules/linear_algebra/tests/unit_tests/norm.tst