[linear_algebra] householder() example could not be run (on Windows) 98/19598/5
Samuel GOUGEON [Sun, 10 Dec 2017 15:41:43 +0000 (16:41 +0100)]
 The examples/readme.txt file is unclear (and may be outdated for
 Scilab 6). If this examples subdirectory is no longer relevant,
 patching linear_algebra.iss could be more relevant than moving
 householder.sce.

  Discussion:
  http://mailinglists.scilab.org/householder-mismatch-between-GIT-HEAD-and-the-continuous-built-for-the-6-0-branch-tt4037327.html

Change-Id: I8b7e5578a82df13505008581368ab85ffc83df85

scilab/modules/linear_algebra/examples/lapackscilab.sce [deleted file]
scilab/modules/linear_algebra/examples/readme.txt [deleted file]
scilab/modules/linear_algebra/linear_algebra.iss

diff --git a/scilab/modules/linear_algebra/examples/lapackscilab.sce b/scilab/modules/linear_algebra/examples/lapackscilab.sce
deleted file mode 100644 (file)
index 11f7a12..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) DIGITEO - 2010 - Allan CORNET
-//
-// This file is released under the 3-clause BSD license. See COPYING-BSD.
-//
-
-//
-// A example to call some lapack routines
-// dgemm, zgemm, dsyev
-
-// WARNING:these gateways use old scilab api and it does not work with Scilab 6*/
-// see help api_scilab for more information.
-
-
-ilib_verbose(0);
-setenv("__USE_DEPRECATED_STACK_FUNCTIONS__","YES");
-
-curdir = pwd();
-file_path = get_file_path("lapackscilab.sce");
-chdir(file_path);
-
-files_functions = ["intdgemm.c";
-"intzgemm.c";
-"intdsyev.c"];
-
-table_functions = ["dgemm", "intdgemm";
-"zgemm", "intzgemm";
-"dsyev", "intdsyev"];
-
-ilib_build("lapackexample", table_functions, files_functions, []);
-exec loader.sce;
-
-Alfa = 2;
-Beta = 3;
-m = 3;
-n = 4;
-C = ones(m, n);
-k = 2;
-A = ones(m, k);
-B = ones(k, n);
-C1 = dgemm(Alfa, A, B, Beta, C);
-if norm(C1 - (Alfa * A * B + Beta * C)) > %eps then pause,end
-
-A = [1/2^10, 1/2^10; 2^10, 2^10];
-A = rand(3,3);
-if norm(max(real(dsyev(A))) - max(real(spec(A))) ) > %eps * 1e15 then pause,end
-
-alfa = 1 + %i;
-betha = alfa;
-A = rand(2,2) + %i * rand(2,2);
-B = A;
-C = A;
-C = zgemm(alfa, A, B, betha, C)
-
-cd(curdir);
\ No newline at end of file
diff --git a/scilab/modules/linear_algebra/examples/readme.txt b/scilab/modules/linear_algebra/examples/readme.txt
deleted file mode 100644 (file)
index 18f048d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Template (example) interface for a few Lapack routines.
-
-These gateways use old scilab api and it does not work with Scilab 6.
-See help api_scilab for more information.
-
-to test :
-
-  exec SCI/modules/linear_algebra/examples/lapackscilab.sce
-
-Allan CORNET - DIGITEO - 2010
index daff63d..5f3462a 100644 (file)
@@ -32,14 +32,12 @@ Source: modules\{#LINEAR_ALGEBRA}\sci_gateway\{#LINEAR_ALGEBRA}_gateway.xml; Des
 Source: modules\{#LINEAR_ALGEBRA}\etc\{#LINEAR_ALGEBRA}.quit; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\etc; Components: {#COMPN_SCILAB}
 Source: modules\{#LINEAR_ALGEBRA}\etc\{#LINEAR_ALGEBRA}.start; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\etc; Components: {#COMPN_SCILAB}
 ;
-Source: modules\{#LINEAR_ALGEBRA}\macros\buildmacros.sce; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#LINEAR_ALGEBRA}\macros\buildmacros.bat; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#LINEAR_ALGEBRA}\macros\cleanmacros.bat; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#LINEAR_ALGEBRA}\macros\lib; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#LINEAR_ALGEBRA}\macros\*.sci; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\macros; Components: {#COMPN_SCILAB}
 Source: modules\{#LINEAR_ALGEBRA}\macros\*.bin; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\macros; Components: {#COMPN_SCILAB}
-;
-Source: modules\{#LINEAR_ALGEBRA}\examples\*.*; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\examples; Flags: recursesubdirs;  Components: {#COMPN_SCILAB}
+Source: modules\{#LINEAR_ALGEBRA}\macros\*.sce; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\macros; Components: {#COMPN_SCILAB}
 ;
 Source: modules\{#LINEAR_ALGEBRA}\tests\*.*; DestDir: {app}\modules\{#LINEAR_ALGEBRA}\tests; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_TESTS}
 ;--------------------------------------------------------------------------------------------------------------