module sparse plugged. 56/11356/3
Cedric Delamarre [Mon, 22 Apr 2013 10:36:17 +0000 (12:36 +0200)]
Change-Id: I834fa9183308b19ce5f4fc87ab10c875d6655250

34 files changed:
scilab/Scilab.sln
scilab/modules/core/Makefile.am
scilab/modules/core/includes/callinterf.h
scilab/modules/core/src/c/callinterf.c
scilab/modules/core/src/fortran/core_f.vfproj
scilab/modules/core/src/fortran/hndlops.f [deleted file]
scilab/modules/functions/sci_gateway/cpp/functions_gw.vcxproj
scilab/modules/functions_manager/functions_manager.vcxproj
scilab/modules/functions_manager/includes/module_declaration.hxx
scilab/modules/functions_manager/src/cpp/funcmanager.cpp
scilab/modules/sparse/Makefile.am
scilab/modules/sparse/Makefile.in
scilab/modules/sparse/includes/dynlib_sparse_gw.h [new file with mode: 0644]
scilab/modules/sparse/includes/sparse_gw.hxx [new file with mode: 0644]
scilab/modules/sparse/sci_gateway/cpp/sci_adj2sp.cpp [moved from scilab/modules/types/sci_gateway/cpp/sci_adj2sp.cpp with 79% similarity]
scilab/modules/sparse/sci_gateway/cpp/sci_full.cpp [moved from scilab/modules/types/sci_gateway/cpp/sci_full.cpp with 98% similarity]
scilab/modules/sparse/sci_gateway/cpp/sci_nnz.cpp [moved from scilab/modules/types/sci_gateway/cpp/sci_nnz.cpp with 66% similarity]
scilab/modules/sparse/sci_gateway/cpp/sci_sp2adj.cpp [moved from scilab/modules/types/sci_gateway/cpp/sci_sp2adj.cpp with 88% similarity]
scilab/modules/sparse/sci_gateway/cpp/sci_sparse.cpp [moved from scilab/modules/types/sci_gateway/cpp/sci_sparse.cpp with 99% similarity]
scilab/modules/sparse/sci_gateway/cpp/sci_spcompack.cpp [moved from scilab/modules/types/sci_gateway/cpp/sci_spcompack.cpp with 56% similarity]
scilab/modules/sparse/sci_gateway/cpp/sci_spget.cpp [moved from scilab/modules/types/sci_gateway/cpp/sci_spget.cpp with 99% similarity]
scilab/modules/sparse/sci_gateway/cpp/sci_spones.cpp [moved from scilab/modules/types/sci_gateway/cpp/sci_spones.cpp with 88% similarity]
scilab/modules/sparse/sci_gateway/cpp/sci_spzeros.cpp [moved from scilab/modules/types/sci_gateway/cpp/sci_spzeros.cpp with 99% similarity]
scilab/modules/sparse/sci_gateway/cpp/sparse_gw.cpp [new file with mode: 0644]
scilab/modules/sparse/sci_gateway/cpp/sparse_gw.vcxproj [new file with mode: 0644]
scilab/modules/sparse/sci_gateway/cpp/sparse_gw.vcxproj.filters [new file with mode: 0644]
scilab/modules/sparse/sci_gateway/sparse_gateway.xml [deleted file]
scilab/modules/sparse/src/fortran/sparse_f.vfproj
scilab/modules/types/Makefile.am
scilab/modules/types/Makefile.in
scilab/modules/types/includes/types_gw.hxx
scilab/modules/types/sci_gateway/cpp/types_gw.cpp
scilab/modules/types/sci_gateway/cpp/types_gw.vcxproj [moved from scilab/modules/types/sci_gateway/cpp/types_gw/types_gw.vcxproj with 72% similarity]
scilab/modules/types/sci_gateway/cpp/types_gw.vcxproj.filters [moved from scilab/modules/types/sci_gateway/cpp/types_gw/types_gw.vcxproj.filters with 80% similarity]

index 93f6eee..eb63504 100644 (file)
@@ -493,8 +493,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "io_gw", "modules\io\src\cpp
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xcos", "modules\xcos\src\c\xcos.vcxproj", "{494FA8C9-6C85-4175-BE4C-9A113C7A3278}"
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "types_gw", "modules\types\sci_gateway\cpp\types_gw\types_gw.vcxproj", "{C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}"
-EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "functions_gw", "modules\functions\sci_gateway\cpp\functions_gw.vcxproj", "{67FF36D3-EC5A-4F0D-BF3B-A84A66D77294}"
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "output_stream_gw", "modules\output_stream\sci_gateway\cpp\output_stream_gw\output_stream_gw.vcxproj", "{C000FDF7-4D32-4630-9595-560D9CC66D11}"
@@ -622,6 +620,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nohistory_browser", "module
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nolibjvm", "modules\jvm\src\nojvm\nojvm.vcxproj", "{889AD61B-12E9-4F85-8525-B83C16C88C3F}"
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "types_gw", "modules\types\sci_gateway\cpp\types_gw.vcxproj", "{C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sparse_gw", "modules\sparse\sci_gateway\cpp\sparse_gw.vcxproj", "{7FC7AEC9-4922-4864-83F1-EAED67981AAC}"
+EndProject
 Global
        GlobalSection(SolutionConfigurationPlatforms) = preSolution
                Debug|Win32 = Debug|Win32
@@ -1534,14 +1536,6 @@ Global
                {494FA8C9-6C85-4175-BE4C-9A113C7A3278}.Release|Win32.Build.0 = Release|Win32
                {494FA8C9-6C85-4175-BE4C-9A113C7A3278}.Release|x64.ActiveCfg = Release|x64
                {494FA8C9-6C85-4175-BE4C-9A113C7A3278}.Release|x64.Build.0 = Release|x64
-               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Debug|Win32.ActiveCfg = Debug|Win32
-               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Debug|Win32.Build.0 = Debug|Win32
-               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Debug|x64.ActiveCfg = Debug|x64
-               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Debug|x64.Build.0 = Debug|x64
-               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Release|Win32.ActiveCfg = Release|Win32
-               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Release|Win32.Build.0 = Release|Win32
-               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Release|x64.ActiveCfg = Release|x64
-               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Release|x64.Build.0 = Release|x64
                {67FF36D3-EC5A-4F0D-BF3B-A84A66D77294}.Debug|Win32.ActiveCfg = Debug|Win32
                {67FF36D3-EC5A-4F0D-BF3B-A84A66D77294}.Debug|Win32.Build.0 = Debug|Win32
                {67FF36D3-EC5A-4F0D-BF3B-A84A66D77294}.Debug|x64.ActiveCfg = Debug|x64
@@ -1894,6 +1888,22 @@ Global
                {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Release|Win32.Build.0 = Release|Win32
                {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Release|x64.ActiveCfg = Release|x64
                {889AD61B-12E9-4F85-8525-B83C16C88C3F}.Release|x64.Build.0 = Release|x64
+               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Debug|Win32.ActiveCfg = Debug|Win32
+               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Debug|Win32.Build.0 = Debug|Win32
+               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Debug|x64.ActiveCfg = Debug|x64
+               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Debug|x64.Build.0 = Debug|x64
+               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Release|Win32.ActiveCfg = Release|Win32
+               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Release|Win32.Build.0 = Release|Win32
+               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Release|x64.ActiveCfg = Release|x64
+               {C2E5F4F6-5EE7-4B36-BFAC-4AC36BB41420}.Release|x64.Build.0 = Release|x64
+               {7FC7AEC9-4922-4864-83F1-EAED67981AAC}.Debug|Win32.ActiveCfg = Debug|Win32
+               {7FC7AEC9-4922-4864-83F1-EAED67981AAC}.Debug|Win32.Build.0 = Debug|Win32
+               {7FC7AEC9-4922-4864-83F1-EAED67981AAC}.Debug|x64.ActiveCfg = Debug|x64
+               {7FC7AEC9-4922-4864-83F1-EAED67981AAC}.Debug|x64.Build.0 = Debug|x64
+               {7FC7AEC9-4922-4864-83F1-EAED67981AAC}.Release|Win32.ActiveCfg = Release|Win32
+               {7FC7AEC9-4922-4864-83F1-EAED67981AAC}.Release|Win32.Build.0 = Release|Win32
+               {7FC7AEC9-4922-4864-83F1-EAED67981AAC}.Release|x64.ActiveCfg = Release|x64
+               {7FC7AEC9-4922-4864-83F1-EAED67981AAC}.Release|x64.Build.0 = Release|x64
        EndGlobalSection
        GlobalSection(SolutionProperties) = preSolution
                HideSolutionNode = FALSE
index c27702f..ea395ea 100644 (file)
@@ -109,7 +109,6 @@ src/fortran/setippty.f \
 src/fortran/compil.f \
 src/fortran/funnam.f \
 src/fortran/cmdstr.f \
-src/fortran/hndlops.f \
 src/fortran/cmplxt.f \
 src/fortran/skpins.f \
 src/fortran/folhp.f \
index ebb74a5..e037bef 100644 (file)
 /* 18 */                                               #include "dynamic_gateways.h" /* signal_processing */
 /* 19 */                                               #include "dynamic_gateways.h" /* interpolation */
 /* 20 */                                               #include "../../cacsd/includes/gw_cacsd3.h"
-/* 21 */                                               /*#include "../../string/includes/gw_string.h"*/
+/* 21 *///                                             #include "../../string/includes/gw_string.h"
 /* 22 */                                               #include "dynamic_gateways.h" /* symbolic */
 /* 23 */                                               #include "../../boolean/includes/gw_boolean.h"
 /* 24  gw_user2(); RESERVED to gw_user (see callinter.h) */
 #include "gw_user2.h"
 /* 25 */                                               #include "../../gui/includes/gw_gui.h"
 /* 26 *///                                             #include "../../differential_equations/includes/gw_differential_equations2.h"
-/* 27 */                                               #include "../../sparse/includes/gw_sparse.h"
-/* 28 */                                               //#include "../../cacsd/includes/gw_slicot.h"
+/* 27 *///                                             #include "../../sparse/includes/gw_sparse.h"
+/* 28 *///                                             #include "../../cacsd/includes/gw_slicot.h"
 /* 29 *///                                             #include "../../differential_equations/includes/gw_differential_equations3.h"
 /* 30 *///                                             #include "../../differential_equations/includes/gw_differential_equations4.h"
 /* 31 */                                       #include "dynamic_gateways.h"   /* functions */
index c4d30e2..09001e0 100644 (file)
@@ -63,7 +63,7 @@ static OpTab Interfaces[INTERFACES_MAX] =
     /* 24  */ {gw_user2}, /* RESERVED (see callinter.h) */
     /* 25  */ {gw_gui},
     /* 26  */ {NULL}, //gw_differential_equations2
-    /* 27  */ {gw_sparse},
+    /* 27  */ {NULL}, //gw_sparse
     /* 28  */ {NULL}, //gw_slicot
     /* 29  */ {NULL}, //gw_differential_equations3
     /* 30  */ {NULL}, //gw_differential_equations4
index 7cf36a6..f03ba23 100644 (file)
                <File RelativePath="getstr.f"/>
                <File RelativePath="getsym.f"/>
                <File RelativePath="hmcreate.f"/>
-               <File RelativePath="hndlops.f"/>
                <File RelativePath="indxg.f"/>
                <File RelativePath="intstr.f"/>
                <File RelativePath="isany.f"/>
diff --git a/scilab/modules/core/src/fortran/hndlops.f b/scilab/modules/core/src/fortran/hndlops.f
deleted file mode 100644 (file)
index 9b9b5c6..0000000
+++ /dev/null
@@ -1,1298 +0,0 @@
-c Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-c Copyright (C) INRIA
-c 
-c This file must be used under the terms of the CeCILL.
-c This source file is licensed as described in the file COPYING, which
-c you should have received as part of this distribution.  The terms
-c are also available at    
-c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
-
-      subroutine hndlops
-c     
-c     operations sur les matrices de handle
-c     
-      include 'stack.h'
-      character tmpbuf * (bsiz)
-      integer op
-c     
-      integer dot,colon,quote
-      integer less,equal
-c     
-      data dot/51/,quote/53/,colon/44/
-      data less/59/,equal/50/
-c     
-      op=fin
-c     
-      if (ddt .eq. 4) then
-         write(tmpbuf(1:4),'(i4)') fin
-         call basout(io,wte,' hndlops op: '//tmpbuf(1:4))
-      endif
-c     
-c     operations binaires et ternaires
-c     --------------------------------
-c     
-      fun = 0
-c     
-c     cconc  extrac insert rconc
-      goto(75  ,  95  ,  78   ,76) op
-c     
-c     :  +  -  * /  \  =          '
-      goto(07,07,07,07,07,07,130,06,06,70) op+1-colon
-c     
- 06   continue
-      if(op.eq.quote+dot) goto 70
-      if(op.ge.less+equal) goto 130
-
- 07   fin=-fin
-      return
-      
-c     
-c     ' or .'
- 70   continue
-      call hndltr
-      goto 999
-c     
-c     concatenation [a b]
- 75   continue
-      call hndlrc
-      goto 999
-c     
-c     concatenation [a;b]
- 76   continue
-      call hndlcc
-      goto 999
-c     
-c     extraction a(i) and a(i,j)
-c     
- 78   continue
-      if (rhs.eq.2) then
-         call hndlext1
-      elseif (rhs.eq.3) then
-         call hndlext2
-      else
-         fin=-fin
-      endif
-      go to 999
-c     
-c     insertion
-c     
- 95   continue
-      if (rhs.eq.3) then
-         call hndlins1
-      elseif (rhs.eq.4) then
-         call hndlins2
-      else
-         fin=-fin
-      endif
-      goto 999
-
-c     == <= >= ~=
- 130  continue
-      call hndlcmp
-      goto 999
-c     
-      
- 999  return
-      end
-
-      subroutine hndltr
-c     
-c     .'
-c     
-c     Copyright INRIA
-      include 'stack.h'
-c     
-      integer vol
-      integer iadr,sadr
-c     
-      iadr(l)=l+l-1
-      sadr(l)=(l/2)+1
-c     
-      il1=iadr(lstk(top))
-      if(istk(il1).lt.0) il1=iadr(istk(il1+1))
-      m1=istk(il1+1)
-      n1=istk(il1+2)
-      l1=sadr(il1+4)
-      mn1=m1*n1
-c     
-      if(mn1 .eq. 0.or.istk(il1).eq.0) then
-         return
-      elseif(abs(m1).eq.1.or.abs(n1).eq.1) then
-         goto 10
-      else
-         vol=mn1
-         ll = l1+vol
-         err = ll+vol - lstk(bot)
-         if (err .gt. 0) then
-            call error(17)
-            return
-         endif
-         call unsfdcopy(vol,stk(l1),1,stk(ll),1)
-         call mtran(stk(ll),m1,stk(l1),n1,m1,n1)
-      endif
- 10   istk(il1+1)=n1
-      istk(il1+2)=m1
-      return
-      end
-
-      subroutine hndlrc
-c     
-c     [a b]
-c     
-c     Copyright INRIA
-      include 'stack.h'
-c     
-      integer iadr,sadr
-c     
-      iadr(l)=l+l-1
-      sadr(l)=(l/2)+1
-c     
-      lw=lstk(top+1)+1
-c     
-      il2=iadr(lstk(top))
-      if(istk(il2).lt.0) il2=iadr(istk(il2+1))
-      m2=istk(il2+1)
-      n2=istk(il2+2)
-      l2=sadr(il2+4)
-      mn2=m2*n2
-      top=top-1
-c     
-      il1=iadr(lstk(top))
-      if(istk(il1).lt.0) il1=iadr(istk(il1+1))
-      m1=istk(il1+1)
-      n1=istk(il1+2)
-      l1=sadr(il1+4)
-      mn1=m1*n1
-
-
-      if(m1.lt.0.or.m2.lt.0) then
-         call error(14)
-         return
-      endif
-      if(m2.eq.0) then
-         return
-      elseif(m1.eq.0)then
-         call unsfdcopy(lstk(top+2)-lstk(top+1),stk(lstk(top+1))
-     $        ,1,stk(lstk(top)),1)
-         lstk(top+1)=lstk(top)+lstk(top+2)-lstk(top+1)
-         return
-      elseif(m1.ne.m2) then
-         call error(5)
-         return
-      endif
-      if (istk(il1).ne.istk(il2)) then
-         top=top +1
-         fin=-fin
-         return
-      endif
-
-c     
-      call unsfdcopy(mn2,stk(l2),1,stk(l1+mn1),1)
-      n=n1+n2
-      istk(il1+1)=m1
-      istk(il1+2)=n
-      lstk(top+1)=sadr(il1+4)+m1*n
-      return
-      end
-
-      subroutine hndlcc
-c     
-c     [a;b]
-c     
-c     Copyright INRIA
-      include 'stack.h'
-c     
-      integer iadr,sadr
-c     
-      iadr(l)=l+l-1
-      sadr(l)=(l/2)+1
-c     
-      lw=lstk(top+1)+1
-c     
-      il2=iadr(lstk(top))
-      if(istk(il2).lt.0) il2=iadr(istk(il2+1))
-      m2=istk(il2+1)
-      n2=istk(il2+2)
-      l2=sadr(il2+4)
-      mn2=m2*n2
-      top=top-1
-c     
-      il1=iadr(lstk(top))
-      if(istk(il1).lt.0) il1=iadr(istk(il1+1))
-      m1=istk(il1+1)
-      n1=istk(il1+2)
-      l1=sadr(il1+4)
-      mn1=m1*n1
-c     
-      if(n1.lt.0.or.n2.lt.0) then
-         call error(14)
-         return
-      elseif(n2.eq.0) then
-c     .  [a;[]]
-         return
-      elseif(n1.eq.0)then
-c     .  [[];b]
-         call unsfdcopy(lstk(top+2)-lstk(top+1),stk(lstk(top+1))
-     $        ,1,stk(lstk(top)),1)
-         lstk(top+1)=lstk(top)+lstk(top+2)-lstk(top+1)
-         return
-      elseif(n1.ne.n2) then
-         call error(6)
-         return
-      endif
-
-      if (istk(il1).ne.istk(il2)) then
-         top=top +1
-         fin=-fin
-         return
-      endif
-
-      m=m1+m2
-      mn=m*n1
-      if(n1.eq.1) then
-         call unsfdcopy(mn2,stk(l2),1,stk(l1+mn1),1)
-         istk(il1+1)=m
-         lstk(top+1)=l1+mn
-         return
-      endif
-      lw1=max(lw,l1+mn)
-      lw2=lw1+mn1
-      err=lw2+mn2-lstk(bot)
-      if(err.gt.0) then
-         call error(17)
-         return
-      endif
-      call unsfdcopy(mn2,stk(l2),1,stk(lw2),1)
-      call unsfdcopy(mn1,stk(l1),1,stk(lw1),1)
-c     
-      call dmcopy(stk(lw1),m1,stk(l1),m,m1,n1)
-      call dmcopy(stk(lw2),m2,stk(l1+m1),m,m2,n1)
-      istk(il1+1)=m
-      istk(il1+2)=n1
-      lstk(top+1)=sadr(il1+4)+mn
-      return
-      end
-
-      subroutine hndlext1
-c     
-c     B=A(i)
-c     
-c     Copyright INRIA
-      include 'stack.h'
-c     
-      integer iadr,sadr
-c     
-      iadr(l)=l+l-1
-      sadr(l)=(l/2)+1
-c     
-      lw=lstk(top+1)+1
-c     
-      il2=iadr(lstk(top))
-      if(istk(il2).lt.0) il2=iadr(istk(il2+1))
-      m2=istk(il2+1)
-      n2=istk(il2+2)
-      l2=sadr(il2+4)
-      mn2=m2*n2
-      top=top-1
-c     
-      il1=iadr(lstk(top))
-      if(istk(il1).lt.0) il1=iadr(istk(il1+1))
-      if(istk(il1).eq.10.or.istk(il1).eq.15) then
-         top=top+1
-         fin=-fin
-         return
-      endif
-      m1=istk(il1+1)
-      n1=istk(il1+2)
-      l1=sadr(il1+4)
-      mn1=m1*n1
-
-c     arg2(arg1)
-      if (istk(il1).eq.0) then
-         call error(220)
-         return
-      endif
-
-      if(mn2.eq.0) then 
-c     .  arg2=[]
-         il1=iadr(lstk(top))
-         istk(il1)=1
-         istk(il1+1)=0
-         istk(il1+2)=0
-         istk(il1+3)=0
-         lstk(top+1)=sadr(il1+4)
-         return
-      elseif(m2.lt.0) then
-c     .  arg2=eye
-         call error(14)
-         return
-      elseif(m1.lt.0) then
-c     .  arg2(:), just reshape to column vector
-         il1=iadr(lstk(top))
-         istk(il1)=9
-         istk(il1+1)=mn2
-         istk(il1+2)=1
-         l1=sadr(il1+4)
-         call unsfdcopy(mn2,stk(l2),1,stk(l1),1)
-         lstk(top+1)=l1+mn2
-         return
-      endif
-c     check and convert indices variable
-      call indxg(il1,mn2,ilr,mi,mx,lw,1)
-      if(err.gt.0) return
-      if(mx.gt.mn2) then
-         call error(21)
-         return
-      endif
-      if(mi.eq.0) then
-c     arg2([])
-         il1=iadr(lstk(top))
-         istk(il1)=1
-         istk(il1+1)=0
-         istk(il1+2)=0
-         istk(il1+3)=0
-         l1=sadr(il1+4)
-         lstk(top+1)=l1
-         return
-      endif
-c     get memory for the result
-      il1=iadr(lstk(top))
-      l1=sadr(il1+4)
-      if(sadr(ilr-1).le.l1+mi) then
-         lr=lw
-         lw=lr+mi
-         err=lw-lstk(bot)
-         if(err.gt.0) then
-            call error(17)
-            return
-         endif
-      else
-         lr=l1
-      endif
-c     perform extraction
-      do 81 i = 0, mi-1
-         ind=istk(ilr+i)-1
-         stk(lr+i) = stk(l2+ind)
- 81   continue
-c     set output sizes
-      if (m2.eq.1.and.n2.eq.1.and.m1.gt.0) then
-         m = m1
-         n = min(n1,mi)
-      elseif (m2 .gt. 1.or.m1.lt.0) then
-         m = mi
-         n = 1
-      else
-         n = mi
-         m = 1
-      endif
-c     form resulting variable
-      istk(il1)=9
-      istk(il1+1)=m
-      istk(il1+2)=n
-      if(lr.ne.l1) call unsfdcopy(mi,stk(lr),1,stk(l1),1)
-      lstk(top+1)=l1+mi
-      return
-      end
-
-      subroutine hndlext2
-c     
-c     B=A(i,j)
-c     
-c     Copyright INRIA
-      include 'stack.h'
-c     
-      integer iadr,sadr
-c     
-      iadr(l)=l+l-1
-      sadr(l)=(l/2)+1
-c     
-      lw=lstk(top+1)+1
-
-      il3=iadr(lstk(top))
-      if(istk(il3).lt.0) il3=iadr(istk(il3+1))
-      m3=istk(il3+1)
-      n3=istk(il3+2)
-      l3=sadr(il3+4)
-      mn3=m3*n3
-      top=top-1
-c     
-      il2=iadr(lstk(top))
-      if(istk(il2).lt.0) il2=iadr(istk(il2+1))
-      m2=istk(il2+1)
-      n2=istk(il2+2)
-      l2=sadr(il2+4)
-      mn2=m2*n2
-      top=top-1
-c     
-      il1=iadr(lstk(top))
-      if(istk(il1).lt.0) il1=iadr(istk(il1+1))
-      m1=istk(il1+1)
-      n1=istk(il1+2)
-      it1=istk(il1+3)
-      l1=sadr(il1+4)
-      mn1=m1*n1
-c     
-c     arg3(arg1,arg2)
-      if(rhs.gt.3) then
-         call error(36)
-         return
-      endif
-      if(mn3.eq.0) then 
-c     .  arg3=[]
-         il1=iadr(lstk(top))
-         istk(il1)=1
-         istk(il1+1)=0
-         istk(il1+2)=0
-         istk(il1+3)=0
-         lstk(top+1)=sadr(il1+4)
-         return
-      elseif(m3.lt.0) then
-c     .arg3=eye
-         call error(14)
-         return
-      endif
-c     check and convert indices variables
-      call indxg(il1,m3,ili,mi,mxi,lw,1)
-      if(err.gt.0) return
-      if(mxi.gt.m3) then
-         call error(21)
-         return
-      endif
-      call indxg(il2,n3,ilj,nj,mxj,lw,1)
-      if(err.gt.0) return
-      if(mxj.gt.n3) then
-         call error(21)
-         return
-      endif
-c     
-      mn=mi*nj
-      if(mn.eq.0) then 
-c     .  arg1=[] or arg2=[] 
-         il1=iadr(lstk(top))
-         istk(il1)=1
-         istk(il1+1)=0
-         istk(il1+2)=0
-         istk(il1+3)=0
-         lstk(top+1)=sadr(il1+4)
-         return
-      endif
-c     get memory for the result
-      il1=iadr(lstk(top))
-      l1=sadr(il1+4)
-      if(sadr(ili-1).le.l1+mi*nj) then
-         lr=lw
-         lw=lr+mi*nj
-         err=lw-lstk(bot)
-         if(err.gt.0) then
-            call error(17)
-            return
-         endif
-      else
-c     .  the result may be installed at its final place
-         lr=l1
-      endif
-c     perform extraction
-      l=lr
-      do 94 j = 0, nj-1
-         do 93 i = 0, mi-1
-            ind=istk(ili+i)-1+(istk(ilj+j)-1)*m3
-            stk(l) = stk(l3+ind)
-            l=l+1
- 93      continue
- 94   continue
-c     form the resulting variable
-      istk(il1)=9
-      istk(il1+1)=mi
-      istk(il1+2)=nj
-      if(lr.ne.l1) call unsfdcopy(mn,stk(lr),1,stk(l1),1)
-      lstk(top+1)=l1+mn
-      return
-      end
-
-      subroutine hndlins1
-c     
-c     A(i)=B
-c     
-c     Copyright INRIA
-      include 'stack.h'
-c     
-      logical isany
-      integer top0
-      integer iadr,sadr
-c     
-      iadr(l)=l+l-1
-      sadr(l)=(l/2)+1
-c     
-      top0=top
-      lw=lstk(top+1)+1
-
-      il3=iadr(lstk(top))
-      if(istk(il3).lt.0) il3=iadr(istk(il3+1))
-      if(istk(il3).eq.1) then
-         if (istk(il3+1)*istk(il3+2).eq.0) goto 01
-         top=top0
-         fin=-fin
-         return
-      endif
-
-      if(istk(il3).ne.9) then
-         top=top0
-         fin=-fin
-         return
-      endif
- 01   m3=istk(il3+1)
-      n3=istk(il3+2)
-      it3=istk(il3+3)
-      l3=sadr(il3+4)
-      mn3=m3*n3
-      top=top-1
-c     
-      il2=iadr(lstk(top))
-      if(istk(il2).lt.0) il2=iadr(istk(il2+1))
-      if(istk(il2).eq.1) then
-         if (istk(il2+1)*istk(il2+2).eq.0) goto 02
-      endif
-      if(istk(il2).ne.9) then
-         top=top0
-         fin=-fin
-         return
-      endif
-      
- 02   m2=istk(il2+1)
-      n2=istk(il2+2)
-      it2=istk(il2+3)
-      l2=sadr(il2+4)
-      mn2=m2*n2
-      top=top-1
-c     
-      il1=iadr(lstk(top))
-      ilrs=il1
-      if(istk(il1).lt.0) il1=iadr(istk(il1+1))
-      if (istk(il1).eq.10.or.istk(il1).eq.15) then
-         top=top0
-         fin=-fin
-         return
-      endif
-      m1=istk(il1+1)
-      n1=istk(il1+2)
-      it1=istk(il1+3)
-      l1=sadr(il1+4)
-      mn1=m1*n1
-
-
-c     arg3(arg1)=arg2
-c     
-      if (istk(il2)*istk(il1).eq.0) then
-         call error(220)
-         return
-      endif
-      if (m2.eq.0) then
-c     .  arg3(arg1)=[] -->[]
-         if(m1.eq.-1) then
-c     .    arg3(:)=[] 
-            istk(ilrs)=1
-            istk(ilrs+1)=0
-            istk(ilrs+2)=0
-            istk(ilrs+3)=0
-            lstk(top+1)=sadr(ilrs+4)
-            return
-         elseif(m1.eq.0) then
-c     .     arg3([])=[]  --> arg3
-            call icopy(4,istk(il3),1,istk(ilrs),1)
-            l=sadr(ilrs+4)
-            call unsfdcopy(mn3,stk(l3),1,stk(l),1)
-            lstk(top+1)=l+mn3
-            return
-         else
-c     .     arg3(arg1)=[]
-            if(istk(il1).eq.4.and.m3.eq.m1.and.n3.eq.n1) then
-               if(.not.isany(il1)) then
-c     .           arg3([])=[]  --> arg3
-                  call icopy(4,istk(il3),1,istk(ilrs),1)
-                  l=sadr(ilrs+4)
-                  call unsfdcopy(mn3,stk(l3),1,stk(l),1)
-                  lstk(top+1)=l+mn3
-                  return
-               endif
-            endif
-c     .     arg3(arg1)=[] -->arg3(compl(arg1))
-            call indxgc(il1,mn3,ilr,mi,mx,lw)
-            if(err.gt.0) return
-            l2=l3
-            n2=n3
-            m2=m3
-            mn2=m2*n2
-c     .     call extraction
-            goto 79
-         endif
-      elseif(m2.lt.0.or.m3.lt.0) then
-c     .  arg3=eye,arg2=eye
-         call error(14)
-         return
-      elseif(m1.lt.0) then
-c     .  arg3(:)=arg2
-         if(mn2.eq.mn3) then
-            istk(ilrs)=1
-            istk(ilrs+1)=m3
-            istk(ilrs+2)=n3
-            istk(ilrs+3)=it2
-            l1=sadr(ilrs+4)
-            call unsfdcopy(mn2,stk(l2),1,stk(l1),1)
-            lstk(top+1)=l1+mn2
-            return
-         elseif(mn2.eq.1) then
-            istk(ilrs)=1
-            istk(ilrs+1)=m3
-            istk(ilrs+2)=n3
-            istk(ilrs+3)=it2
-            l1=sadr(ilrs+4)
-            call dset(mn3,stk(l2),stk(l1),1)
-            lstk(top+1)=l1+mn3
-            return
-         else
-            call error(15)
-            return
-         endif
-      endif
-      call indxg(il1,mn3,ili,mi,mxi,lw,1)
-      if(err.gt.0) return
-      if(mi.eq.0) then
-c     .  arg3([])=arg2
-         if(mn2.eq.1) then
-c     .  arg3([])=c  --> arg3
-            call icopy(4,istk(il3),1,istk(ilrs),1)
-            l=sadr(ilrs+4)
-            call unsfdcopy(mn3,stk(l3),1,stk(l),1)
-            lstk(top+1)=l+mn3
-            return
-         else
-            call error(15)
-            return
-         endif  
-      endif
-      inc2=1
-      if(mi.ne.mn2) then
-         if(mn2.eq.1) then
-            inc2=0
-         else
-            call error(15)
-            return
-         endif
-      endif
-c     
-      if (n3.gt.1.and.m3.gt.1) then
-c     .  arg3 is not a vector
-         if(n2.gt.1.and.m2.gt.1) then
-            call error(15)
-            return
-         endif
-         if(mxi.gt.m3*n3) then
-            call error(21)
-            return
-         endif
-         mr=m3
-         nr=n3
-
-c     commented lines for matlab compatibility
-c     elseif (n3.le.1.and.m3.le.1) then
-c     if(n2.le.1) then
-c     mr=max(m3,mxi)
-c     nr=max(n3,1)
-c     else
-c     nr=max(n3,mxi)
-c     mr=max(m3,1)
-c     endif
-c     elseif (n3.le.1) then
-c     .  arg3 and arg2 are  column vectors
-c     mr=max(m3,mxi)
-c     nr=max(n3,1)
-c     elseif (m3.le.1) then
-c     .  row vectors
-c     nr=max(n3,mxi)
-c     mr=max(m3,1)
-      elseif (n3.le.1.and.n2.le.1) then
-c     .  arg3 and arg2 are  column vectors
-         mr=max(m3,mxi)
-         nr=max(n3,1)
-      elseif (m3.le.1.and.m2.le.1) then
-c     .  row vectors
-         nr=max(n3,mxi)
-         mr=max(m3,1)
-      else
-c     .  arg3 and arg2 dimensions dont agree
-         call error(15)
-         return
-      endif
-
-      lr=l3
-      mnr=mr*nr
-      if(mnr.ne.mn3) then
-c     .  resulting matrix is bigger than original
-         lr=lw
-         lw=lr + mnr
-         err = lw - lstk(bot)
-         if (err .gt. 0) then
-            call error(17)
-            return
-         endif
-c     .  initialise result r to 0
-         call dset(mnr,0.0d+0,stk(lr),1)
-c     .  write arg3 in r
-         if(mn3.ge.1) then
-            call dmcopy(stk(l3),m3,stk(lr),mr,m3,n3)
-         endif
-      endif
-c     write arg2 in r
-      do 98 i = 0, mi-1
-         ll = lr+istk(ili+i) - 1
-         ls = l2+i*inc2
-         stk(ll) = stk(ls)
- 98   continue
-c     
-      if(lr.ne.l3) then
-         l1=sadr(ilrs+4)
-         call unsfdcopy(mnr,stk(lr),1,stk(l1),1)
-         istk(ilrs)=9
-         istk(ilrs+1)=mr
-         istk(ilrs+2)=nr
-         lstk(top+1)=l1+mnr
-      else
-c     la matrice a ete modifie sur place 
-         k=istk(iadr(lstk(top0))+2)
-         top=top-1
-         call setref(k)
-      endif
-      return
-c     inline extraction procedure copied from hndlext1
- 79   if(mi.eq.0) then
-c     arg2([])
-         istk(ilrs)=1
-         istk(ilrs+1)=0
-         istk(ilrs+2)=0
-         istk(ilrs+3)=0
-         l1=sadr(ilrs+4)
-         lstk(top+1)=l1
-         return
-      endif
-c     get memory for the result
-      l1=sadr(ilrs+4)
-      if(sadr(ilr-1).le.l1+mi) then
-         lr=lw
-         lw=lr+mi
-         err=lw-lstk(bot)
-         if(err.gt.0) then
-            call error(17)
-            return
-         endif
-      else
-         lr=l1
-      endif
-c     perform extraction
-      do 81 i = 0, mi-1
-         ind=istk(ilr+i)-1
-         stk(lr+i) = stk(l2+ind)
- 81   continue
-c     set output sizes
-      if (m2.eq.1.and.n2.eq.1.and.m1.gt.0) then
-         m = m1
-         n = min(n1,mi)
-      elseif (m2 .gt. 1.or.m1.lt.0) then
-         m = mi
-         n = 1
-      else
-         n = mi
-         m = 1
-      endif
-c     form resulting variable
-      istk(ilrs)=9
-      istk(ilrs+1)=m
-      istk(ilrs+2)=n
-      if(lr.ne.l1) call unsfdcopy(mi,stk(lr),1,stk(l1),1)
-      lstk(top+1)=l1+mi
-      return
-
-      end
-
-      subroutine hndlins2
-c     
-c     A(i,j)=B
-c     
-c     Copyright INRIA
-      include 'stack.h'
-c     
-      integer top0
-      integer iadr,sadr
-c     
-      iadr(l)=l+l-1
-      sadr(l)=(l/2)+1
-c     
-      top0=top
-      lw=lstk(top+1)+1
-
-      il4=iadr(lstk(top))
-      if(istk(il4).lt.0) il4=iadr(istk(il4+1))
-      if(istk(il4).ne.9) then
-         top=top0
-         fin=-fin
-         return
-      endif
-      m4=istk(il4+1)
-      n4=istk(il4+2)
-      it4=istk(il4+3)
-      l4=sadr(il4+4)
-      mn4=m4*n4
-      top=top-1
-
-      il3=iadr(lstk(top))
-      if(istk(il3).lt.0) il3=iadr(istk(il3+1))
-      if(istk(il3).eq.1) then
-         if (istk(il3+1)*istk(il3+2).eq.0) goto 02
-      endif
-      if(istk(il3).ne.9) then
-         top=top0
-         fin=-fin
-         return
-      endif
- 02   m3=istk(il3+1)
-      n3=istk(il3+2)
-      it3=istk(il3+3)
-      l3=sadr(il3+4)
-      mn3=m3*n3
-      top=top-1
-c     
-      il2=iadr(lstk(top))
-      if(istk(il2).lt.0) il2=iadr(istk(il2+1))
-      m2=istk(il2+1)
-      n2=istk(il2+2)
-      it2=istk(il2+3)
-      l2=sadr(il2+4)
-      mn2=m2*n2
-      top=top-1
-c     
-      il1=iadr(lstk(top))
-      ilrs=il1
-      if(istk(il1).lt.0) il1=iadr(istk(il1+1))
-      m1=istk(il1+1)
-      n1=istk(il1+2)
-      it1=istk(il1+3)
-      l1=sadr(il1+4)
-      mn1=m1*n1
-
-c     arg4(arg1,arg2)=arg3
-      if (istk(il3)*istk(il1)*istk(il2).eq.0) then
-         call error(220)
-         return
-      endif
-      if (m3.eq.0) then
-c     .  arg4(arg1,arg2)=[]
-         if(m1.eq.-1.and.m2.eq.-1) then
-c     .    arg4(:,:)=[] -->[]
-            istk(ilrs)=1
-            istk(ilrs+1)=0
-            istk(ilrs+2)=0
-            istk(ilrs+3)=0
-            lstk(top+1)=sadr(ilrs+4)
-            return
-         elseif(m1.eq.0.or.m2.eq.0) then
-c     .     arg4([],arg2)=[],  arg4(arg1,[])=[] --> arg4
-            call icopy(4,istk(il4),1,istk(ilrs),1)
-            l=sadr(ilrs+4)
-            call unsfdcopy(mn4,stk(l4),1,stk(l),1)
-            lstk(top+1)=l+mn4
-            return
-         elseif(m2.eq.-1) then
-c     .     arg4(arg1,:)=[] --> arg4(compl(arg1),:)
-            call indxgc(il1,m4,ili,mi,mxi,lw)
-            if(err.gt.0) return
-            call indxg(il2,n4,ilj,nj,mxj,lw,1)
-            if(err.gt.0) return
-            l3=l4
-            n3=n4
-            m3=m4
-            mn3=m3*n3
-c     .     call extraction
-            goto 90
-         elseif(m1.eq.-1) then
-c     .     arg4(:,arg2)=[] --> arg4(:,compl(arg2))
-            call indxgc(il2,n4,ilj,nj,mxj,lw)
-            if(err.gt.0) return
-            call indxg(il1,m4,ili,mi,mxi,lw,1)
-            if(err.gt.0) return
-            l3=l4
-            n3=n4
-            m3=m4
-            mn3=m3*n3
-c     .     call extraction
-            goto 90
-         else
-c     .     arg4(arg1,arg2)=[] 
-            lw1=lw
-            call indxgc(il2,n4,ilj,nj,mxj,lw)
-            if(err.gt.0) return
-            if(nj.eq.0) then
-c     .        arg4(arg1,1:n4)=[] 
-               call indxgc(il1,m4,ili,mi,mxi,lw)
-               lw2=lw
-               if(err.gt.0) return
-
-               if(mi.eq.0) then
-c     .           arg4(1:m4,1:n4)=[] 
-                  istk(ilrs)=1
-                  istk(ilrs+1)=0
-                  istk(ilrs+2)=0
-                  istk(ilrs+3)=0
-                  lstk(top+1)=sadr(ilrs+4)
-                  return
-               else
-c     .           arg4(arg1,1:n4)=[] 
-c     .           replace arg2 by ":"
-                  il2=iadr(lw2)
-                  istk(il2)=1
-                  istk(il2+1)=-1
-                  istk(il2+2)=-1
-                  istk(il2+3)=0
-c     .
-                  lw=lw2+2
-                  call indxg(il2,n4,ilj,nj,mxj,lw,1)
-                  if(err.gt.0) return
-                  l3=l4
-                  n3=n4
-                  m3=m4
-                  mn3=m3*n3
-c     .           call extraction
-                  goto 90
-               endif
-            elseif(nj.eq.n4) then
-c               arg4(arg1,[])=[] --> arg4
-               call icopy(4,istk(il4),1,istk(ilrs),1)
-               l=sadr(ilrs+4)
-               call unsfdcopy(mn4,stk(l4),1,stk(l),1)
-               lstk(top+1)=l+mn4
-               return
-            else
-               call indxgc(il1,m4,ili,mi,mxi,lw)
-               if(err.gt.0) return
-               if(mi.eq.0) then
-c     .           arg4(1:m4,arg2)=[] 
-                  call indxg(il1,m4,ili,mi,mxi,lw,1)
-                  if(err.gt.0) return
-                  l3=l4
-                  n3=n4
-                  m3=m4
-                  it3=it4
-                  mn3=m3*n3
-c     .           call extraction
-                  goto 90
-               elseif(mi.eq.m4) then
-c                 arg4([],arg2)=[] --> arg4
-                  call icopy(4,istk(il4),1,istk(ilrs),1)
-                  l=sadr(ilrs+4)
-                  call unsfdcopy(mn4,stk(l4),1,stk(l),1)
-                  lstk(top+1)=l+mn4
-                  return
-               else
-                  call error(15)
-                  return
-               endif
-            endif
-         endif
-      elseif(m3.lt.0.or.m4.lt.0) then
-c     .  arg3=eye , arg4=eye
-         call error(14)
-         return
-      elseif(m1.eq.-1.and.m2.eq.-1) then
-c     .  arg4(:,:)=arg3
-         if(mn3.eq.mn4) then
-c     .     reshape arg3 according to arg4
-            istk(ilrs)=9
-            istk(ilrs+1)=m4
-            istk(ilrs+2)=n4
-            l1=sadr(ilrs+4)
-            call unsfdcopy(mn4,stk(l3),1,stk(l1),1)
-            lstk(top+1)=l1+mn4
-            return
-         elseif(mn3.eq.1) then
-c     .     set all elements of arg4 to arg3
-            istk(ilrs)=9
-            istk(ilrs+1)=m4
-            istk(ilrs+2)=n4
-            istk(ilrs+3)=it3
-            l1=sadr(ilrs+4)
-            call dset(mn4,stk(l3),stk(l1),1)
-            lstk(top+1)=l1+mn4
-            return
-         else
-            call error(15)
-            return
-         endif
-      endif
-
-      call indxg(il1,m4,ili,mi,mxi,lw,1)
-      if(err.gt.0) return
-      call indxg(il2,n4,ilj,mj,mxj,lw,1)
-      if(err.gt.0) return
-      inc3=1
-      if(mi.ne.m3.or.mj.ne.n3) then
-c     .  sizes of arg1 or arg2 dont agree with arg3 sizes
-         if(m3*n3.eq.1) then
-            if(mi.eq.0.or.mj.eq.0) then
-               call icopy(4,istk(il4),1,istk(ilrs),1)
-               l=sadr(ilrs+4)
-               call unsfdcopy(mn4,stk(l4),1,stk(l),1)
-               lstk(top+1)=l+mn4
-               return
-            endif
-            inc3=0
-         else
-            call error(15)
-            return
-         endif
-      else
-         if(mi.eq.0.or.mj.eq.0) then
-            call error(15)
-            return
-         endif
-      endif
-      mr=max(m4,mxi)
-      nr=max(n4,mxj)
-c     
-
-      mnr=mr*nr
-      if(mnr.ne.mn4) then
-         lr=lw
-         lw=lr + mnr
-         err = lw - lstk(bot)
-         if (err .gt. 0) then
-            call error(17)
-            return
-         endif
-c     .  set result r to 0
-         call dset(mnr,0.0d+0,stk(lr),1)
-c     .  copy arg4 in r
-         if(mn4.ge.1) then
-            call dmcopy(stk(l4),m4,stk(lr),mr,m4,n4)
-         endif
-      else
-         lr=l4
-      endif
-c     
-c     copy arg3 elements in r
-      do 115 j = 0, mj-1
-         ljj =  istk(ilj+j) - 1
-         do 114 i = 0, mi-1
-            ll = lr+istk(ili+i)-1+ljj*mr
-            ls = l3+(i+j*m3)*inc3
-            stk(ll) = stk(ls)
- 114     continue
- 115  continue
-c     
-      if(lr.ne.l4) then
-         l1=sadr(ilrs+4)
-         call unsfdcopy(mnr,stk(lr),1,stk(l1),1)
-         istk(ilrs)=9
-         istk(ilrs+1)=mr
-         istk(ilrs+2)=nr
-         istk(ilrs+3)=0
-         lstk(top+1)=l1+mnr
-      else
-c     la matrice a ete modifie sur place 
-         k=istk(iadr(lstk(top0))+2)
-         top=top-1
-         call setref(k)
-      endif
-
-      return
-c     inline extraction procedure copied from hndlext2
- 90   mn=mi*nj
-      if(mn.eq.0) then 
-c     .  arg1=[] or arg2=[] 
-         ilrs=iadr(lstk(top))
-         istk(ilrs)=1
-         istk(ilrs+1)=0
-         istk(ilrs+2)=0
-         istk(ilrs+3)=0
-         lstk(top+1)=sadr(ilrs+4)
-         return
-      endif
-c     get memory for the result
-      ilrs=iadr(lstk(top))
-      l1=sadr(ilrs+4)
-      if(sadr(ili-1).le.l1+mi*nj) then
-         lr=lw
-         lw=lr+mi*nj
-         err=lw-lstk(bot)
-         if(err.gt.0) then
-            call error(17)
-            return
-         endif
-      else
-c     .  the result may be installed at its final place
-         lr=l1
-      endif
-c     perform extraction
-      l=lr
-      do 94 j = 0, nj-1
-         do 93 i = 0, mi-1
-            ind=istk(ili+i)-1+(istk(ilj+j)-1)*m3
-            stk(l) = stk(l3+ind)
-            l=l+1
- 93      continue
- 94   continue
-c     form the resulting variable
-      istk(ilrs)=9
-      istk(ilrs+1)=mi
-      istk(ilrs+2)=nj
-      istk(ilrs+3)=0
-      l1=sadr(ilrs+4)
-      if(lr.ne.l1) call unsfdcopy(mn,stk(lr),1,stk(l1),1)
-      lstk(top+1)=l1+mn
-      return
-
-      end
-
-      subroutine hndlcmp
-c     
-c     ==  <>
-c     
-c     Copyright INRIA
-      include 'stack.h'
-c     
-      integer top0,op
-      integer less,great,equal,cmp,comparehandles
-      integer iadr,sadr
-      data less/59/,great/60/,equal/50/
-c     
-      iadr(l)=l+l-1
-      sadr(l)=(l/2)+1
-c     
-      top0=top
-      op=fin
-      lw=lstk(top+1)+1
-c     
-      il2=iadr(lstk(top))
-      if(istk(il2).lt.0) il2=iadr(istk(il2+1))
-      m2=istk(il2+1)
-      n2=istk(il2+2)
-      it2=istk(il2+3)
-      l2=sadr(il2+4)
-      mn2=m2*n2
-      top=top-1
-c     
-      il1=iadr(lstk(top))
-      if(istk(il1).lt.0) il1=iadr(istk(il1+1))
-      m1=istk(il1+1)
-      n1=istk(il1+2)
-      it1=istk(il1+3)
-      l1=sadr(il1+4)
-      mn1=m1*n1
-
-      if(op.ne.equal.and.op.ne.less+great) then
-         fin=-fin
-         top=top+1
-         return
-      endif
-c     comparaisons
-      if(m1.eq.-1) then
-c     .  eye op b
-         err=lw+mn2-lstk(bot)
-         if(err.gt.0) then
-            call error(17)
-            return
-         endif
-         if(m2.eq.-1) then
-            m2=1
-            n2=1
-         elseif(mn2.gt.0) then
-            call dset(mn2,0.0d0,stk(lw),1)
-            call dset(min(m2,n2),stk(l1),stk(lw),m2+1)
-            if(it1.eq.1) then
-               call dset(mn2,0.0d0,stk(lw+mn2),1)
-               call dset(min(m2,n2),stk(l1+1),stk(lw+mn2),m2+1)
-            endif
-            l1=lw
-         endif
-         m1=m2
-         n1=n2
-         mn1=mn2
-         istk(il1+1)=m1
-         istk(il1+2)=n1
-      elseif(m2.eq.-1) then
-         err=lw+mn1-lstk(bot)
-         if(err.gt.0) then
-            call error(17)
-            return
-         endif
-         call dset(mn1,0.0d0,stk(lw),1)
-         call dset(min(m1,n1),stk(l2),stk(lw),m1+1)
-         l2=lw
-         mn2=mn1
-         m2=m1
-         n2=n1
-      elseif(mn1.eq.1.and.mn2.gt.1) then
-         err=lw+mn2-lstk(bot)
-         if(err.gt.0) then
-            call error(17)
-            return
-         endif
-         call dset(mn2,stk(l1),stk(lw),1)
-         l1=lw
-         mn1=mn2
-         m1=m2
-         n1=n2
-         istk(il1+1)=m1
-         istk(il1+2)=n1
-      elseif(mn2.eq.1.and.mn1.gt.1) then
-         err=lw+mn1-lstk(bot)
-         if(err.gt.0) then
-            call error(17)
-            return
-         endif
-         call dset(mn1,stk(l2),stk(lw),1)
-         l2=lw
-         mn2=mn1
-         m2=m1
-         n2=n1
-      endif
-      if(mn2.eq.0.or.mn1.eq.0) then
-         itrue=0
-         if(mn2.eq.0.and.mn1.eq.0) itrue=1
-         if(op.eq.less+great) itrue=1-itrue
-         istk(il1)=4
-         istk(il1+1)=1
-         istk(il1+2)=1
-         istk(il1+3)=itrue
-         lstk(top+1)=sadr(il1+4)
-         return
-      endif
-      if(n1.ne.n2.or.m1.ne.m2) then
-         istk(il1)=4
-         istk(il1+1)=1
-         istk(il1+2)=1
-         istk(il1+3)=0
-         if(op.eq.less+great) istk(il1+3)=1
-         lstk(top+1)=sadr(il1+4)
-      else
-         istk(il1)=4
-         if(mn1.eq.0) then
-            istk(il1+1)=1
-            istk(il1+2)=1
-            istk(il1+3)=1
-            if(op.ne.equal) istk(il1+3)=0
-            lstk(top+1)=sadr(il1+4)
-            return
-         endif
-         
-         do 132 i=0,mn1-1
-            cmp=comparehandles(stk(l1+i),stk(l2+i))
-            if((op.eq.equal.and.cmp.eq.1).or.
-     $           (op.eq.less+great.and. cmp.eq.0)) then
-               istk(il1+3+i)=1
-            else
-               istk(il1+3+i)=0
-            endif
- 132     continue
-      endif
-      lstk(top+1)=sadr(il1+3+mn1)
-      return
-      end
-
index 9d79647..726fe99 100644 (file)
       <Project>{7ca60aef-9afa-4d06-af28-613c0aa27640}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\types\sci_gateway\cpp\types_gw\types_gw.vcxproj">
-      <Project>{c2e5f4f6-5ee7-4b36-bfac-4ac36bb41420}</Project>
-      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
-    </ProjectReference>
     <ProjectReference Include="..\..\..\types\types.vcxproj">
       <Project>{64e090da-dcb5-4f4d-93d7-e88ddec9c2ef}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
index 45625e4..a084de4 100644 (file)
     <ProjectReference Include="..\signal_processing\sci_gateway\cpp\signal_processing_gw.vcxproj">
       <Project>{a968a82e-b2dc-4ed2-bd9b-12c1e97abbb4}</Project>
     </ProjectReference>
+    <ProjectReference Include="..\sparse\sci_gateway\cpp\sparse_gw.vcxproj">
+      <Project>{7fc7aec9-4922-4864-83f1-eaed67981aac}</Project>
+    </ProjectReference>
     <ProjectReference Include="..\statistics\sci_gateway\cpp\statistics_gw.vcxproj">
       <Project>{eae1009f-b967-43c4-9408-97a37efa8678}</Project>
     </ProjectReference>
       <Project>{28305722-6486-481d-bd0f-b4398d8a09c5}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
-    <ProjectReference Include="..\types\sci_gateway\cpp\types_gw\types_gw.vcxproj">
+    <ProjectReference Include="..\types\sci_gateway\cpp\types_gw.vcxproj">
       <Project>{c2e5f4f6-5ee7-4b36-bfac-4ac36bb41420}</Project>
-      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
     <ProjectReference Include="..\types\types.vcxproj">
       <Project>{64e090da-dcb5-4f4d-93d7-e88ddec9c2ef}</Project>
index 14ab16b..c34bdcc 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "../../elementary_functions/includes/elem_func_gw.hxx"
 #include "../../types/includes/types_gw.hxx"
+#include "../../sparse/includes/sparse_gw.hxx"
 #include "../../boolean/includes/boolean_gw.hxx"
 #include "../../integer/includes/integer_gw.hxx"
 #include "../../core/includes/core_gw.hxx"
index 8646c98..bee4583 100644 (file)
@@ -291,6 +291,7 @@ bool FuncManager::CreateModuleList(void)
 {
     m_ModuleMap.insert(pair<wstring, GW_MOD>(L"elementary_functions", &ElemFuncModule::Load));
     m_ModuleMap.insert(pair<wstring, GW_MOD>(L"types", &TypesModule::Load));
+    m_ModuleMap.insert(pair<wstring, GW_MOD>(L"sparse", &SparseModule::Load));
     m_ModuleMap.insert(pair<wstring, GW_MOD>(L"boolean", &BooleanModule::Load));
     m_ModuleMap.insert(pair<wstring, GW_MOD>(L"integer", &IntegerModule::Load));
     m_ModuleMap.insert(pair<wstring, GW_MOD>(L"core", &CoreModule::Load));
index bd79478..c7c5250 100644 (file)
 #
 # This file is distributed under the same license as the Scilab package.
 
-SPARSE_C_SOURCES = \
-src/c/spUtils.c \
-src/c/mspelm.c \
-src/c/lu.c \
-src/c/spFactor.c \
-src/c/spBuild.c \
-src/c/spOutput.c \
-src/c/spAllocate.c \
-src/c/spSolve.c
-# src/c/spFortran.c
-
-SPARSE_FORTRAN_SOURCES = src/fortran/spcompack.f \
-src/fortran/wsposp.f \
-src/fortran/findl.f \
-src/fortran/spcho1.f \
-src/fortran/dspful.f \
-src/fortran/blkslv.f \
-src/fortran/wspcle.f \
-src/fortran/wspt.f \
-src/fortran/wspssp.f \
-src/fortran/lspmat.f \
-src/fortran/lsosp.f \
-src/fortran/blkfc1.f \
-src/fortran/wspxsp.f \
-src/fortran/lspful.f \
-src/fortran/blkfct.f \
-src/fortran/symfct.f \
-src/fortran/dspt.f \
-src/fortran/wspos.f \
-src/fortran/dful2sp.f \
-src/fortran/sputil.f \
-src/fortran/lspt.f \
-src/fortran/dspxs.f \
-src/fortran/sp2col.f \
-src/fortran/dcompa.f \
-src/fortran/sz2ptr.f \
-src/fortran/spt.f \
-src/fortran/lcompa.f \
-src/fortran/wspmat.f \
-src/fortran/iperm.f \
-src/fortran/wspful.f \
-src/fortran/spif1b.f \
-src/fortran/spextr.f \
-src/fortran/lful2sp.f \
-src/fortran/dspos.f \
-src/fortran/dspasp.f \
-src/fortran/inpnv.f \
-src/fortran/spreshape.f \
-src/fortran/spsort.f \
-src/fortran/wperm.f \
-src/fortran/dij2sp.f \
-src/fortran/dspcsp.f \
-src/fortran/spcho2.f \
-src/fortran/lspos.f \
-src/fortran/wspe2.f \
-src/fortran/spif.f \
-src/fortran/lspasp.f \
-src/fortran/dspisp.f \
-src/fortran/wful2sp.f \
-src/fortran/lij2sp.f \
-src/fortran/lspcsp.f \
-src/fortran/wspis.f \
-src/fortran/dspmsp.f \
-src/fortran/dsposp.f \
-src/fortran/wsmsp.f \
-src/fortran/wspms.f \
-src/fortran/lspisp.f \
-src/fortran/dspcle.f \
-src/fortran/wsosp.f \
-src/fortran/dspssp.f \
-src/fortran/lsposp.f \
-src/fortran/dspxsp.f \
-src/fortran/ordmmd.f \
-src/fortran/spextr1.f \
-src/fortran/wcompa.f \
-src/fortran/lspxsp.f \
-src/fortran/spisp.f \
-src/fortran/dperm.f \
-src/fortran/spind.f \
-src/fortran/dspe2.f \
-src/fortran/wspasp.f \
-src/fortran/wij2sp.f \
-src/fortran/wspcsp.f \
-src/fortran/lspops.f \
-src/fortran/spifp.f \
+SPARSE_C_SOURCES =
+
+SPARSE_FORTRAN_SOURCES = \
 src/fortran/isort1.f \
-src/fortran/dspis.f \
-src/fortran/wspxs.f \
-src/fortran/lspe2.f \
-src/fortran/wspisp.f \
-src/fortran/dsmsp.f \
-src/fortran/dspms.f \
-src/fortran/spord.f \
-src/fortran/dsosp.f \
-src/fortran/dspmat.f \
-src/fortran/wspmsp.f \
-src/fortran/lspis.f \
-src/fortran/writebuf.f \
-src/fortran/ta2lpd.f
-
-GATEWAY_C_SOURCES = \
-sci_gateway/c/sci_blkslvi.c \
-sci_gateway/c/sci_inpnvi.c \
-sci_gateway/c/sci_ludel.c \
-sci_gateway/c/sci_spmatrix.c \
-sci_gateway/c/sci_blkfc1i.c \
-sci_gateway/c/sci_bfinit.c \
-sci_gateway/c/sci_lufact.c \
-sci_gateway/c/sci_symfcti.c \
-sci_gateway/c/sci_mfull.c \
-sci_gateway/c/sci_luget.c \
-sci_gateway/c/sci_ordmmd.c \
-sci_gateway/c/sci_spclean.c \
-sci_gateway/c/sci_spchol.c \
-sci_gateway/c/sci_lusolve.c \
-sci_gateway/c/sci_fadj2sp.c \
-sci_gateway/c/gw_sparse.c \
-sci_gateway/c/sci_sfinit.c \
-sci_gateway/c/sci_sparse.c \
-sci_gateway/c/sci_mspget.c
-
-GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/sci_f_spcompa.f \
-sci_gateway/fortran/sci_f_sparse.f \
-sci_gateway/fortran/sci_f_full.f \
-sci_gateway/fortran/sci_f_blkslvi.f \
-sci_gateway/fortran/sci_f_inpnvi.f \
-sci_gateway/fortran/sci_f_nnz.f \
-sci_gateway/fortran/sci_f_ludel.f \
-sci_gateway/fortran/sci_f_bfinit.f \
-sci_gateway/fortran/spops.f \
-sci_gateway/fortran/sci_f_spmatrix.f \
-sci_gateway/fortran/sci_f_blkfc1i.f \
-sci_gateway/fortran/sci_f_lufact.f \
-sci_gateway/fortran/sci_f_symfcti.f \
-sci_gateway/fortran/sci_f_luget.f \
-sci_gateway/fortran/sci_f_ordmmd.f \
-sci_gateway/fortran/sci_f_spget.f \
-sci_gateway/fortran/sci_f_spclean.f \
-sci_gateway/fortran/sci_f_spchol.f \
-sci_gateway/fortran/sci_f_lusolve.f \
-sci_gateway/fortran/sci_f_fadj2sp.f \
-sci_gateway/fortran/sci_f_sfinit.f \
-sci_gateway/fortran/sci_f_ta2lpd.f
+src/fortran/spt.f \
+src/fortran/sz2ptr.f \
+src/fortran/spreshape.f
+
+GATEWAY_C_SOURCES =
+
+GATEWAY_CPP_SOURCES = \
+sci_gateway/cpp/sparse_gw.cpp \
+sci_gateway/cpp/sci_adj2sp.cpp \
+sci_gateway/cpp/sci_full.cpp \
+sci_gateway/cpp/sci_nnz.cpp \
+sci_gateway/cpp/sci_sp2adj.cpp \
+sci_gateway/cpp/sci_sparse.cpp \
+sci_gateway/cpp/sci_spcompack.cpp \
+sci_gateway/cpp/sci_spget.cpp \
+sci_gateway/cpp/sci_spzeros.cpp \
+sci_gateway/cpp/sci_spones.cpp
+
 
 libscisparse_la_CPPFLAGS = -I$(srcdir)/includes/ \
-                               -I$(top_srcdir)/modules/api_scilab/includes/ \
-                               -I$(top_srcdir)/modules/elementary_functions/includes/ \
+                               -I$(top_srcdir)/modules/ast/includes/ \
+                               -I$(top_srcdir)/modules/types/includes/ \
+                               -I$(top_srcdir)/modules/symbol/includes/ \
+                               -I$(top_srcdir)/modules/dynamic_link/includes/ \
                                -I$(top_srcdir)/modules/localization/includes/ \
                                -I$(top_srcdir)/modules/output_stream/includes/ \
-                               -I$(top_srcdir)/modules/operations/includes/ \
+                               -I$(top_srcdir)/modules/elementary_functions/includes/ \
+                               $(EIGEN_CPPFLAGS) \
                                $(AM_CPPFLAGS)
 
 #-Isrc/c/
@@ -166,7 +48,7 @@ endif
 
 
 libscisparse_algo_la_SOURCES = $(SPARSE_C_SOURCES) $(SPARSE_FORTRAN_SOURCES)
-libscisparse_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
+libscisparse_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
 libscisparse_algo_la_CPPFLAGS = $(libscisparse_la_CPPFLAGS)
 
 # For the code check (splint)
@@ -190,6 +72,6 @@ libscisparse_la_etc_DATA = etc/sparse.quit etc/sparse.start
 
 #### sparse : gateway declaration ####
 libscisparse_la_sci_gatewaydir = $(mydatadir)/sci_gateway
-libscisparse_la_sci_gateway_DATA = sci_gateway/sparse_gateway.xml
+libscisparse_la_sci_gateway_DATA =
 
 include $(top_srcdir)/Makefile.incl.am
index d52584f..19a9155 100644 (file)
@@ -134,51 +134,20 @@ am__installdirs = "$(DESTDIR)$(pkglibdir)" \
        "$(DESTDIR)$(libscisparse_la_sci_gatewaydir)"
 LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
 libscisparse_algo_la_LIBADD =
-am__objects_1 = libscisparse_algo_la-spUtils.lo \
-       libscisparse_algo_la-mspelm.lo libscisparse_algo_la-lu.lo \
-       libscisparse_algo_la-spFactor.lo \
-       libscisparse_algo_la-spBuild.lo \
-       libscisparse_algo_la-spOutput.lo \
-       libscisparse_algo_la-spAllocate.lo \
-       libscisparse_algo_la-spSolve.lo
-am__objects_2 = spcompack.lo wsposp.lo findl.lo spcho1.lo dspful.lo \
-       blkslv.lo wspcle.lo wspt.lo wspssp.lo lspmat.lo lsosp.lo \
-       blkfc1.lo wspxsp.lo lspful.lo blkfct.lo symfct.lo dspt.lo \
-       wspos.lo dful2sp.lo sputil.lo lspt.lo dspxs.lo sp2col.lo \
-       dcompa.lo sz2ptr.lo spt.lo lcompa.lo wspmat.lo iperm.lo \
-       wspful.lo spif1b.lo spextr.lo lful2sp.lo dspos.lo dspasp.lo \
-       inpnv.lo spreshape.lo spsort.lo wperm.lo dij2sp.lo dspcsp.lo \
-       spcho2.lo lspos.lo wspe2.lo spif.lo lspasp.lo dspisp.lo \
-       wful2sp.lo lij2sp.lo lspcsp.lo wspis.lo dspmsp.lo dsposp.lo \
-       wsmsp.lo wspms.lo lspisp.lo dspcle.lo wsosp.lo dspssp.lo \
-       lsposp.lo dspxsp.lo ordmmd.lo spextr1.lo wcompa.lo lspxsp.lo \
-       spisp.lo dperm.lo spind.lo dspe2.lo wspasp.lo wij2sp.lo \
-       wspcsp.lo lspops.lo spifp.lo isort1.lo dspis.lo wspxs.lo \
-       lspe2.lo wspisp.lo dsmsp.lo dspms.lo spord.lo dsosp.lo \
-       dspmat.lo wspmsp.lo lspis.lo writebuf.lo ta2lpd.lo
+am__objects_1 =
+am__objects_2 = isort1.lo spt.lo sz2ptr.lo spreshape.lo
 am_libscisparse_algo_la_OBJECTS = $(am__objects_1) $(am__objects_2)
 libscisparse_algo_la_OBJECTS = $(am_libscisparse_algo_la_OBJECTS)
 @MAINTAINER_MODE_FALSE@am_libscisparse_algo_la_rpath =
 @MAINTAINER_MODE_TRUE@am_libscisparse_algo_la_rpath =
 libscisparse_la_DEPENDENCIES = libscisparse-algo.la
-am__objects_3 = libscisparse_la-sci_blkslvi.lo \
-       libscisparse_la-sci_inpnvi.lo libscisparse_la-sci_ludel.lo \
-       libscisparse_la-sci_spmatrix.lo libscisparse_la-sci_blkfc1i.lo \
-       libscisparse_la-sci_bfinit.lo libscisparse_la-sci_lufact.lo \
-       libscisparse_la-sci_symfcti.lo libscisparse_la-sci_mfull.lo \
-       libscisparse_la-sci_luget.lo libscisparse_la-sci_ordmmd.lo \
-       libscisparse_la-sci_spclean.lo libscisparse_la-sci_spchol.lo \
-       libscisparse_la-sci_lusolve.lo libscisparse_la-sci_fadj2sp.lo \
-       libscisparse_la-gw_sparse.lo libscisparse_la-sci_sfinit.lo \
-       libscisparse_la-sci_sparse.lo libscisparse_la-sci_mspget.lo
-am__objects_4 = sci_f_spcompa.lo sci_f_sparse.lo sci_f_full.lo \
-       sci_f_blkslvi.lo sci_f_inpnvi.lo sci_f_nnz.lo sci_f_ludel.lo \
-       sci_f_bfinit.lo spops.lo sci_f_spmatrix.lo sci_f_blkfc1i.lo \
-       sci_f_lufact.lo sci_f_symfcti.lo sci_f_luget.lo \
-       sci_f_ordmmd.lo sci_f_spget.lo sci_f_spclean.lo \
-       sci_f_spchol.lo sci_f_lusolve.lo sci_f_fadj2sp.lo \
-       sci_f_sfinit.lo sci_f_ta2lpd.lo
-am_libscisparse_la_OBJECTS = $(am__objects_3) $(am__objects_4)
+am__objects_3 = libscisparse_la-sparse_gw.lo \
+       libscisparse_la-sci_adj2sp.lo libscisparse_la-sci_full.lo \
+       libscisparse_la-sci_nnz.lo libscisparse_la-sci_sp2adj.lo \
+       libscisparse_la-sci_sparse.lo libscisparse_la-sci_spcompack.lo \
+       libscisparse_la-sci_spget.lo libscisparse_la-sci_spzeros.lo \
+       libscisparse_la-sci_spones.lo
+am_libscisparse_la_OBJECTS = $(am__objects_1) $(am__objects_3)
 libscisparse_la_OBJECTS = $(am_libscisparse_la_OBJECTS)
 @MAINTAINER_MODE_FALSE@am_libscisparse_la_rpath =
 @MAINTAINER_MODE_TRUE@am_libscisparse_la_rpath = -rpath $(pkglibdir)
@@ -186,14 +155,14 @@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
 am__depfiles_maybe = depfiles
 am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
-       --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
-       --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
        $(LDFLAGS) -o $@
 F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
 LTF77COMPILE = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
@@ -480,156 +449,35 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 yacc_present = @yacc_present@
-SPARSE_C_SOURCES = \
-src/c/spUtils.c \
-src/c/mspelm.c \
-src/c/lu.c \
-src/c/spFactor.c \
-src/c/spBuild.c \
-src/c/spOutput.c \
-src/c/spAllocate.c \
-src/c/spSolve.c
-
-# src/c/spFortran.c
-SPARSE_FORTRAN_SOURCES = src/fortran/spcompack.f \
-src/fortran/wsposp.f \
-src/fortran/findl.f \
-src/fortran/spcho1.f \
-src/fortran/dspful.f \
-src/fortran/blkslv.f \
-src/fortran/wspcle.f \
-src/fortran/wspt.f \
-src/fortran/wspssp.f \
-src/fortran/lspmat.f \
-src/fortran/lsosp.f \
-src/fortran/blkfc1.f \
-src/fortran/wspxsp.f \
-src/fortran/lspful.f \
-src/fortran/blkfct.f \
-src/fortran/symfct.f \
-src/fortran/dspt.f \
-src/fortran/wspos.f \
-src/fortran/dful2sp.f \
-src/fortran/sputil.f \
-src/fortran/lspt.f \
-src/fortran/dspxs.f \
-src/fortran/sp2col.f \
-src/fortran/dcompa.f \
-src/fortran/sz2ptr.f \
-src/fortran/spt.f \
-src/fortran/lcompa.f \
-src/fortran/wspmat.f \
-src/fortran/iperm.f \
-src/fortran/wspful.f \
-src/fortran/spif1b.f \
-src/fortran/spextr.f \
-src/fortran/lful2sp.f \
-src/fortran/dspos.f \
-src/fortran/dspasp.f \
-src/fortran/inpnv.f \
-src/fortran/spreshape.f \
-src/fortran/spsort.f \
-src/fortran/wperm.f \
-src/fortran/dij2sp.f \
-src/fortran/dspcsp.f \
-src/fortran/spcho2.f \
-src/fortran/lspos.f \
-src/fortran/wspe2.f \
-src/fortran/spif.f \
-src/fortran/lspasp.f \
-src/fortran/dspisp.f \
-src/fortran/wful2sp.f \
-src/fortran/lij2sp.f \
-src/fortran/lspcsp.f \
-src/fortran/wspis.f \
-src/fortran/dspmsp.f \
-src/fortran/dsposp.f \
-src/fortran/wsmsp.f \
-src/fortran/wspms.f \
-src/fortran/lspisp.f \
-src/fortran/dspcle.f \
-src/fortran/wsosp.f \
-src/fortran/dspssp.f \
-src/fortran/lsposp.f \
-src/fortran/dspxsp.f \
-src/fortran/ordmmd.f \
-src/fortran/spextr1.f \
-src/fortran/wcompa.f \
-src/fortran/lspxsp.f \
-src/fortran/spisp.f \
-src/fortran/dperm.f \
-src/fortran/spind.f \
-src/fortran/dspe2.f \
-src/fortran/wspasp.f \
-src/fortran/wij2sp.f \
-src/fortran/wspcsp.f \
-src/fortran/lspops.f \
-src/fortran/spifp.f \
+SPARSE_C_SOURCES = 
+SPARSE_FORTRAN_SOURCES = \
 src/fortran/isort1.f \
-src/fortran/dspis.f \
-src/fortran/wspxs.f \
-src/fortran/lspe2.f \
-src/fortran/wspisp.f \
-src/fortran/dsmsp.f \
-src/fortran/dspms.f \
-src/fortran/spord.f \
-src/fortran/dsosp.f \
-src/fortran/dspmat.f \
-src/fortran/wspmsp.f \
-src/fortran/lspis.f \
-src/fortran/writebuf.f \
-src/fortran/ta2lpd.f
-
-GATEWAY_C_SOURCES = \
-sci_gateway/c/sci_blkslvi.c \
-sci_gateway/c/sci_inpnvi.c \
-sci_gateway/c/sci_ludel.c \
-sci_gateway/c/sci_spmatrix.c \
-sci_gateway/c/sci_blkfc1i.c \
-sci_gateway/c/sci_bfinit.c \
-sci_gateway/c/sci_lufact.c \
-sci_gateway/c/sci_symfcti.c \
-sci_gateway/c/sci_mfull.c \
-sci_gateway/c/sci_luget.c \
-sci_gateway/c/sci_ordmmd.c \
-sci_gateway/c/sci_spclean.c \
-sci_gateway/c/sci_spchol.c \
-sci_gateway/c/sci_lusolve.c \
-sci_gateway/c/sci_fadj2sp.c \
-sci_gateway/c/gw_sparse.c \
-sci_gateway/c/sci_sfinit.c \
-sci_gateway/c/sci_sparse.c \
-sci_gateway/c/sci_mspget.c
-
-GATEWAY_FORTRAN_SOURCES = sci_gateway/fortran/sci_f_spcompa.f \
-sci_gateway/fortran/sci_f_sparse.f \
-sci_gateway/fortran/sci_f_full.f \
-sci_gateway/fortran/sci_f_blkslvi.f \
-sci_gateway/fortran/sci_f_inpnvi.f \
-sci_gateway/fortran/sci_f_nnz.f \
-sci_gateway/fortran/sci_f_ludel.f \
-sci_gateway/fortran/sci_f_bfinit.f \
-sci_gateway/fortran/spops.f \
-sci_gateway/fortran/sci_f_spmatrix.f \
-sci_gateway/fortran/sci_f_blkfc1i.f \
-sci_gateway/fortran/sci_f_lufact.f \
-sci_gateway/fortran/sci_f_symfcti.f \
-sci_gateway/fortran/sci_f_luget.f \
-sci_gateway/fortran/sci_f_ordmmd.f \
-sci_gateway/fortran/sci_f_spget.f \
-sci_gateway/fortran/sci_f_spclean.f \
-sci_gateway/fortran/sci_f_spchol.f \
-sci_gateway/fortran/sci_f_lusolve.f \
-sci_gateway/fortran/sci_f_fadj2sp.f \
-sci_gateway/fortran/sci_f_sfinit.f \
-sci_gateway/fortran/sci_f_ta2lpd.f
+src/fortran/spt.f \
+src/fortran/sz2ptr.f \
+src/fortran/spreshape.f
+
+GATEWAY_C_SOURCES = 
+GATEWAY_CPP_SOURCES = \
+sci_gateway/cpp/sparse_gw.cpp \
+sci_gateway/cpp/sci_adj2sp.cpp \
+sci_gateway/cpp/sci_full.cpp \
+sci_gateway/cpp/sci_nnz.cpp \
+sci_gateway/cpp/sci_sp2adj.cpp \
+sci_gateway/cpp/sci_sparse.cpp \
+sci_gateway/cpp/sci_spcompack.cpp \
+sci_gateway/cpp/sci_spget.cpp \
+sci_gateway/cpp/sci_spzeros.cpp \
+sci_gateway/cpp/sci_spones.cpp
 
 libscisparse_la_CPPFLAGS = -I$(srcdir)/includes/ \
-                               -I$(top_srcdir)/modules/api_scilab/includes/ \
-                               -I$(top_srcdir)/modules/elementary_functions/includes/ \
+                               -I$(top_srcdir)/modules/ast/includes/ \
+                               -I$(top_srcdir)/modules/types/includes/ \
+                               -I$(top_srcdir)/modules/symbol/includes/ \
+                               -I$(top_srcdir)/modules/dynamic_link/includes/ \
                                -I$(top_srcdir)/modules/localization/includes/ \
                                -I$(top_srcdir)/modules/output_stream/includes/ \
-                               -I$(top_srcdir)/modules/operations/includes/ \
+                               -I$(top_srcdir)/modules/elementary_functions/includes/ \
+                               $(EIGEN_CPPFLAGS) \
                                $(AM_CPPFLAGS)
 
 
@@ -638,7 +486,7 @@ libscisparse_la_CPPFLAGS = -I$(srcdir)/includes/ \
 @MAINTAINER_MODE_FALSE@noinst_LTLIBRARIES = libscisparse-algo.la libscisparse.la
 @MAINTAINER_MODE_TRUE@noinst_LTLIBRARIES = libscisparse-algo.la
 libscisparse_algo_la_SOURCES = $(SPARSE_C_SOURCES) $(SPARSE_FORTRAN_SOURCES)
-libscisparse_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
+libscisparse_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
 libscisparse_algo_la_CPPFLAGS = $(libscisparse_la_CPPFLAGS)
 
 # For the code check (splint)
@@ -659,7 +507,7 @@ libscisparse_la_etc_DATA = etc/sparse.quit etc/sparse.start
 
 #### sparse : gateway declaration ####
 libscisparse_la_sci_gatewaydir = $(mydatadir)/sci_gateway
-libscisparse_la_sci_gateway_DATA = sci_gateway/sparse_gateway.xml
+libscisparse_la_sci_gateway_DATA = 
 
 # Where all the Scilab stuff is installed (macros, help, ...)
 mydatadir = $(pkgdatadir)/modules/$(modulename)
@@ -736,7 +584,7 @@ HELP_CHAPTERLANG = en_US fr_FR pt_BR
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .sci .bin .c .f .lo .o .obj
+.SUFFIXES: .sci .bin .cpp .f .lo .o .obj
 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
@@ -812,7 +660,7 @@ clean-pkglibLTLIBRARIES:
 libscisparse-algo.la: $(libscisparse_algo_la_OBJECTS) $(libscisparse_algo_la_DEPENDENCIES) $(EXTRA_libscisparse_algo_la_DEPENDENCIES) 
        $(F77LINK) $(am_libscisparse_algo_la_rpath) $(libscisparse_algo_la_OBJECTS) $(libscisparse_algo_la_LIBADD) $(LIBS)
 libscisparse.la: $(libscisparse_la_OBJECTS) $(libscisparse_la_DEPENDENCIES) $(EXTRA_libscisparse_la_DEPENDENCIES) 
-       $(F77LINK) $(am_libscisparse_la_rpath) $(libscisparse_la_OBJECTS) $(libscisparse_la_LIBADD) $(LIBS)
+       $(CXXLINK) $(am_libscisparse_la_rpath) $(libscisparse_la_OBJECTS) $(libscisparse_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
        -rm -f *.$(OBJEXT)
@@ -820,243 +668,107 @@ mostlyclean-compile:
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_algo_la-lu.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_algo_la-mspelm.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_algo_la-spAllocate.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_algo_la-spBuild.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_algo_la-spFactor.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_algo_la-spOutput.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_algo_la-spSolve.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_algo_la-spUtils.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-gw_sparse.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_bfinit.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_blkfc1i.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_blkslvi.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_fadj2sp.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_inpnvi.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_ludel.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_lufact.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_luget.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_lusolve.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_mfull.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_mspget.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_ordmmd.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_sfinit.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_adj2sp.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_full.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_nnz.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_sp2adj.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_sparse.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_spchol.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_spclean.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_spmatrix.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_symfcti.Plo@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-.c.lo:
-@am__fastdepCC_TRUE@   $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
-
-libscisparse_algo_la-spUtils.lo: src/c/spUtils.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_algo_la-spUtils.lo -MD -MP -MF $(DEPDIR)/libscisparse_algo_la-spUtils.Tpo -c -o libscisparse_algo_la-spUtils.lo `test -f 'src/c/spUtils.c' || echo '$(srcdir)/'`src/c/spUtils.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_algo_la-spUtils.Tpo $(DEPDIR)/libscisparse_algo_la-spUtils.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/spUtils.c' object='libscisparse_algo_la-spUtils.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_algo_la-spUtils.lo `test -f 'src/c/spUtils.c' || echo '$(srcdir)/'`src/c/spUtils.c
-
-libscisparse_algo_la-mspelm.lo: src/c/mspelm.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_algo_la-mspelm.lo -MD -MP -MF $(DEPDIR)/libscisparse_algo_la-mspelm.Tpo -c -o libscisparse_algo_la-mspelm.lo `test -f 'src/c/mspelm.c' || echo '$(srcdir)/'`src/c/mspelm.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_algo_la-mspelm.Tpo $(DEPDIR)/libscisparse_algo_la-mspelm.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/mspelm.c' object='libscisparse_algo_la-mspelm.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_algo_la-mspelm.lo `test -f 'src/c/mspelm.c' || echo '$(srcdir)/'`src/c/mspelm.c
-
-libscisparse_algo_la-lu.lo: src/c/lu.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_algo_la-lu.lo -MD -MP -MF $(DEPDIR)/libscisparse_algo_la-lu.Tpo -c -o libscisparse_algo_la-lu.lo `test -f 'src/c/lu.c' || echo '$(srcdir)/'`src/c/lu.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_algo_la-lu.Tpo $(DEPDIR)/libscisparse_algo_la-lu.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/lu.c' object='libscisparse_algo_la-lu.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_algo_la-lu.lo `test -f 'src/c/lu.c' || echo '$(srcdir)/'`src/c/lu.c
-
-libscisparse_algo_la-spFactor.lo: src/c/spFactor.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_algo_la-spFactor.lo -MD -MP -MF $(DEPDIR)/libscisparse_algo_la-spFactor.Tpo -c -o libscisparse_algo_la-spFactor.lo `test -f 'src/c/spFactor.c' || echo '$(srcdir)/'`src/c/spFactor.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_algo_la-spFactor.Tpo $(DEPDIR)/libscisparse_algo_la-spFactor.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/spFactor.c' object='libscisparse_algo_la-spFactor.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_algo_la-spFactor.lo `test -f 'src/c/spFactor.c' || echo '$(srcdir)/'`src/c/spFactor.c
-
-libscisparse_algo_la-spBuild.lo: src/c/spBuild.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_algo_la-spBuild.lo -MD -MP -MF $(DEPDIR)/libscisparse_algo_la-spBuild.Tpo -c -o libscisparse_algo_la-spBuild.lo `test -f 'src/c/spBuild.c' || echo '$(srcdir)/'`src/c/spBuild.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_algo_la-spBuild.Tpo $(DEPDIR)/libscisparse_algo_la-spBuild.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/spBuild.c' object='libscisparse_algo_la-spBuild.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_algo_la-spBuild.lo `test -f 'src/c/spBuild.c' || echo '$(srcdir)/'`src/c/spBuild.c
-
-libscisparse_algo_la-spOutput.lo: src/c/spOutput.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_algo_la-spOutput.lo -MD -MP -MF $(DEPDIR)/libscisparse_algo_la-spOutput.Tpo -c -o libscisparse_algo_la-spOutput.lo `test -f 'src/c/spOutput.c' || echo '$(srcdir)/'`src/c/spOutput.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_algo_la-spOutput.Tpo $(DEPDIR)/libscisparse_algo_la-spOutput.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/spOutput.c' object='libscisparse_algo_la-spOutput.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_algo_la-spOutput.lo `test -f 'src/c/spOutput.c' || echo '$(srcdir)/'`src/c/spOutput.c
-
-libscisparse_algo_la-spAllocate.lo: src/c/spAllocate.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_algo_la-spAllocate.lo -MD -MP -MF $(DEPDIR)/libscisparse_algo_la-spAllocate.Tpo -c -o libscisparse_algo_la-spAllocate.lo `test -f 'src/c/spAllocate.c' || echo '$(srcdir)/'`src/c/spAllocate.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_algo_la-spAllocate.Tpo $(DEPDIR)/libscisparse_algo_la-spAllocate.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/spAllocate.c' object='libscisparse_algo_la-spAllocate.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_algo_la-spAllocate.lo `test -f 'src/c/spAllocate.c' || echo '$(srcdir)/'`src/c/spAllocate.c
-
-libscisparse_algo_la-spSolve.lo: src/c/spSolve.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_algo_la-spSolve.lo -MD -MP -MF $(DEPDIR)/libscisparse_algo_la-spSolve.Tpo -c -o libscisparse_algo_la-spSolve.lo `test -f 'src/c/spSolve.c' || echo '$(srcdir)/'`src/c/spSolve.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_algo_la-spSolve.Tpo $(DEPDIR)/libscisparse_algo_la-spSolve.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/spSolve.c' object='libscisparse_algo_la-spSolve.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_algo_la-spSolve.lo `test -f 'src/c/spSolve.c' || echo '$(srcdir)/'`src/c/spSolve.c
-
-libscisparse_la-sci_blkslvi.lo: sci_gateway/c/sci_blkslvi.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_blkslvi.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_blkslvi.Tpo -c -o libscisparse_la-sci_blkslvi.lo `test -f 'sci_gateway/c/sci_blkslvi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_blkslvi.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_blkslvi.Tpo $(DEPDIR)/libscisparse_la-sci_blkslvi.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_blkslvi.c' object='libscisparse_la-sci_blkslvi.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_blkslvi.lo `test -f 'sci_gateway/c/sci_blkslvi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_blkslvi.c
-
-libscisparse_la-sci_inpnvi.lo: sci_gateway/c/sci_inpnvi.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_inpnvi.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_inpnvi.Tpo -c -o libscisparse_la-sci_inpnvi.lo `test -f 'sci_gateway/c/sci_inpnvi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_inpnvi.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_inpnvi.Tpo $(DEPDIR)/libscisparse_la-sci_inpnvi.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_inpnvi.c' object='libscisparse_la-sci_inpnvi.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_inpnvi.lo `test -f 'sci_gateway/c/sci_inpnvi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_inpnvi.c
-
-libscisparse_la-sci_ludel.lo: sci_gateway/c/sci_ludel.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_ludel.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_ludel.Tpo -c -o libscisparse_la-sci_ludel.lo `test -f 'sci_gateway/c/sci_ludel.c' || echo '$(srcdir)/'`sci_gateway/c/sci_ludel.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_ludel.Tpo $(DEPDIR)/libscisparse_la-sci_ludel.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_ludel.c' object='libscisparse_la-sci_ludel.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_ludel.lo `test -f 'sci_gateway/c/sci_ludel.c' || echo '$(srcdir)/'`sci_gateway/c/sci_ludel.c
-
-libscisparse_la-sci_spmatrix.lo: sci_gateway/c/sci_spmatrix.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_spmatrix.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_spmatrix.Tpo -c -o libscisparse_la-sci_spmatrix.lo `test -f 'sci_gateway/c/sci_spmatrix.c' || echo '$(srcdir)/'`sci_gateway/c/sci_spmatrix.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_spmatrix.Tpo $(DEPDIR)/libscisparse_la-sci_spmatrix.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_spmatrix.c' object='libscisparse_la-sci_spmatrix.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_spmatrix.lo `test -f 'sci_gateway/c/sci_spmatrix.c' || echo '$(srcdir)/'`sci_gateway/c/sci_spmatrix.c
-
-libscisparse_la-sci_blkfc1i.lo: sci_gateway/c/sci_blkfc1i.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_blkfc1i.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_blkfc1i.Tpo -c -o libscisparse_la-sci_blkfc1i.lo `test -f 'sci_gateway/c/sci_blkfc1i.c' || echo '$(srcdir)/'`sci_gateway/c/sci_blkfc1i.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_blkfc1i.Tpo $(DEPDIR)/libscisparse_la-sci_blkfc1i.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_blkfc1i.c' object='libscisparse_la-sci_blkfc1i.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_blkfc1i.lo `test -f 'sci_gateway/c/sci_blkfc1i.c' || echo '$(srcdir)/'`sci_gateway/c/sci_blkfc1i.c
-
-libscisparse_la-sci_bfinit.lo: sci_gateway/c/sci_bfinit.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_bfinit.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_bfinit.Tpo -c -o libscisparse_la-sci_bfinit.lo `test -f 'sci_gateway/c/sci_bfinit.c' || echo '$(srcdir)/'`sci_gateway/c/sci_bfinit.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_bfinit.Tpo $(DEPDIR)/libscisparse_la-sci_bfinit.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_bfinit.c' object='libscisparse_la-sci_bfinit.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_bfinit.lo `test -f 'sci_gateway/c/sci_bfinit.c' || echo '$(srcdir)/'`sci_gateway/c/sci_bfinit.c
-
-libscisparse_la-sci_lufact.lo: sci_gateway/c/sci_lufact.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_lufact.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_lufact.Tpo -c -o libscisparse_la-sci_lufact.lo `test -f 'sci_gateway/c/sci_lufact.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lufact.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_lufact.Tpo $(DEPDIR)/libscisparse_la-sci_lufact.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_lufact.c' object='libscisparse_la-sci_lufact.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_lufact.lo `test -f 'sci_gateway/c/sci_lufact.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lufact.c
-
-libscisparse_la-sci_symfcti.lo: sci_gateway/c/sci_symfcti.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_symfcti.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_symfcti.Tpo -c -o libscisparse_la-sci_symfcti.lo `test -f 'sci_gateway/c/sci_symfcti.c' || echo '$(srcdir)/'`sci_gateway/c/sci_symfcti.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_symfcti.Tpo $(DEPDIR)/libscisparse_la-sci_symfcti.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_symfcti.c' object='libscisparse_la-sci_symfcti.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_symfcti.lo `test -f 'sci_gateway/c/sci_symfcti.c' || echo '$(srcdir)/'`sci_gateway/c/sci_symfcti.c
-
-libscisparse_la-sci_mfull.lo: sci_gateway/c/sci_mfull.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_mfull.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_mfull.Tpo -c -o libscisparse_la-sci_mfull.lo `test -f 'sci_gateway/c/sci_mfull.c' || echo '$(srcdir)/'`sci_gateway/c/sci_mfull.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_mfull.Tpo $(DEPDIR)/libscisparse_la-sci_mfull.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_mfull.c' object='libscisparse_la-sci_mfull.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_mfull.lo `test -f 'sci_gateway/c/sci_mfull.c' || echo '$(srcdir)/'`sci_gateway/c/sci_mfull.c
-
-libscisparse_la-sci_luget.lo: sci_gateway/c/sci_luget.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_luget.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_luget.Tpo -c -o libscisparse_la-sci_luget.lo `test -f 'sci_gateway/c/sci_luget.c' || echo '$(srcdir)/'`sci_gateway/c/sci_luget.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_luget.Tpo $(DEPDIR)/libscisparse_la-sci_luget.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_luget.c' object='libscisparse_la-sci_luget.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_luget.lo `test -f 'sci_gateway/c/sci_luget.c' || echo '$(srcdir)/'`sci_gateway/c/sci_luget.c
-
-libscisparse_la-sci_ordmmd.lo: sci_gateway/c/sci_ordmmd.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_ordmmd.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_ordmmd.Tpo -c -o libscisparse_la-sci_ordmmd.lo `test -f 'sci_gateway/c/sci_ordmmd.c' || echo '$(srcdir)/'`sci_gateway/c/sci_ordmmd.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_ordmmd.Tpo $(DEPDIR)/libscisparse_la-sci_ordmmd.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_ordmmd.c' object='libscisparse_la-sci_ordmmd.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_ordmmd.lo `test -f 'sci_gateway/c/sci_ordmmd.c' || echo '$(srcdir)/'`sci_gateway/c/sci_ordmmd.c
-
-libscisparse_la-sci_spclean.lo: sci_gateway/c/sci_spclean.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_spclean.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_spclean.Tpo -c -o libscisparse_la-sci_spclean.lo `test -f 'sci_gateway/c/sci_spclean.c' || echo '$(srcdir)/'`sci_gateway/c/sci_spclean.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_spclean.Tpo $(DEPDIR)/libscisparse_la-sci_spclean.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_spclean.c' object='libscisparse_la-sci_spclean.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_spclean.lo `test -f 'sci_gateway/c/sci_spclean.c' || echo '$(srcdir)/'`sci_gateway/c/sci_spclean.c
-
-libscisparse_la-sci_spchol.lo: sci_gateway/c/sci_spchol.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_spchol.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_spchol.Tpo -c -o libscisparse_la-sci_spchol.lo `test -f 'sci_gateway/c/sci_spchol.c' || echo '$(srcdir)/'`sci_gateway/c/sci_spchol.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_spchol.Tpo $(DEPDIR)/libscisparse_la-sci_spchol.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_spchol.c' object='libscisparse_la-sci_spchol.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_spchol.lo `test -f 'sci_gateway/c/sci_spchol.c' || echo '$(srcdir)/'`sci_gateway/c/sci_spchol.c
-
-libscisparse_la-sci_lusolve.lo: sci_gateway/c/sci_lusolve.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_lusolve.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_lusolve.Tpo -c -o libscisparse_la-sci_lusolve.lo `test -f 'sci_gateway/c/sci_lusolve.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lusolve.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_lusolve.Tpo $(DEPDIR)/libscisparse_la-sci_lusolve.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_lusolve.c' object='libscisparse_la-sci_lusolve.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_lusolve.lo `test -f 'sci_gateway/c/sci_lusolve.c' || echo '$(srcdir)/'`sci_gateway/c/sci_lusolve.c
-
-libscisparse_la-sci_fadj2sp.lo: sci_gateway/c/sci_fadj2sp.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_fadj2sp.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_fadj2sp.Tpo -c -o libscisparse_la-sci_fadj2sp.lo `test -f 'sci_gateway/c/sci_fadj2sp.c' || echo '$(srcdir)/'`sci_gateway/c/sci_fadj2sp.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_fadj2sp.Tpo $(DEPDIR)/libscisparse_la-sci_fadj2sp.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_fadj2sp.c' object='libscisparse_la-sci_fadj2sp.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_fadj2sp.lo `test -f 'sci_gateway/c/sci_fadj2sp.c' || echo '$(srcdir)/'`sci_gateway/c/sci_fadj2sp.c
-
-libscisparse_la-gw_sparse.lo: sci_gateway/c/gw_sparse.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-gw_sparse.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-gw_sparse.Tpo -c -o libscisparse_la-gw_sparse.lo `test -f 'sci_gateway/c/gw_sparse.c' || echo '$(srcdir)/'`sci_gateway/c/gw_sparse.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-gw_sparse.Tpo $(DEPDIR)/libscisparse_la-gw_sparse.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/gw_sparse.c' object='libscisparse_la-gw_sparse.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-gw_sparse.lo `test -f 'sci_gateway/c/gw_sparse.c' || echo '$(srcdir)/'`sci_gateway/c/gw_sparse.c
-
-libscisparse_la-sci_sfinit.lo: sci_gateway/c/sci_sfinit.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_sfinit.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_sfinit.Tpo -c -o libscisparse_la-sci_sfinit.lo `test -f 'sci_gateway/c/sci_sfinit.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sfinit.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_sfinit.Tpo $(DEPDIR)/libscisparse_la-sci_sfinit.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_sfinit.c' object='libscisparse_la-sci_sfinit.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_sfinit.lo `test -f 'sci_gateway/c/sci_sfinit.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sfinit.c
-
-libscisparse_la-sci_sparse.lo: sci_gateway/c/sci_sparse.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_sparse.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_sparse.Tpo -c -o libscisparse_la-sci_sparse.lo `test -f 'sci_gateway/c/sci_sparse.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sparse.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_sparse.Tpo $(DEPDIR)/libscisparse_la-sci_sparse.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_sparse.c' object='libscisparse_la-sci_sparse.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_sparse.lo `test -f 'sci_gateway/c/sci_sparse.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sparse.c
-
-libscisparse_la-sci_mspget.lo: sci_gateway/c/sci_mspget.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libscisparse_la-sci_mspget.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_mspget.Tpo -c -o libscisparse_la-sci_mspget.lo `test -f 'sci_gateway/c/sci_mspget.c' || echo '$(srcdir)/'`sci_gateway/c/sci_mspget.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscisparse_la-sci_mspget.Tpo $(DEPDIR)/libscisparse_la-sci_mspget.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_mspget.c' object='libscisparse_la-sci_mspget.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libscisparse_la-sci_mspget.lo `test -f 'sci_gateway/c/sci_mspget.c' || echo '$(srcdir)/'`sci_gateway/c/sci_mspget.c
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_spcompack.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_spget.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_spones.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sci_spzeros.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisparse_la-sparse_gw.Plo@am__quote@
+
+.cpp.o:
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+@am__fastdepCXX_TRUE@  $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+libscisparse_la-sparse_gw.lo: sci_gateway/cpp/sparse_gw.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sparse_gw.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sparse_gw.Tpo -c -o libscisparse_la-sparse_gw.lo `test -f 'sci_gateway/cpp/sparse_gw.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sparse_gw.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sparse_gw.Tpo $(DEPDIR)/libscisparse_la-sparse_gw.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sparse_gw.cpp' object='libscisparse_la-sparse_gw.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sparse_gw.lo `test -f 'sci_gateway/cpp/sparse_gw.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sparse_gw.cpp
+
+libscisparse_la-sci_adj2sp.lo: sci_gateway/cpp/sci_adj2sp.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sci_adj2sp.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_adj2sp.Tpo -c -o libscisparse_la-sci_adj2sp.lo `test -f 'sci_gateway/cpp/sci_adj2sp.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_adj2sp.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sci_adj2sp.Tpo $(DEPDIR)/libscisparse_la-sci_adj2sp.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_adj2sp.cpp' object='libscisparse_la-sci_adj2sp.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sci_adj2sp.lo `test -f 'sci_gateway/cpp/sci_adj2sp.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_adj2sp.cpp
+
+libscisparse_la-sci_full.lo: sci_gateway/cpp/sci_full.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sci_full.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_full.Tpo -c -o libscisparse_la-sci_full.lo `test -f 'sci_gateway/cpp/sci_full.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_full.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sci_full.Tpo $(DEPDIR)/libscisparse_la-sci_full.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_full.cpp' object='libscisparse_la-sci_full.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sci_full.lo `test -f 'sci_gateway/cpp/sci_full.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_full.cpp
+
+libscisparse_la-sci_nnz.lo: sci_gateway/cpp/sci_nnz.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sci_nnz.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_nnz.Tpo -c -o libscisparse_la-sci_nnz.lo `test -f 'sci_gateway/cpp/sci_nnz.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_nnz.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sci_nnz.Tpo $(DEPDIR)/libscisparse_la-sci_nnz.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_nnz.cpp' object='libscisparse_la-sci_nnz.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sci_nnz.lo `test -f 'sci_gateway/cpp/sci_nnz.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_nnz.cpp
+
+libscisparse_la-sci_sp2adj.lo: sci_gateway/cpp/sci_sp2adj.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sci_sp2adj.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_sp2adj.Tpo -c -o libscisparse_la-sci_sp2adj.lo `test -f 'sci_gateway/cpp/sci_sp2adj.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sp2adj.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sci_sp2adj.Tpo $(DEPDIR)/libscisparse_la-sci_sp2adj.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_sp2adj.cpp' object='libscisparse_la-sci_sp2adj.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sci_sp2adj.lo `test -f 'sci_gateway/cpp/sci_sp2adj.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sp2adj.cpp
+
+libscisparse_la-sci_sparse.lo: sci_gateway/cpp/sci_sparse.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sci_sparse.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_sparse.Tpo -c -o libscisparse_la-sci_sparse.lo `test -f 'sci_gateway/cpp/sci_sparse.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sparse.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sci_sparse.Tpo $(DEPDIR)/libscisparse_la-sci_sparse.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_sparse.cpp' object='libscisparse_la-sci_sparse.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sci_sparse.lo `test -f 'sci_gateway/cpp/sci_sparse.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sparse.cpp
+
+libscisparse_la-sci_spcompack.lo: sci_gateway/cpp/sci_spcompack.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sci_spcompack.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_spcompack.Tpo -c -o libscisparse_la-sci_spcompack.lo `test -f 'sci_gateway/cpp/sci_spcompack.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spcompack.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sci_spcompack.Tpo $(DEPDIR)/libscisparse_la-sci_spcompack.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_spcompack.cpp' object='libscisparse_la-sci_spcompack.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sci_spcompack.lo `test -f 'sci_gateway/cpp/sci_spcompack.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spcompack.cpp
+
+libscisparse_la-sci_spget.lo: sci_gateway/cpp/sci_spget.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sci_spget.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_spget.Tpo -c -o libscisparse_la-sci_spget.lo `test -f 'sci_gateway/cpp/sci_spget.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spget.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sci_spget.Tpo $(DEPDIR)/libscisparse_la-sci_spget.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_spget.cpp' object='libscisparse_la-sci_spget.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sci_spget.lo `test -f 'sci_gateway/cpp/sci_spget.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spget.cpp
+
+libscisparse_la-sci_spzeros.lo: sci_gateway/cpp/sci_spzeros.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sci_spzeros.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_spzeros.Tpo -c -o libscisparse_la-sci_spzeros.lo `test -f 'sci_gateway/cpp/sci_spzeros.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spzeros.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sci_spzeros.Tpo $(DEPDIR)/libscisparse_la-sci_spzeros.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_spzeros.cpp' object='libscisparse_la-sci_spzeros.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sci_spzeros.lo `test -f 'sci_gateway/cpp/sci_spzeros.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spzeros.cpp
+
+libscisparse_la-sci_spones.lo: sci_gateway/cpp/sci_spones.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisparse_la-sci_spones.lo -MD -MP -MF $(DEPDIR)/libscisparse_la-sci_spones.Tpo -c -o libscisparse_la-sci_spones.lo `test -f 'sci_gateway/cpp/sci_spones.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spones.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscisparse_la-sci_spones.Tpo $(DEPDIR)/libscisparse_la-sci_spones.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_spones.cpp' object='libscisparse_la-sci_spones.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisparse_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisparse_la-sci_spones.lo `test -f 'sci_gateway/cpp/sci_spones.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spones.cpp
 
 .f.o:
        $(F77COMPILE) -c -o $@ $<
@@ -1067,336 +779,18 @@ libscisparse_la-sci_mspget.lo: sci_gateway/c/sci_mspget.c
 .f.lo:
        $(LTF77COMPILE) -c -o $@ $<
 
-spcompack.lo: src/fortran/spcompack.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spcompack.lo `test -f 'src/fortran/spcompack.f' || echo '$(srcdir)/'`src/fortran/spcompack.f
-
-wsposp.lo: src/fortran/wsposp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wsposp.lo `test -f 'src/fortran/wsposp.f' || echo '$(srcdir)/'`src/fortran/wsposp.f
-
-findl.lo: src/fortran/findl.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o findl.lo `test -f 'src/fortran/findl.f' || echo '$(srcdir)/'`src/fortran/findl.f
-
-spcho1.lo: src/fortran/spcho1.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spcho1.lo `test -f 'src/fortran/spcho1.f' || echo '$(srcdir)/'`src/fortran/spcho1.f
-
-dspful.lo: src/fortran/dspful.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspful.lo `test -f 'src/fortran/dspful.f' || echo '$(srcdir)/'`src/fortran/dspful.f
-
-blkslv.lo: src/fortran/blkslv.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o blkslv.lo `test -f 'src/fortran/blkslv.f' || echo '$(srcdir)/'`src/fortran/blkslv.f
-
-wspcle.lo: src/fortran/wspcle.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspcle.lo `test -f 'src/fortran/wspcle.f' || echo '$(srcdir)/'`src/fortran/wspcle.f
-
-wspt.lo: src/fortran/wspt.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspt.lo `test -f 'src/fortran/wspt.f' || echo '$(srcdir)/'`src/fortran/wspt.f
-
-wspssp.lo: src/fortran/wspssp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspssp.lo `test -f 'src/fortran/wspssp.f' || echo '$(srcdir)/'`src/fortran/wspssp.f
-
-lspmat.lo: src/fortran/lspmat.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspmat.lo `test -f 'src/fortran/lspmat.f' || echo '$(srcdir)/'`src/fortran/lspmat.f
-
-lsosp.lo: src/fortran/lsosp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lsosp.lo `test -f 'src/fortran/lsosp.f' || echo '$(srcdir)/'`src/fortran/lsosp.f
-
-blkfc1.lo: src/fortran/blkfc1.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o blkfc1.lo `test -f 'src/fortran/blkfc1.f' || echo '$(srcdir)/'`src/fortran/blkfc1.f
-
-wspxsp.lo: src/fortran/wspxsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspxsp.lo `test -f 'src/fortran/wspxsp.f' || echo '$(srcdir)/'`src/fortran/wspxsp.f
-
-lspful.lo: src/fortran/lspful.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspful.lo `test -f 'src/fortran/lspful.f' || echo '$(srcdir)/'`src/fortran/lspful.f
-
-blkfct.lo: src/fortran/blkfct.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o blkfct.lo `test -f 'src/fortran/blkfct.f' || echo '$(srcdir)/'`src/fortran/blkfct.f
-
-symfct.lo: src/fortran/symfct.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o symfct.lo `test -f 'src/fortran/symfct.f' || echo '$(srcdir)/'`src/fortran/symfct.f
-
-dspt.lo: src/fortran/dspt.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspt.lo `test -f 'src/fortran/dspt.f' || echo '$(srcdir)/'`src/fortran/dspt.f
-
-wspos.lo: src/fortran/wspos.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspos.lo `test -f 'src/fortran/wspos.f' || echo '$(srcdir)/'`src/fortran/wspos.f
-
-dful2sp.lo: src/fortran/dful2sp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dful2sp.lo `test -f 'src/fortran/dful2sp.f' || echo '$(srcdir)/'`src/fortran/dful2sp.f
-
-sputil.lo: src/fortran/sputil.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sputil.lo `test -f 'src/fortran/sputil.f' || echo '$(srcdir)/'`src/fortran/sputil.f
-
-lspt.lo: src/fortran/lspt.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspt.lo `test -f 'src/fortran/lspt.f' || echo '$(srcdir)/'`src/fortran/lspt.f
-
-dspxs.lo: src/fortran/dspxs.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspxs.lo `test -f 'src/fortran/dspxs.f' || echo '$(srcdir)/'`src/fortran/dspxs.f
-
-sp2col.lo: src/fortran/sp2col.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sp2col.lo `test -f 'src/fortran/sp2col.f' || echo '$(srcdir)/'`src/fortran/sp2col.f
-
-dcompa.lo: src/fortran/dcompa.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dcompa.lo `test -f 'src/fortran/dcompa.f' || echo '$(srcdir)/'`src/fortran/dcompa.f
-
-sz2ptr.lo: src/fortran/sz2ptr.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sz2ptr.lo `test -f 'src/fortran/sz2ptr.f' || echo '$(srcdir)/'`src/fortran/sz2ptr.f
+isort1.lo: src/fortran/isort1.f
+       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o isort1.lo `test -f 'src/fortran/isort1.f' || echo '$(srcdir)/'`src/fortran/isort1.f
 
 spt.lo: src/fortran/spt.f
        $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spt.lo `test -f 'src/fortran/spt.f' || echo '$(srcdir)/'`src/fortran/spt.f
 
-lcompa.lo: src/fortran/lcompa.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lcompa.lo `test -f 'src/fortran/lcompa.f' || echo '$(srcdir)/'`src/fortran/lcompa.f
-
-wspmat.lo: src/fortran/wspmat.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspmat.lo `test -f 'src/fortran/wspmat.f' || echo '$(srcdir)/'`src/fortran/wspmat.f
-
-iperm.lo: src/fortran/iperm.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o iperm.lo `test -f 'src/fortran/iperm.f' || echo '$(srcdir)/'`src/fortran/iperm.f
-
-wspful.lo: src/fortran/wspful.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspful.lo `test -f 'src/fortran/wspful.f' || echo '$(srcdir)/'`src/fortran/wspful.f
-
-spif1b.lo: src/fortran/spif1b.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spif1b.lo `test -f 'src/fortran/spif1b.f' || echo '$(srcdir)/'`src/fortran/spif1b.f
-
-spextr.lo: src/fortran/spextr.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spextr.lo `test -f 'src/fortran/spextr.f' || echo '$(srcdir)/'`src/fortran/spextr.f
-
-lful2sp.lo: src/fortran/lful2sp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lful2sp.lo `test -f 'src/fortran/lful2sp.f' || echo '$(srcdir)/'`src/fortran/lful2sp.f
-
-dspos.lo: src/fortran/dspos.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspos.lo `test -f 'src/fortran/dspos.f' || echo '$(srcdir)/'`src/fortran/dspos.f
-
-dspasp.lo: src/fortran/dspasp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspasp.lo `test -f 'src/fortran/dspasp.f' || echo '$(srcdir)/'`src/fortran/dspasp.f
-
-inpnv.lo: src/fortran/inpnv.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o inpnv.lo `test -f 'src/fortran/inpnv.f' || echo '$(srcdir)/'`src/fortran/inpnv.f
+sz2ptr.lo: src/fortran/sz2ptr.f
+       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sz2ptr.lo `test -f 'src/fortran/sz2ptr.f' || echo '$(srcdir)/'`src/fortran/sz2ptr.f
 
 spreshape.lo: src/fortran/spreshape.f
        $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spreshape.lo `test -f 'src/fortran/spreshape.f' || echo '$(srcdir)/'`src/fortran/spreshape.f
 
-spsort.lo: src/fortran/spsort.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spsort.lo `test -f 'src/fortran/spsort.f' || echo '$(srcdir)/'`src/fortran/spsort.f
-
-wperm.lo: src/fortran/wperm.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wperm.lo `test -f 'src/fortran/wperm.f' || echo '$(srcdir)/'`src/fortran/wperm.f
-
-dij2sp.lo: src/fortran/dij2sp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dij2sp.lo `test -f 'src/fortran/dij2sp.f' || echo '$(srcdir)/'`src/fortran/dij2sp.f
-
-dspcsp.lo: src/fortran/dspcsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspcsp.lo `test -f 'src/fortran/dspcsp.f' || echo '$(srcdir)/'`src/fortran/dspcsp.f
-
-spcho2.lo: src/fortran/spcho2.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spcho2.lo `test -f 'src/fortran/spcho2.f' || echo '$(srcdir)/'`src/fortran/spcho2.f
-
-lspos.lo: src/fortran/lspos.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspos.lo `test -f 'src/fortran/lspos.f' || echo '$(srcdir)/'`src/fortran/lspos.f
-
-wspe2.lo: src/fortran/wspe2.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspe2.lo `test -f 'src/fortran/wspe2.f' || echo '$(srcdir)/'`src/fortran/wspe2.f
-
-spif.lo: src/fortran/spif.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spif.lo `test -f 'src/fortran/spif.f' || echo '$(srcdir)/'`src/fortran/spif.f
-
-lspasp.lo: src/fortran/lspasp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspasp.lo `test -f 'src/fortran/lspasp.f' || echo '$(srcdir)/'`src/fortran/lspasp.f
-
-dspisp.lo: src/fortran/dspisp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspisp.lo `test -f 'src/fortran/dspisp.f' || echo '$(srcdir)/'`src/fortran/dspisp.f
-
-wful2sp.lo: src/fortran/wful2sp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wful2sp.lo `test -f 'src/fortran/wful2sp.f' || echo '$(srcdir)/'`src/fortran/wful2sp.f
-
-lij2sp.lo: src/fortran/lij2sp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lij2sp.lo `test -f 'src/fortran/lij2sp.f' || echo '$(srcdir)/'`src/fortran/lij2sp.f
-
-lspcsp.lo: src/fortran/lspcsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspcsp.lo `test -f 'src/fortran/lspcsp.f' || echo '$(srcdir)/'`src/fortran/lspcsp.f
-
-wspis.lo: src/fortran/wspis.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspis.lo `test -f 'src/fortran/wspis.f' || echo '$(srcdir)/'`src/fortran/wspis.f
-
-dspmsp.lo: src/fortran/dspmsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspmsp.lo `test -f 'src/fortran/dspmsp.f' || echo '$(srcdir)/'`src/fortran/dspmsp.f
-
-dsposp.lo: src/fortran/dsposp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dsposp.lo `test -f 'src/fortran/dsposp.f' || echo '$(srcdir)/'`src/fortran/dsposp.f
-
-wsmsp.lo: src/fortran/wsmsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wsmsp.lo `test -f 'src/fortran/wsmsp.f' || echo '$(srcdir)/'`src/fortran/wsmsp.f
-
-wspms.lo: src/fortran/wspms.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspms.lo `test -f 'src/fortran/wspms.f' || echo '$(srcdir)/'`src/fortran/wspms.f
-
-lspisp.lo: src/fortran/lspisp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspisp.lo `test -f 'src/fortran/lspisp.f' || echo '$(srcdir)/'`src/fortran/lspisp.f
-
-dspcle.lo: src/fortran/dspcle.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspcle.lo `test -f 'src/fortran/dspcle.f' || echo '$(srcdir)/'`src/fortran/dspcle.f
-
-wsosp.lo: src/fortran/wsosp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wsosp.lo `test -f 'src/fortran/wsosp.f' || echo '$(srcdir)/'`src/fortran/wsosp.f
-
-dspssp.lo: src/fortran/dspssp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspssp.lo `test -f 'src/fortran/dspssp.f' || echo '$(srcdir)/'`src/fortran/dspssp.f
-
-lsposp.lo: src/fortran/lsposp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lsposp.lo `test -f 'src/fortran/lsposp.f' || echo '$(srcdir)/'`src/fortran/lsposp.f
-
-dspxsp.lo: src/fortran/dspxsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspxsp.lo `test -f 'src/fortran/dspxsp.f' || echo '$(srcdir)/'`src/fortran/dspxsp.f
-
-ordmmd.lo: src/fortran/ordmmd.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o ordmmd.lo `test -f 'src/fortran/ordmmd.f' || echo '$(srcdir)/'`src/fortran/ordmmd.f
-
-spextr1.lo: src/fortran/spextr1.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spextr1.lo `test -f 'src/fortran/spextr1.f' || echo '$(srcdir)/'`src/fortran/spextr1.f
-
-wcompa.lo: src/fortran/wcompa.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wcompa.lo `test -f 'src/fortran/wcompa.f' || echo '$(srcdir)/'`src/fortran/wcompa.f
-
-lspxsp.lo: src/fortran/lspxsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspxsp.lo `test -f 'src/fortran/lspxsp.f' || echo '$(srcdir)/'`src/fortran/lspxsp.f
-
-spisp.lo: src/fortran/spisp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spisp.lo `test -f 'src/fortran/spisp.f' || echo '$(srcdir)/'`src/fortran/spisp.f
-
-dperm.lo: src/fortran/dperm.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dperm.lo `test -f 'src/fortran/dperm.f' || echo '$(srcdir)/'`src/fortran/dperm.f
-
-spind.lo: src/fortran/spind.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spind.lo `test -f 'src/fortran/spind.f' || echo '$(srcdir)/'`src/fortran/spind.f
-
-dspe2.lo: src/fortran/dspe2.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspe2.lo `test -f 'src/fortran/dspe2.f' || echo '$(srcdir)/'`src/fortran/dspe2.f
-
-wspasp.lo: src/fortran/wspasp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspasp.lo `test -f 'src/fortran/wspasp.f' || echo '$(srcdir)/'`src/fortran/wspasp.f
-
-wij2sp.lo: src/fortran/wij2sp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wij2sp.lo `test -f 'src/fortran/wij2sp.f' || echo '$(srcdir)/'`src/fortran/wij2sp.f
-
-wspcsp.lo: src/fortran/wspcsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspcsp.lo `test -f 'src/fortran/wspcsp.f' || echo '$(srcdir)/'`src/fortran/wspcsp.f
-
-lspops.lo: src/fortran/lspops.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspops.lo `test -f 'src/fortran/lspops.f' || echo '$(srcdir)/'`src/fortran/lspops.f
-
-spifp.lo: src/fortran/spifp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spifp.lo `test -f 'src/fortran/spifp.f' || echo '$(srcdir)/'`src/fortran/spifp.f
-
-isort1.lo: src/fortran/isort1.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o isort1.lo `test -f 'src/fortran/isort1.f' || echo '$(srcdir)/'`src/fortran/isort1.f
-
-dspis.lo: src/fortran/dspis.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspis.lo `test -f 'src/fortran/dspis.f' || echo '$(srcdir)/'`src/fortran/dspis.f
-
-wspxs.lo: src/fortran/wspxs.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspxs.lo `test -f 'src/fortran/wspxs.f' || echo '$(srcdir)/'`src/fortran/wspxs.f
-
-lspe2.lo: src/fortran/lspe2.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspe2.lo `test -f 'src/fortran/lspe2.f' || echo '$(srcdir)/'`src/fortran/lspe2.f
-
-wspisp.lo: src/fortran/wspisp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspisp.lo `test -f 'src/fortran/wspisp.f' || echo '$(srcdir)/'`src/fortran/wspisp.f
-
-dsmsp.lo: src/fortran/dsmsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dsmsp.lo `test -f 'src/fortran/dsmsp.f' || echo '$(srcdir)/'`src/fortran/dsmsp.f
-
-dspms.lo: src/fortran/dspms.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspms.lo `test -f 'src/fortran/dspms.f' || echo '$(srcdir)/'`src/fortran/dspms.f
-
-spord.lo: src/fortran/spord.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spord.lo `test -f 'src/fortran/spord.f' || echo '$(srcdir)/'`src/fortran/spord.f
-
-dsosp.lo: src/fortran/dsosp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dsosp.lo `test -f 'src/fortran/dsosp.f' || echo '$(srcdir)/'`src/fortran/dsosp.f
-
-dspmat.lo: src/fortran/dspmat.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o dspmat.lo `test -f 'src/fortran/dspmat.f' || echo '$(srcdir)/'`src/fortran/dspmat.f
-
-wspmsp.lo: src/fortran/wspmsp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o wspmsp.lo `test -f 'src/fortran/wspmsp.f' || echo '$(srcdir)/'`src/fortran/wspmsp.f
-
-lspis.lo: src/fortran/lspis.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o lspis.lo `test -f 'src/fortran/lspis.f' || echo '$(srcdir)/'`src/fortran/lspis.f
-
-writebuf.lo: src/fortran/writebuf.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o writebuf.lo `test -f 'src/fortran/writebuf.f' || echo '$(srcdir)/'`src/fortran/writebuf.f
-
-ta2lpd.lo: src/fortran/ta2lpd.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o ta2lpd.lo `test -f 'src/fortran/ta2lpd.f' || echo '$(srcdir)/'`src/fortran/ta2lpd.f
-
-sci_f_spcompa.lo: sci_gateway/fortran/sci_f_spcompa.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_spcompa.lo `test -f 'sci_gateway/fortran/sci_f_spcompa.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_spcompa.f
-
-sci_f_sparse.lo: sci_gateway/fortran/sci_f_sparse.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_sparse.lo `test -f 'sci_gateway/fortran/sci_f_sparse.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_sparse.f
-
-sci_f_full.lo: sci_gateway/fortran/sci_f_full.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_full.lo `test -f 'sci_gateway/fortran/sci_f_full.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_full.f
-
-sci_f_blkslvi.lo: sci_gateway/fortran/sci_f_blkslvi.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_blkslvi.lo `test -f 'sci_gateway/fortran/sci_f_blkslvi.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_blkslvi.f
-
-sci_f_inpnvi.lo: sci_gateway/fortran/sci_f_inpnvi.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_inpnvi.lo `test -f 'sci_gateway/fortran/sci_f_inpnvi.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_inpnvi.f
-
-sci_f_nnz.lo: sci_gateway/fortran/sci_f_nnz.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_nnz.lo `test -f 'sci_gateway/fortran/sci_f_nnz.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_nnz.f
-
-sci_f_ludel.lo: sci_gateway/fortran/sci_f_ludel.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_ludel.lo `test -f 'sci_gateway/fortran/sci_f_ludel.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_ludel.f
-
-sci_f_bfinit.lo: sci_gateway/fortran/sci_f_bfinit.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_bfinit.lo `test -f 'sci_gateway/fortran/sci_f_bfinit.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_bfinit.f
-
-spops.lo: sci_gateway/fortran/spops.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o spops.lo `test -f 'sci_gateway/fortran/spops.f' || echo '$(srcdir)/'`sci_gateway/fortran/spops.f
-
-sci_f_spmatrix.lo: sci_gateway/fortran/sci_f_spmatrix.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_spmatrix.lo `test -f 'sci_gateway/fortran/sci_f_spmatrix.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_spmatrix.f
-
-sci_f_blkfc1i.lo: sci_gateway/fortran/sci_f_blkfc1i.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_blkfc1i.lo `test -f 'sci_gateway/fortran/sci_f_blkfc1i.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_blkfc1i.f
-
-sci_f_lufact.lo: sci_gateway/fortran/sci_f_lufact.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_lufact.lo `test -f 'sci_gateway/fortran/sci_f_lufact.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_lufact.f
-
-sci_f_symfcti.lo: sci_gateway/fortran/sci_f_symfcti.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_symfcti.lo `test -f 'sci_gateway/fortran/sci_f_symfcti.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_symfcti.f
-
-sci_f_luget.lo: sci_gateway/fortran/sci_f_luget.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_luget.lo `test -f 'sci_gateway/fortran/sci_f_luget.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_luget.f
-
-sci_f_ordmmd.lo: sci_gateway/fortran/sci_f_ordmmd.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_ordmmd.lo `test -f 'sci_gateway/fortran/sci_f_ordmmd.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_ordmmd.f
-
-sci_f_spget.lo: sci_gateway/fortran/sci_f_spget.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_spget.lo `test -f 'sci_gateway/fortran/sci_f_spget.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_spget.f
-
-sci_f_spclean.lo: sci_gateway/fortran/sci_f_spclean.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_spclean.lo `test -f 'sci_gateway/fortran/sci_f_spclean.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_spclean.f
-
-sci_f_spchol.lo: sci_gateway/fortran/sci_f_spchol.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_spchol.lo `test -f 'sci_gateway/fortran/sci_f_spchol.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_spchol.f
-
-sci_f_lusolve.lo: sci_gateway/fortran/sci_f_lusolve.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_lusolve.lo `test -f 'sci_gateway/fortran/sci_f_lusolve.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_lusolve.f
-
-sci_f_fadj2sp.lo: sci_gateway/fortran/sci_f_fadj2sp.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_fadj2sp.lo `test -f 'sci_gateway/fortran/sci_f_fadj2sp.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_fadj2sp.f
-
-sci_f_sfinit.lo: sci_gateway/fortran/sci_f_sfinit.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_sfinit.lo `test -f 'sci_gateway/fortran/sci_f_sfinit.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_sfinit.f
-
-sci_f_ta2lpd.lo: sci_gateway/fortran/sci_f_ta2lpd.f
-       $(LIBTOOL)  --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS) -c -o sci_f_ta2lpd.lo `test -f 'sci_gateway/fortran/sci_f_ta2lpd.f' || echo '$(srcdir)/'`sci_gateway/fortran/sci_f_ta2lpd.f
-
 mostlyclean-libtool:
        -rm -f *.lo
 
diff --git a/scilab/modules/sparse/includes/dynlib_sparse_gw.h b/scilab/modules/sparse/includes/dynlib_sparse_gw.h
new file mode 100644 (file)
index 0000000..44e3af3
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2013 - Scilab Enterprises - Cedric Delamarre
+*
+* 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
+*
+*/
+
+/*--------------------------------------------------------------------------*/
+#ifndef __DYNLIB_SPARSE_GW_H__
+#define __DYNLIB_SPARSE_GW_H__
+
+#ifdef _MSC_VER
+#ifdef SPARSE_GW_EXPORTS
+#define SPARSE_GW_IMPEXP __declspec(dllexport)
+#else
+#define SPARSE_GW_IMPEXP __declspec(dllimport)
+#endif
+#else
+#define SPARSE_GW_IMPEXP
+#endif
+
+#endif /* __DYNLIB_SPARSE_GW_H__ */
+/*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/sparse/includes/sparse_gw.hxx b/scilab/modules/sparse/includes/sparse_gw.hxx
new file mode 100644 (file)
index 0000000..04bb577
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2013 - Scilab Enterprises - Cedric Delamarre
+ *
+ *  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
+ *
+ */
+
+#ifndef __SPARSE_GW_HXX__
+#define __SPARSE_GW_HXX__
+
+
+#include "dynlib_sparse_gw.h"
+
+#include "cpp_gateway_prototype.hxx"
+
+class SparseModule
+{
+private :
+    SparseModule() {};
+    ~SparseModule() {};
+
+public :
+    SPARSE_GW_IMPEXP static int Load();
+};
+
+CPP_GATEWAY_PROTOTYPE(sci_adj2sp);
+CPP_GATEWAY_PROTOTYPE(sci_nnz);
+CPP_GATEWAY_PROTOTYPE(sci_sp2adj);
+CPP_GATEWAY_PROTOTYPE(sci_sparse);
+CPP_GATEWAY_PROTOTYPE(sci_spcompack);
+CPP_GATEWAY_PROTOTYPE(sci_spget);
+CPP_GATEWAY_PROTOTYPE(sci_spzeros);
+CPP_GATEWAY_PROTOTYPE(sci_spones);
+CPP_GATEWAY_PROTOTYPE(sci_full);
+
+#endif /* !__SPARSE_GW_HXX__ */
@@ -11,7 +11,7 @@
  */
 
 #include <iostream>
-#include "types_gw.hxx"
+#include "sparse_gw.hxx"
 #include "function.hxx"
 #include "sparse.hxx"
 
@@ -26,29 +26,29 @@ using namespace types;
 
 Function::ReturnValue sci_adj2sp(typed_list &in, int nbRes, typed_list &out)
 {
-    if(in.size() > 4 || in.size() < 3)
+    if (in.size() > 4 || in.size() < 3)
     {
         Scierror(999, _("%s: Wrong number of input argument(s): %d to %d expected.\n"), "adj2sp", 3, 4);
         return Function::Error;
     }
-    if(nbRes != 1)
+    if (nbRes != 1)
     {
         Scierror(999, _("%s: Wrong number of output arguments: %d expected.\n"), "adj2sp", 1);
         return Function::Error;
     }
 
-    for(std::size_t i = 0; i != 3; i++)
+    for (std::size_t i = 0; i != 3; i++)
     {
-        if(in[i]->isDouble() == false || in[i]->getAs<Double>()->isVector() == false)
+        if (in[i]->isDouble() == false || in[i]->getAs<Double>()->isVector() == false)
         {
             Scierror(999, _("%s: Wrong type for argument %d: Real vector expected.\n"), "adj2sp", i + 1);
             return Function::Error;
         }
     }
 
-    for(std::size_t i = 3 ; i != in.size() ; i++)
+    for (std::size_t i = 3 ; i != in.size() ; i++)
     {
-        if(in[i]->isDouble() == false)
+        if (in[i]->isDouble() == false)
         {
             Scierror(999, _("%s: Wrong type for argument %d: Matrix expected.\n"), "adj2sp", i + 1);
             return Function::Error;
@@ -62,23 +62,23 @@ Function::ReturnValue sci_adj2sp(typed_list &in, int nbRes, typed_list &out)
     std::size_t n = xadj->getSize() - 1;
     size_t m = static_cast<size_t>(*std::max_element(adjncy->getReal(), adjncy->getReal() + adjncy->getSize()));
 
-    if(in.size() == 4)
+    if (in.size() == 4)
     {
         Double& dims = *(in[3]->getAs<Double>());
-        if(dims.getRows() != 1 || dims.getCols() != 2)
+        if (dims.getRows() != 1 || dims.getCols() != 2)
         {
             Scierror(999, _("%s: Wrong size for input arguments %d: A vector of size %d expected.\n" ), "adj2sp", 4, 2);
             return Function::Error;
         }
 
-        if(n > dims.getReal(0,0) || m > dims.getReal(0,1))
+        if (n > dims.getReal(0, 0) || m > dims.getReal(0, 1))
         {
             Scierror(999, _("%s: Incompatible input argument.\n"), "adj2sp");
             return Function::Error;
         }
 
-        n = static_cast<size_t>(dims.getReal(0,0));
-        m = static_cast<size_t>(dims.getReal(0,1));
+        n = static_cast<size_t>(dims.getReal(0, 0));
+        m = static_cast<size_t>(dims.getReal(0, 1));
     }
 
     out.push_back(new types::Sparse(*xadj, *adjncy, *anz, m, n));
@@ -12,7 +12,7 @@
  */
 
 
-#include "types_gw.hxx"
+#include "sparse_gw.hxx"
 #include "function.hxx"
 #include "sparse.hxx"
 
@@ -10,7 +10,7 @@
  *
  */
 
-#include "types_gw.hxx"
+#include "sparse_gw.hxx"
 #include "function.hxx"
 #include "sparse.hxx"
 
@@ -26,44 +26,44 @@ using namespace std;
 
 namespace
 {
-    size_t nonZeros(types::Double CONST& d)
-    {
-        size_t res = 0;
-        size_t n = d.getSize();
+size_t nonZeros(types::Double CONST& d)
+{
+    size_t res = 0;
+    size_t n = d.getSize();
 
-        if(d.isComplex())
+    if (d.isComplex())
+    {
+        for (size_t i = 0 ; i != n ; i++)
         {
-            for(size_t i = 0 ; i != n ; i++)
+            if (d.getReal()[i] == 0 && d.getImg()[i] == 0)
             {
-                if(d.getReal()[i] == 0 && d.getImg()[i] == 0)
-                {
-                    ++res;
-                }
+                ++res;
             }
         }
-        else
-        {
-            res = count(d.getReal(), d.getReal() + n, 0);
-        }
-        return d.getSize() - res;
     }
+    else
+    {
+        res = count(d.getReal(), d.getReal() + n, 0);
+    }
+    return d.getSize() - res;
+}
 }
 
 Function::ReturnValue sci_nnz(typed_list &in, int nbRes, typed_list &out)
 {
-    if(in.size() != 1)
+    if (in.size() != 1)
     {
-         Scierror(999, _("%s: Wrong number of input argument(s): %d expected.\n"), "nnz", 1);
+        Scierror(999, _("%s: Wrong number of input argument(s): %d expected.\n"), "nnz", 1);
         return Function::Error;
     }
 
-    if(in[0]->isSparse() == false && in[0]->isSparseBool() == false && in[0]->isDouble() == false)
+    if (in[0]->isSparse() == false && in[0]->isSparseBool() == false && in[0]->isDouble() == false)
     {
         Scierror(999, _("%s: Wrong type argument %d: Sparse or matrix expected.\n"), "nnz", 1);
         return Function::Error;
     }
 
-    if(nbRes > 1)
+    if (nbRes > 1)
     {
         Scierror(999, _("%s: Wrong number of output arguments: %d expected.\n"), "nnz", 1);
         return Function::Error;
@@ -73,11 +73,11 @@ Function::ReturnValue sci_nnz(typed_list &in, int nbRes, typed_list &out)
 
 
 
-    if(in[0]->isSparse())
+    if (in[0]->isSparse())
     {
         dblVal = static_cast<double>(in[0]->getAs<Sparse>()->nonZeros());
     }
-    else if(in[0]->isSparseBool())
+    else if (in[0]->isSparseBool())
     {
         dblVal = static_cast<double>(in[0]->getAs<SparseBool>()->nbTrue());
     }
@@ -10,7 +10,7 @@
  *
  */
 
-#include "types_gw.hxx"
+#include "sparse_gw.hxx"
 #include "function.hxx"
 #include "sparse.hxx"
 
@@ -28,18 +28,18 @@ Function::ReturnValue sci_sp2adj(typed_list &in, int nbRes, typed_list &out)
 {
     Sparse *pRetVal = NULL;
 
-    if(in.size() != 1)
+    if (in.size() != 1)
     {
         Scierror(999, _("%s: Wrong number of input argument(s): %d expected.\n"), "sp2adj", 1);
         return Function::Error;
     }
 
-    if(in[0]->isSparse() == false)
+    if (in[0]->isSparse() == false)
     {
         Scierror(999, _("%s: Wrong type for input argument #%d: sparse matrix expected.\n"), "sp2adj", 1);
         return Function::Error;
     }
-    if(nbRes > 3)
+    if (nbRes > 3)
     {
         Scierror(999, _("%s: Wrong number of output arguments: %d to %d expected.\n"), "sp2adj", 1, 3);
         return Function::Error;
@@ -50,25 +50,25 @@ Function::ReturnValue sci_sp2adj(typed_list &in, int nbRes, typed_list &out)
 
     types::Double* res = new Double(sp->getCols() + 1, 1);
     res->set(0, 1);
-    for(std::size_t i = 0; i != sp->getCols() ; i++)
+    for (std::size_t i = 0; i != sp->getCols() ; i++)
     {
         res->set(static_cast<int>(i + 1), res->get(static_cast<int>(i)) + sp->nonZeros(i));
     }
 
     out.push_back(res);
-    
-    if(nbRes >=2)
+
+    if (nbRes >= 2)
     {
         res = new Double(static_cast<int>(nonZeros), 1);
         sp->outputCols(res->getReal());
-        for(int i = 0 ; i < res->getSize() ; i++)
+        for (int i = 0 ; i < res->getSize() ; i++)
         {
             res->getReal()[i]++;
         }
         out.push_back(res);
     }
 
-    if(nbRes == 3)
+    if (nbRes == 3)
     {
         res = new Double(static_cast<int>(nonZeros), 1, sp->isComplex());
         sp->outputValues(res->getReal(), res->getImg());
@@ -10,7 +10,7 @@
  *
  */
 
-#include "types_gw.hxx"
+#include "sparse_gw.hxx"
 #include "function.hxx"
 #include "sparse.hxx"
 
@@ -11,7 +11,7 @@
  */
 
 
-#include "types_gw.hxx"
+#include "sparse_gw.hxx"
 #include "function.hxx"
 #include "sparse.hxx"
 
@@ -24,65 +24,65 @@ extern "C"
 
 namespace
 {
-    // C++ code straight from spcompack.f
-    template<typename XlindxIt, typename LindxIt, typename XlnzIt, typename AdjncyIt>
-    void spcompack(int neqns, int nsuper, int nsub, int nnz, XlindxIt xlindx
-        , LindxIt lindx, XlnzIt xlnz, AdjncyIt adjncy)
+// C++ code straight from spcompack.f
+template<typename XlindxIt, typename LindxIt, typename XlnzIt, typename AdjncyIt>
+void spcompack(int neqns, int nsuper, int nsub, int nnz, XlindxIt xlindx
+               , LindxIt lindx, XlnzIt xlnz, AdjncyIt adjncy)
+{
+    typedef typename std::iterator_traits<AdjncyIt>::difference_type AdjDiff_t;
+    typedef typename std::iterator_traits<LindxIt>::difference_type LindxDiff_t;
+    std::copy(lindx, lindx + nsub, adjncy);
+    std::size_t i(1), j(1);
+    for (i = j = 1 ; j <= neqns && i != nsuper + 1 ; ++j, ++i)
     {
-        typedef typename std::iterator_traits<AdjncyIt>::difference_type AdjDiff_t;
-        typedef typename std::iterator_traits<LindxIt>::difference_type LindxDiff_t;
-        std::copy(lindx, lindx+nsub, adjncy);
-        std::size_t i(1), j(1);
-        for(i = j = 1 ; j <= neqns && i != nsuper + 1 ; ++j, ++i)
-        {
-            if(!(((*(xlnz + j) - *(xlnz + j - 1)) == (*(xlindx + i) - *(xlindx + i - 1)))
+        if (!(((*(xlnz + j) - * (xlnz + j - 1)) == (*(xlindx + i) - * (xlindx + i - 1)))
                 && (*(adjncy + static_cast<AdjDiff_t>(*(xlnz + j - 1)) - 1) == j)))
-            {
-                std::size_t const l(*(xlindx + nsuper) - *(xlindx + i - 1) + (*(xlnz + j) - *(xlnz + j - 1)));
-                LindxIt const tmp(lindx + static_cast<LindxDiff_t>(*(xlindx + i - 1) - (*(xlnz + j) - *(xlnz + j - 1))) - 1);
-                std::copy(tmp, tmp + l, adjncy+static_cast<AdjDiff_t>(*(xlnz + j - 1)) - 1);
-                --i;
-            }
+        {
+            std::size_t const l(*(xlindx + nsuper) - * (xlindx + i - 1) + (*(xlnz + j) - * (xlnz + j - 1)));
+            LindxIt const tmp(lindx + static_cast<LindxDiff_t>(*(xlindx + i - 1) - (*(xlnz + j) - * (xlnz + j - 1))) - 1);
+            std::copy(tmp, tmp + l, adjncy + static_cast<AdjDiff_t>(*(xlnz + j - 1)) - 1);
+            --i;
         }
-        if(i == nsuper + 1)
+    }
+    if (i == nsuper + 1)
+    {
+        int const k(*(xlnz + neqns) - * (xlnz + j - 1));
+        i = 1;
+        int ii = 1;
+        while (i <= k)
         {
-            int const k(*(xlnz + neqns)- *(xlnz + j - 1));
-            i = 1;
-            int ii = 1;
-            while(i <= k)
+            for (j = 1; j <= ii; ++j, ++i)
             {
-                for(j = 1; j <= ii; ++j, ++i)
-                {
-                    *(adjncy + static_cast<AdjDiff_t>(*(xlnz + neqns)) - i - 1) = neqns - j + 1;
-                }
-                ++ii;
+                *(adjncy + static_cast<AdjDiff_t>(*(xlnz + neqns)) - i - 1) = neqns - j + 1;
             }
+            ++ii;
         }
     }
 }
+}
 
 using namespace types;
 
 //adjncy=spcompack(xadj,xlindx,lindx)
 Function::ReturnValue sci_spcompack(typed_list &in, int nbRes, typed_list &out)
 {
-    if(in.size() != 3)
+    if (in.size() != 3)
     {
         Scierror(999, _("%s: Wrong number of input argument(s): %d expected.\n"), "spcompack", 3);
         return Function::Error;
     }
 
-    for(std::size_t i = 0; i != 3; i++)
+    for (std::size_t i = 0; i != 3; i++)
     {
         /* Scilab <6 does not enforce vector args :( */
-        if(in[i]->isDouble() == false)
+        if (in[i]->isDouble() == false)
         {
-            Scierror(999, _("%s: Wrong type for input argument #%d: Real vector expected.\n"), "spcompack", i+1);
+            Scierror(999, _("%s: Wrong type for input argument #%d: Real vector expected.\n"), "spcompack", i + 1);
             return Function::Error;
         }
     }
 
-    if(nbRes > 1)
+    if (nbRes > 1)
     {
         Scierror(999, _("%s: Wrong number of output arguments: %d expected.\n"), "spcompack", 1);
         return Function::Error;
@@ -10,7 +10,7 @@
  *
  */
 
-#include "types_gw.hxx"
+#include "sparse_gw.hxx"
 #include "function.hxx"
 #include "sparse.hxx"
 #include "gsort.hxx"
@@ -10,7 +10,7 @@
  *
  */
 
-#include "types_gw.hxx"
+#include "sparse_gw.hxx"
 #include "function.hxx"
 #include "sparse.hxx"
 
@@ -25,19 +25,19 @@ using namespace types;
 
 Function::ReturnValue sci_spones(typed_list &in, int _piRetCount, typed_list &out)
 {
-    if(in.size() != 1)
+    if (in.size() != 1)
     {
         Scierror(999, _("%s: Wrong number of input argument(s): %d expected.\n"), "spones", 1);
         return Function::Error;
     }
 
-    if(in[0]->isSparse() == false && in[0]->isSparseBool() == false)
+    if (in[0]->isSparse() == false && in[0]->isSparseBool() == false)
     {
         Scierror(999, _("%s: Wrong type for argument %d: Sparse matrix expected.\n"), "spones", 1);
         return Function::Error;
     }
 
-    if(in[0]->isSparse())
+    if (in[0]->isSparse())
     {
         out.push_back(in[0]->getAs<Sparse>()->newOnes());
     }
diff --git a/scilab/modules/sparse/sci_gateway/cpp/sparse_gw.cpp b/scilab/modules/sparse/sci_gateway/cpp/sparse_gw.cpp
new file mode 100644 (file)
index 0000000..8ac3d6e
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2013 - Scilab Enterprises - Cedric Delamarre
+ *
+ *  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
+ *
+ */
+
+#include "sparse_gw.hxx"
+#include "context.hxx"
+
+#define MODULE_NAME L"sparse"
+int SparseModule::Load()
+{
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"adj2sp", &sci_adj2sp, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"nnz", &sci_nnz, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"sp2adj", &sci_sp2adj, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"sparse", &sci_sparse, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"spcompack", &sci_spcompack, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"spget", &sci_spget, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"spzeros", &sci_spzeros, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"spones", &sci_spones, MODULE_NAME));
+    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"full", &sci_full, MODULE_NAME));
+
+    return 1;
+}
diff --git a/scilab/modules/sparse/sci_gateway/cpp/sparse_gw.vcxproj b/scilab/modules/sparse/sci_gateway/cpp/sparse_gw.vcxproj
new file mode 100644 (file)
index 0000000..03072b5
--- /dev/null
@@ -0,0 +1,211 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{7FC7AEC9-4922-4864-83F1-EAED67981AAC}</ProjectGuid>
+    <RootNamespace>sparse_gw</RootNamespace>
+    <Keyword>Win32Proj</Keyword>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup>
+    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>../../includes;../../../elementary_functions/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../../libs/Eigen/includes;../../../dynamic_link/includes;../../../symbol/includes;../../../ast/includes;../../../core/includes;../../../types/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SPARSE_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <MinimalRebuild>true</MinimalRebuild>
+      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
+    </ClCompile>
+    <Link>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <ImportLibrary>$(TargetDir)$(TargetName).lib</ImportLibrary>
+      <TargetMachine>MachineX86</TargetMachine>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>../../includes;../../../elementary_functions/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../../libs/Eigen/includes;../../../dynamic_link/includes;../../../symbol/includes;../../../ast/includes;../../../core/includes;../../../types/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SPARSE_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <MinimalRebuild>true</MinimalRebuild>
+      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+    </ClCompile>
+    <Link>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <ImportLibrary>$(TargetDir)$(TargetName).lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <Optimization>MaxSpeed</Optimization>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <AdditionalIncludeDirectories>../../includes;../../../elementary_functions/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../../libs/Eigen/includes;../../../dynamic_link/includes;../../../symbol/includes;../../../ast/includes;../../../core/includes;../../../types/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SPARSE_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+    </ClCompile>
+    <Link>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <ImportLibrary>$(TargetDir)$(TargetName).lib</ImportLibrary>
+      <TargetMachine>MachineX86</TargetMachine>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <Optimization>MaxSpeed</Optimization>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <AdditionalIncludeDirectories>../../includes;../../../elementary_functions/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../../libs/Eigen/includes;../../../dynamic_link/includes;../../../symbol/includes;../../../ast/includes;../../../core/includes;../../../types/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SPARSE_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+    </ClCompile>
+    <Link>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <ImportLibrary>$(TargetDir)$(TargetName).lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClCompile Include="sci_adj2sp.cpp" />
+    <ClCompile Include="sci_full.cpp" />
+    <ClCompile Include="sci_nnz.cpp" />
+    <ClCompile Include="sci_sp2adj.cpp" />
+    <ClCompile Include="sci_sparse.cpp" />
+    <ClCompile Include="sci_spcompack.cpp" />
+    <ClCompile Include="sci_spget.cpp" />
+    <ClCompile Include="sci_spones.cpp" />
+    <ClCompile Include="sci_spzeros.cpp" />
+    <ClCompile Include="sparse_gw.cpp" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\..\includes\sparse_gw.hxx" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\elementary_functions\src\c\elementary_functions.vcxproj">
+      <Project>{5b110267-7c18-437c-b87d-dba2b50729e9}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\output_stream\src\c\output_stream.vcxproj">
+      <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\symbol\symbol.vcxproj">
+      <Project>{2c60033b-0dbd-4ca4-80d3-176c9be9ce2f}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\types\types.vcxproj">
+      <Project>{64e090da-dcb5-4f4d-93d7-e88ddec9c2ef}</Project>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Library Include="..\..\..\..\bin\libintl.lib" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/scilab/modules/sparse/sci_gateway/cpp/sparse_gw.vcxproj.filters b/scilab/modules/sparse/sci_gateway/cpp/sparse_gw.vcxproj.filters
new file mode 100644 (file)
index 0000000..6e7229e
--- /dev/null
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+    </Filter>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+    </Filter>
+    <Filter Include="Resource Files">
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+    </Filter>
+    <Filter Include="Libraries Dependencies">
+      <UniqueIdentifier>{709e71f6-1cad-4c48-a342-fc27c2e3dc61}</UniqueIdentifier>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="sci_adj2sp.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_full.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_nnz.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_sp2adj.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_sparse.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_spcompack.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_spget.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_spones.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sci_spzeros.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="sparse_gw.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\..\includes\sparse_gw.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+  </ItemGroup>
+  <ItemGroup>
+    <Library Include="..\..\..\..\bin\libintl.lib" />
+  </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/scilab/modules/sparse/sci_gateway/sparse_gateway.xml b/scilab/modules/sparse/sci_gateway/sparse_gateway.xml
deleted file mode 100644 (file)
index fd8850d..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) XXXX-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
- *
- -->
-
-<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">
-<GATEWAY name="sparse">
-<!-- =================== -->
-<!--
- Scilab
- Interface description. In this file, we define the list of the function which
- will be available into Scilab and the link to the "native" function.
-
- gatewayId is the position in the hashtable 'Interfaces' defined in the
- file SCI/modules/core/src/c/callinterf.h
-
- primitiveId is the position in the hashtable '<module>Table Tab[]' defined
- in the file modules/<module>/sci_gateway/c/gw_<module>.c
-
- primitiveName is the name of the Scilab function
-
- @author Allan CORNET
- @author Sylvestre LEDRU
- @date INRIA 2007
- ===================
- Don't touch if you do not know what you are doing
--->
-<!-- =================== -->
-
-<PRIMITIVE gatewayId="27" primitiveId="1" primitiveName="sparse" />
-<PRIMITIVE gatewayId="27" primitiveId="2" primitiveName="spget" />
-<PRIMITIVE gatewayId="27" primitiveId="3" primitiveName="full" />
-<PRIMITIVE gatewayId="27" primitiveId="4" primitiveName="lufact" />
-<PRIMITIVE gatewayId="27" primitiveId="5" primitiveName="lusolve" />
-<PRIMITIVE gatewayId="27" primitiveId="6" primitiveName="ludel" />
-<PRIMITIVE gatewayId="27" primitiveId="7" primitiveName="luget" />
-<PRIMITIVE gatewayId="27" primitiveId="9" primitiveName="nnz" />
-<PRIMITIVE gatewayId="27" primitiveId="13" primitiveName="spchol" />
-<PRIMITIVE gatewayId="27" primitiveId="14" primitiveName="fadj2sp" />
-<PRIMITIVE gatewayId="27" primitiveId="15" primitiveName="spcompack" />
-<PRIMITIVE gatewayId="27" primitiveId="16" primitiveName="ordmmd" />
-<PRIMITIVE gatewayId="27" primitiveId="17" primitiveName="blkfc1i" />
-<PRIMITIVE gatewayId="27" primitiveId="18" primitiveName="blkslvi" />
-<PRIMITIVE gatewayId="27" primitiveId="19" primitiveName="inpnvi" />
-<PRIMITIVE gatewayId="27" primitiveId="20" primitiveName="sfinit" />
-<PRIMITIVE gatewayId="27" primitiveId="21" primitiveName="symfcti" />
-<PRIMITIVE gatewayId="27" primitiveId="22" primitiveName="bfinit" />
-<PRIMITIVE gatewayId="27" primitiveId="23" primitiveName="mtlb_sparse" />
-<PRIMITIVE gatewayId="27" primitiveId="24" primitiveName="%msp_spget" />
-<PRIMITIVE gatewayId="27" primitiveId="25" primitiveName="%msp_full" />
-<PRIMITIVE gatewayId="27" primitiveId="26" primitiveName="ta2lpd" />
-</GATEWAY>
index c9d9672..05d2170 100644 (file)
                                <Tool Name="VFResourceCompilerTool"/>
                                <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
                                <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFPreLinkEventTool" CommandLine="setlocal EnableDelayedExpansion
-cd $(ConfigurationName)
-set LIST_OBJ=
-for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f
-&quot;$(SolutionDir)bin\dumpexts&quot; -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%
-copy $(ProjectName).def ..\$(ProjectName).def &gt;nul
-del *.def &gt;nul
-cd .." Description="Build $(ProjectName).def"/>
-                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)core_import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)core.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Elementary_functions_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Elementary_functions_f.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Sparse_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)sparse.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Elementary_functions_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Elementary_functions.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Output_stream.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)linpack_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)linpack_f.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)core_f.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build dependencies"/>
+                               <Tool Name="VFPreLinkEventTool" CommandLine="setlocal EnableDelayedExpansion&#xA;cd $(ConfigurationName)&#xA;set LIST_OBJ=&#xA;for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f&#xA;&quot;$(SolutionDir)bin\dumpexts&quot; -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%&#xA;copy $(ProjectName).def ..\$(ProjectName).def &gt;nul&#xA;del *.def &gt;nul&#xA;cd .." Description="Build $(ProjectName).def"/>
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)core_import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)core.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Elementary_functions_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Elementary_functions_f.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Sparse_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)sparse.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Elementary_functions_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Elementary_functions.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)linpack_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)linpack_f.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)core_f.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build dependencies"/>
                                <Tool Name="VFPostBuildEventTool"/>
                                <Tool Name="VFManifestTool" SuppressStartupBanner="true"/></Configuration>
                <Configuration Name="Release|Win32" OutputDirectory="$(SolutionDir)bin\" IntermediateDirectory="$(ProjectDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
@@ -33,21 +20,8 @@ lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X8
                                <Tool Name="VFResourceCompilerTool"/>
                                <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
                                <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFPreLinkEventTool" CommandLine="setlocal EnableDelayedExpansion
-cd $(ConfigurationName)
-set LIST_OBJ=
-for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f
-&quot;$(SolutionDir)bin\dumpexts&quot; -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%
-copy $(ProjectName).def ..\$(ProjectName).def &gt;nul
-del *.def &gt;nul
-cd .." Description="Build $(ProjectName).def"/>
-                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)core_import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)core.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Elementary_functions_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Elementary_functions_f.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Sparse_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)sparse.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Elementary_functions_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Elementary_functions.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Output_stream.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)linpack_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)linpack_f.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)core_f.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build dependencies"/>
+                               <Tool Name="VFPreLinkEventTool" CommandLine="setlocal EnableDelayedExpansion&#xA;cd $(ConfigurationName)&#xA;set LIST_OBJ=&#xA;for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f&#xA;&quot;$(SolutionDir)bin\dumpexts&quot; -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%&#xA;copy $(ProjectName).def ..\$(ProjectName).def &gt;nul&#xA;del *.def &gt;nul&#xA;cd .." Description="Build $(ProjectName).def"/>
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)core_import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)core.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Elementary_functions_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Elementary_functions_f.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Sparse_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)sparse.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Elementary_functions_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Elementary_functions.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)Output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)linpack_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)linpack_f.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)core_f.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build dependencies"/>
                                <Tool Name="VFPostBuildEventTool"/>
                                <Tool Name="VFManifestTool" SuppressStartupBanner="true"/></Configuration>
                <Configuration Name="Debug|x64" OutputDirectory="$(SolutionDir)bin\" IntermediateDirectory="$(ProjectDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
@@ -56,21 +30,8 @@ lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X8
                                <Tool Name="VFResourceCompilerTool"/>
                                <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
                                <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFPreLinkEventTool" CommandLine="setlocal EnableDelayedExpansion
-cd $(ConfigurationName)
-set LIST_OBJ=
-for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f
-&quot;$(SolutionDir)bin\dumpexts&quot; -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%
-copy $(ProjectName).def ..\$(ProjectName).def &gt;nul
-del *.def &gt;nul
-cd .." Description="Build $(ProjectName).def"/>
-                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)core_import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)core.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Elementary_functions_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Elementary_functions_f.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Sparse_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)sparse.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Elementary_functions_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Elementary_functions.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Output_stream.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)linpack_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)linpack_f.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)core_f.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build dependencies"/>
+                               <Tool Name="VFPreLinkEventTool" CommandLine="setlocal EnableDelayedExpansion&#xA;cd $(ConfigurationName)&#xA;set LIST_OBJ=&#xA;for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f&#xA;&quot;$(SolutionDir)bin\dumpexts&quot; -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%&#xA;copy $(ProjectName).def ..\$(ProjectName).def &gt;nul&#xA;del *.def &gt;nul&#xA;cd .." Description="Build $(ProjectName).def"/>
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)core_import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)core.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Elementary_functions_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Elementary_functions_f.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Sparse_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)sparse.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Elementary_functions_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Elementary_functions.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)linpack_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)linpack_f.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)core_f.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build dependencies"/>
                                <Tool Name="VFPostBuildEventTool"/>
                                <Tool Name="VFManifestTool" SuppressStartupBanner="true"/></Configuration>
                <Configuration Name="Release|x64" OutputDirectory="$(SolutionDir)bin\" IntermediateDirectory="$(ProjectDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">
@@ -79,21 +40,8 @@ lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X6
                                <Tool Name="VFResourceCompilerTool"/>
                                <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
                                <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFPreLinkEventTool" CommandLine="setlocal EnableDelayedExpansion
-cd $(ConfigurationName)
-set LIST_OBJ=
-for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f
-&quot;$(SolutionDir)bin\dumpexts&quot; -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%
-copy $(ProjectName).def ..\$(ProjectName).def &gt;nul
-del *.def &gt;nul
-cd .." Description="Build $(ProjectName).def"/>
-                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)core_import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)core.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Elementary_functions_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Elementary_functions_f.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Sparse_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)sparse.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Elementary_functions_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Elementary_functions.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Output_stream.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)linpack_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)linpack_f.lib&quot; 1&gt;NUL 2&gt;NUL
-lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)core_f.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build dependencies"/>
+                               <Tool Name="VFPreLinkEventTool" CommandLine="setlocal EnableDelayedExpansion&#xA;cd $(ConfigurationName)&#xA;set LIST_OBJ=&#xA;for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f&#xA;&quot;$(SolutionDir)bin\dumpexts&quot; -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%&#xA;copy $(ProjectName).def ..\$(ProjectName).def &gt;nul&#xA;del *.def &gt;nul&#xA;cd .." Description="Build $(ProjectName).def"/>
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)core_import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)core.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Elementary_functions_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Elementary_functions_f.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Sparse_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)sparse.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Elementary_functions_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Elementary_functions.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)Output_stream.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)linpack_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)linpack_f.lib&quot; 1&gt;NUL 2&gt;NUL&#xA;lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)core_f.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build dependencies"/>
                                <Tool Name="VFPostBuildEventTool"/>
                                <Tool Name="VFManifestTool" SuppressStartupBanner="true"/></Configuration></Configurations>
        <Files>
@@ -109,116 +57,10 @@ lib /DEF:&quot;$(InputDir)core_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X6
                <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
                <File RelativePath=".\sparse_f.rc"/></Filter>
                <Filter Name="Source Files" Filter="f90;for;f;fpp;ftn;def;odl;idl">
-               <File RelativePath="blkfc1.f"/>
-               <File RelativePath="blkfct.f"/>
-               <File RelativePath="blkslv.f"/>
-               <File RelativePath="dcompa.f"/>
-               <File RelativePath="dful2sp.f"/>
-               <File RelativePath="dij2sp.f"/>
-               <File RelativePath="dperm.f"/>
-               <File RelativePath="dsmsp.f"/>
-               <File RelativePath="dsosp.f"/>
-               <File RelativePath="dspasp.f"/>
-               <File RelativePath="dspcle.f"/>
-               <File RelativePath="dspcsp.f"/>
-               <File RelativePath="dspe2.f"/>
-               <File RelativePath="dspful.f"/>
-               <File RelativePath="dspis.f"/>
-               <File RelativePath="dspisp.f"/>
-               <File RelativePath="dspmat.f"/>
-               <File RelativePath="dspms.f"/>
-               <File RelativePath="dspmsp.f"/>
-               <File RelativePath="dspos.f"/>
-               <File RelativePath="dsposp.f"/>
-               <File RelativePath="dspssp.f"/>
-               <File RelativePath="dspt.f"/>
-               <File RelativePath="dspxs.f"/>
-               <File RelativePath="dspxsp.f"/>
-               <File RelativePath="findl.f"/>
-               <File RelativePath="inpnv.f"/>
-               <File RelativePath="iperm.f"/>
                <File RelativePath="isort1.f"/>
-               <File RelativePath="lcompa.f"/>
-               <File RelativePath="lful2sp.f"/>
-               <File RelativePath="lij2sp.f"/>
-               <File RelativePath="lsosp.f"/>
-               <File RelativePath="lspasp.f"/>
-               <File RelativePath="lspcsp.f"/>
-               <File RelativePath="lspe2.f"/>
-               <File RelativePath="lspful.f"/>
-               <File RelativePath="lspis.f"/>
-               <File RelativePath="lspisp.f"/>
-               <File RelativePath="lspmat.f"/>
-               <File RelativePath="lspops.f"/>
-               <File RelativePath="lspos.f"/>
-               <File RelativePath="lsposp.f"/>
-               <File RelativePath="lspt.f"/>
-               <File RelativePath="lspxsp.f"/>
-               <File RelativePath="ordmmd.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_bfinit.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_blkfc1i.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_blkslvi.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_fadj2sp.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_full.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_inpnvi.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_ludel.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_lufact.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_luget.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_lusolve.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_nnz.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_ordmmd.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_sfinit.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_sparse.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_spchol.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_spclean.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_spcompa.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_spget.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_spmatrix.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_symfcti.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_ta2lpd.f"/>
-               <File RelativePath="sp2col.f"/>
-               <File RelativePath="spcho1.f"/>
-               <File RelativePath="spcho2.f"/>
-               <File RelativePath="spcompack.f"/>
-               <File RelativePath="spextr.f"/>
-               <File RelativePath="spextr1.f"/>
-               <File RelativePath="spif.f"/>
-               <File RelativePath="spif1b.f"/>
-               <File RelativePath="spifp.f"/>
-               <File RelativePath="spind.f"/>
-               <File RelativePath="spisp.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\spops.f"/>
-               <File RelativePath="spord.f"/>
                <File RelativePath="spreshape.f"/>
-               <File RelativePath="spsort.f"/>
                <File RelativePath="spt.f"/>
-               <File RelativePath="sputil.f"/>
-               <File RelativePath="symfct.f"/>
-               <File RelativePath="sz2ptr.f"/>
-               <File RelativePath=".\ta2lpd.f"/>
-               <File RelativePath="wcompa.f"/>
-               <File RelativePath="wful2sp.f"/>
-               <File RelativePath="wij2sp.f"/>
-               <File RelativePath="wperm.f"/>
-               <File RelativePath=".\writebuf.f"/>
-               <File RelativePath="wsmsp.f"/>
-               <File RelativePath="wsosp.f"/>
-               <File RelativePath="wspasp.f"/>
-               <File RelativePath="wspcle.f"/>
-               <File RelativePath="wspcsp.f"/>
-               <File RelativePath="wspe2.f"/>
-               <File RelativePath="wspful.f"/>
-               <File RelativePath="wspis.f"/>
-               <File RelativePath="wspisp.f"/>
-               <File RelativePath="wspmat.f"/>
-               <File RelativePath="wspms.f"/>
-               <File RelativePath="wspmsp.f"/>
-               <File RelativePath="wspos.f"/>
-               <File RelativePath="wsposp.f"/>
-               <File RelativePath="wspssp.f"/>
-               <File RelativePath="wspt.f"/>
-               <File RelativePath="wspxs.f"/>
-               <File RelativePath="wspxsp.f"/></Filter>
+               <File RelativePath="sz2ptr.f"/></Filter>
                <File RelativePath="..\..\Makefile.am"/>
                <File RelativePath="..\..\sci_gateway\sparse_gateway.xml"/></Files>
        <Globals/></VisualStudioProject>
index d4e32eb..8acb99f 100644 (file)
@@ -97,18 +97,7 @@ TYPES_GATEWAY_CPP_SOURCES = \
        sci_gateway/cpp/sci_mlist.cpp \
        sci_gateway/cpp/sci_isfield.cpp \
        sci_gateway/cpp/sci_fieldnames.cpp \
-       sci_gateway/cpp/sci_getfield.cpp \
-       sci_gateway/cpp/sci_adj2sp.cpp \
-       sci_gateway/cpp/sci_full.cpp \
-       sci_gateway/cpp/sci_nnz.cpp \
-       sci_gateway/cpp/sci_sp2adj.cpp \
-       sci_gateway/cpp/sci_sparse.cpp \
-       sci_gateway/cpp/sci_spcompack.cpp \
-       sci_gateway/cpp/sci_spget.cpp \
-       sci_gateway/cpp/sci_spzeros.cpp \
-       sci_gateway/cpp/sci_spones.cpp
-
-
+       sci_gateway/cpp/sci_getfield.cpp
 
 
 if ENABLE_DEBUG
index 35c751f..ee0705c 100644 (file)
@@ -220,12 +220,6 @@ am__libscitypes_la_SOURCES_DIST = sci_gateway/cpp/types_gw.cpp \
        sci_gateway/cpp/sci_mlist.cpp sci_gateway/cpp/sci_isfield.cpp \
        sci_gateway/cpp/sci_fieldnames.cpp \
        sci_gateway/cpp/sci_getfield.cpp \
-       sci_gateway/cpp/sci_adj2sp.cpp sci_gateway/cpp/sci_full.cpp \
-       sci_gateway/cpp/sci_nnz.cpp sci_gateway/cpp/sci_sp2adj.cpp \
-       sci_gateway/cpp/sci_sparse.cpp \
-       sci_gateway/cpp/sci_spcompack.cpp \
-       sci_gateway/cpp/sci_spget.cpp sci_gateway/cpp/sci_spzeros.cpp \
-       sci_gateway/cpp/sci_spones.cpp \
        sci_gateway/cpp/sci_inspectorDeleteUnreferencedItems.cpp \
        sci_gateway/cpp/sci_inspectorGetItem.cpp \
        sci_gateway/cpp/sci_inspectorGetItemCount.cpp \
@@ -247,12 +241,7 @@ am__objects_6 = libscitypes_la-types_gw.lo libscitypes_la-sci_list.lo \
        libscitypes_la-sci_typeof.lo libscitypes_la-sci_tlist.lo \
        libscitypes_la-sci_mlist.lo libscitypes_la-sci_isfield.lo \
        libscitypes_la-sci_fieldnames.lo \
-       libscitypes_la-sci_getfield.lo libscitypes_la-sci_adj2sp.lo \
-       libscitypes_la-sci_full.lo libscitypes_la-sci_nnz.lo \
-       libscitypes_la-sci_sp2adj.lo libscitypes_la-sci_sparse.lo \
-       libscitypes_la-sci_spcompack.lo libscitypes_la-sci_spget.lo \
-       libscitypes_la-sci_spzeros.lo libscitypes_la-sci_spones.lo \
-       $(am__objects_5)
+       libscitypes_la-sci_getfield.lo $(am__objects_5)
 am_libscitypes_la_OBJECTS = $(am__objects_6)
 libscitypes_la_OBJECTS = $(am_libscitypes_la_OBJECTS)
 am_testTypes_OBJECTS = testTypes-test-types.$(OBJEXT)
@@ -682,13 +671,7 @@ TYPES_GATEWAY_CPP_SOURCES = sci_gateway/cpp/types_gw.cpp \
        sci_gateway/cpp/sci_typeof.cpp sci_gateway/cpp/sci_tlist.cpp \
        sci_gateway/cpp/sci_mlist.cpp sci_gateway/cpp/sci_isfield.cpp \
        sci_gateway/cpp/sci_fieldnames.cpp \
-       sci_gateway/cpp/sci_getfield.cpp \
-       sci_gateway/cpp/sci_adj2sp.cpp sci_gateway/cpp/sci_full.cpp \
-       sci_gateway/cpp/sci_nnz.cpp sci_gateway/cpp/sci_sp2adj.cpp \
-       sci_gateway/cpp/sci_sparse.cpp \
-       sci_gateway/cpp/sci_spcompack.cpp \
-       sci_gateway/cpp/sci_spget.cpp sci_gateway/cpp/sci_spzeros.cpp \
-       sci_gateway/cpp/sci_spones.cpp $(am__append_4)
+       sci_gateway/cpp/sci_getfield.cpp $(am__append_4)
 libscitypes_java_la_CFLAGS = $(JAVA_JNI_INCLUDE) \
                        -I$(srcdir)/includes
 
@@ -904,10 +887,8 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_java_la-ScilabVariables.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_java_la-ScilabVariablesRefresh.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_java_la-getScilabVariable_wrap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_adj2sp.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_cell.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_fieldnames.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_full.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_getfield.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_insert.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_inspectorDeleteUnreferencedItems.Plo@am__quote@
@@ -921,14 +902,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_list.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_makecell.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_mlist.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_nnz.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_null.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_sp2adj.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_sparse.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_spcompack.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_spget.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_spones.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_spzeros.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_struct.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_tlist.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscitypes_la-sci_typeof.Plo@am__quote@
@@ -1370,69 +1344,6 @@ libscitypes_la-sci_getfield.lo: sci_gateway/cpp/sci_getfield.cpp
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_getfield.lo `test -f 'sci_gateway/cpp/sci_getfield.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_getfield.cpp
 
-libscitypes_la-sci_adj2sp.lo: sci_gateway/cpp/sci_adj2sp.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_adj2sp.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_adj2sp.Tpo -c -o libscitypes_la-sci_adj2sp.lo `test -f 'sci_gateway/cpp/sci_adj2sp.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_adj2sp.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_adj2sp.Tpo $(DEPDIR)/libscitypes_la-sci_adj2sp.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_adj2sp.cpp' object='libscitypes_la-sci_adj2sp.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_adj2sp.lo `test -f 'sci_gateway/cpp/sci_adj2sp.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_adj2sp.cpp
-
-libscitypes_la-sci_full.lo: sci_gateway/cpp/sci_full.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_full.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_full.Tpo -c -o libscitypes_la-sci_full.lo `test -f 'sci_gateway/cpp/sci_full.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_full.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_full.Tpo $(DEPDIR)/libscitypes_la-sci_full.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_full.cpp' object='libscitypes_la-sci_full.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_full.lo `test -f 'sci_gateway/cpp/sci_full.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_full.cpp
-
-libscitypes_la-sci_nnz.lo: sci_gateway/cpp/sci_nnz.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_nnz.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_nnz.Tpo -c -o libscitypes_la-sci_nnz.lo `test -f 'sci_gateway/cpp/sci_nnz.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_nnz.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_nnz.Tpo $(DEPDIR)/libscitypes_la-sci_nnz.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_nnz.cpp' object='libscitypes_la-sci_nnz.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_nnz.lo `test -f 'sci_gateway/cpp/sci_nnz.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_nnz.cpp
-
-libscitypes_la-sci_sp2adj.lo: sci_gateway/cpp/sci_sp2adj.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_sp2adj.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_sp2adj.Tpo -c -o libscitypes_la-sci_sp2adj.lo `test -f 'sci_gateway/cpp/sci_sp2adj.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sp2adj.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_sp2adj.Tpo $(DEPDIR)/libscitypes_la-sci_sp2adj.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_sp2adj.cpp' object='libscitypes_la-sci_sp2adj.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_sp2adj.lo `test -f 'sci_gateway/cpp/sci_sp2adj.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sp2adj.cpp
-
-libscitypes_la-sci_sparse.lo: sci_gateway/cpp/sci_sparse.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_sparse.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_sparse.Tpo -c -o libscitypes_la-sci_sparse.lo `test -f 'sci_gateway/cpp/sci_sparse.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sparse.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_sparse.Tpo $(DEPDIR)/libscitypes_la-sci_sparse.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_sparse.cpp' object='libscitypes_la-sci_sparse.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_sparse.lo `test -f 'sci_gateway/cpp/sci_sparse.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sparse.cpp
-
-libscitypes_la-sci_spcompack.lo: sci_gateway/cpp/sci_spcompack.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_spcompack.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_spcompack.Tpo -c -o libscitypes_la-sci_spcompack.lo `test -f 'sci_gateway/cpp/sci_spcompack.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spcompack.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_spcompack.Tpo $(DEPDIR)/libscitypes_la-sci_spcompack.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_spcompack.cpp' object='libscitypes_la-sci_spcompack.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_spcompack.lo `test -f 'sci_gateway/cpp/sci_spcompack.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spcompack.cpp
-
-libscitypes_la-sci_spget.lo: sci_gateway/cpp/sci_spget.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_spget.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_spget.Tpo -c -o libscitypes_la-sci_spget.lo `test -f 'sci_gateway/cpp/sci_spget.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spget.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_spget.Tpo $(DEPDIR)/libscitypes_la-sci_spget.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_spget.cpp' object='libscitypes_la-sci_spget.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_spget.lo `test -f 'sci_gateway/cpp/sci_spget.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spget.cpp
-
-libscitypes_la-sci_spzeros.lo: sci_gateway/cpp/sci_spzeros.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_spzeros.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_spzeros.Tpo -c -o libscitypes_la-sci_spzeros.lo `test -f 'sci_gateway/cpp/sci_spzeros.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spzeros.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_spzeros.Tpo $(DEPDIR)/libscitypes_la-sci_spzeros.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_spzeros.cpp' object='libscitypes_la-sci_spzeros.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_spzeros.lo `test -f 'sci_gateway/cpp/sci_spzeros.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spzeros.cpp
-
-libscitypes_la-sci_spones.lo: sci_gateway/cpp/sci_spones.cpp
-@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_spones.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_spones.Tpo -c -o libscitypes_la-sci_spones.lo `test -f 'sci_gateway/cpp/sci_spones.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spones.cpp
-@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_spones.Tpo $(DEPDIR)/libscitypes_la-sci_spones.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_spones.cpp' object='libscitypes_la-sci_spones.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscitypes_la-sci_spones.lo `test -f 'sci_gateway/cpp/sci_spones.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_spones.cpp
-
 libscitypes_la-sci_inspectorDeleteUnreferencedItems.lo: sci_gateway/cpp/sci_inspectorDeleteUnreferencedItems.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscitypes_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscitypes_la-sci_inspectorDeleteUnreferencedItems.lo -MD -MP -MF $(DEPDIR)/libscitypes_la-sci_inspectorDeleteUnreferencedItems.Tpo -c -o libscitypes_la-sci_inspectorDeleteUnreferencedItems.lo `test -f 'sci_gateway/cpp/sci_inspectorDeleteUnreferencedItems.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_inspectorDeleteUnreferencedItems.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscitypes_la-sci_inspectorDeleteUnreferencedItems.Tpo $(DEPDIR)/libscitypes_la-sci_inspectorDeleteUnreferencedItems.Plo
index e9b1911..8a56a6d 100644 (file)
@@ -42,17 +42,6 @@ CPP_GATEWAY_PROTOTYPE(sci_isfield);
 CPP_GATEWAY_PROTOTYPE(sci_getfield);
 CPP_GATEWAY_PROTOTYPE(sci_fieldnames);
 
-/*sparses functions*/
-CPP_GATEWAY_PROTOTYPE(sci_adj2sp);
-CPP_GATEWAY_PROTOTYPE(sci_nnz);
-CPP_GATEWAY_PROTOTYPE(sci_sp2adj);
-CPP_GATEWAY_PROTOTYPE(sci_sparse);
-CPP_GATEWAY_PROTOTYPE(sci_spcompack);
-CPP_GATEWAY_PROTOTYPE(sci_spget);
-CPP_GATEWAY_PROTOTYPE(sci_spzeros);
-CPP_GATEWAY_PROTOTYPE(sci_spones);
-CPP_GATEWAY_PROTOTYPE(sci_full);
-
 #ifndef NDEBUG
 CPP_GATEWAY_PROTOTYPE(sci_inspectorGetItemCount);
 CPP_GATEWAY_PROTOTYPE(sci_inspectorShowItem);
index 10a0ea3..60bd7e5 100644 (file)
@@ -30,16 +30,6 @@ int TypesModule::Load()
     symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"getfield", &sci_getfield, MODULE_NAME));
     symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"fieldnames", &sci_fieldnames, MODULE_NAME));
 
-    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"adj2sp", &sci_adj2sp, MODULE_NAME));
-    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"nnz", &sci_nnz, MODULE_NAME));
-    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"sp2adj", &sci_sp2adj, MODULE_NAME));
-    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"sparse", &sci_sparse, MODULE_NAME));
-    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"spcompack", &sci_spcompack, MODULE_NAME));
-    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"spget", &sci_spget, MODULE_NAME));
-    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"spzeros", &sci_spzeros, MODULE_NAME));
-    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"spones", &sci_spones, MODULE_NAME));
-    symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"full", &sci_full, MODULE_NAME));
-
 #ifndef NDEBUG
     symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"inspectorGetItemCount", &sci_inspectorGetItemCount, MODULE_NAME));
     symbol::Context::getInstance()->addFunction(types::Function::createFunction(L"inspectorShowItem", &sci_inspectorShowItem, MODULE_NAME));
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <ItemGroup Label="ProjectConfigurations">
     <ProjectConfiguration Include="Debug|Win32">
@@ -76,7 +76,7 @@
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../elementary_functions/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl;../../../../string/includes;../../../../../libs/Eigen/includes;../../../../dynamic_link/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\includes;..\..\..\functions_manager\includes;..\..\..\symbol\includes;..\..\..\types\includes;..\..\..\operations\includes;..\..\..\core\includes;../../../ast/includes;../../../api_scilab/includes;../../../elementary_functions/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../string/includes;../../../../libs/Eigen/includes;../../../dynamic_link/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;TYPES_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <MinimalRebuild>true</MinimalRebuild>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../elementary_functions/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl;../../../../string/includes;../../../../../libs/Eigen/includes;../../../../dynamic_link/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\includes;..\..\..\functions_manager\includes;..\..\..\symbol\includes;..\..\..\types\includes;..\..\..\operations\includes;..\..\..\core\includes;../../../ast/includes;../../../api_scilab/includes;../../../elementary_functions/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../string/includes;../../../../libs/Eigen/includes;../../../dynamic_link/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;TYPES_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <MinimalRebuild>true</MinimalRebuild>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
     <ClCompile>
       <Optimization>MaxSpeed</Optimization>
       <IntrinsicFunctions>true</IntrinsicFunctions>
-      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../elementary_functions/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl;../../../../string/includes;../../../../../libs/Eigen/includes;../../../../dynamic_link/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\includes;..\..\..\functions_manager\includes;..\..\..\symbol\includes;..\..\..\types\includes;..\..\..\operations\includes;..\..\..\core\includes;../../../ast/includes;../../../api_scilab/includes;../../../elementary_functions/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../string/includes;../../../../libs/Eigen/includes;../../../dynamic_link/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;TYPES_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <FunctionLevelLinking>true</FunctionLevelLinking>
     <ClCompile>
       <Optimization>MaxSpeed</Optimization>
       <IntrinsicFunctions>true</IntrinsicFunctions>
-      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../elementary_functions/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl;../../../../string/includes;../../../../../libs/Eigen/includes;../../../../dynamic_link/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\includes;..\..\..\functions_manager\includes;..\..\..\symbol\includes;..\..\..\types\includes;..\..\..\operations\includes;..\..\..\core\includes;../../../ast/includes;../../../api_scilab/includes;../../../elementary_functions/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../string/includes;../../../../libs/Eigen/includes;../../../dynamic_link/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;TYPES_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <FunctionLevelLinking>true</FunctionLevelLinking>
     </Link>
   </ItemDefinitionGroup>
   <ItemGroup>
-    <ClCompile Include="..\sci_adj2sp.cpp" />
-    <ClCompile Include="..\sci_cell.cpp" />
-    <ClCompile Include="..\sci_fieldnames.cpp" />
-    <ClCompile Include="..\sci_full.cpp" />
-    <ClCompile Include="..\sci_getfield.cpp" />
-    <ClCompile Include="..\sci_insert.cpp" />
-    <ClCompile Include="..\sci_inspectorDeleteUnreferencedItems.cpp">
+    <ClCompile Include="sci_cell.cpp" />
+    <ClCompile Include="sci_fieldnames.cpp" />
+    <ClCompile Include="sci_getfield.cpp" />
+    <ClCompile Include="sci_insert.cpp" />
+    <ClCompile Include="sci_inspectorDeleteUnreferencedItems.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="..\sci_inspectorGetItem.cpp">
+    <ClCompile Include="sci_inspectorGetItem.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="..\sci_inspectorGetItemCount.cpp">
+    <ClCompile Include="sci_inspectorGetItemCount.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="..\sci_inspectorGetUnreferencedItem.cpp">
+    <ClCompile Include="sci_inspectorGetUnreferencedItem.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="..\sci_inspectorShowItem.cpp">
+    <ClCompile Include="sci_inspectorShowItem.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="..\sci_inspectorShowUnreferencedItem.cpp">
+    <ClCompile Include="sci_inspectorShowUnreferencedItem.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="..\sci_isfield.cpp" />
-    <ClCompile Include="..\sci_list.cpp" />
-    <ClCompile Include="..\sci_makecell.cpp" />
-    <ClCompile Include="..\sci_mlist.cpp" />
-    <ClCompile Include="..\sci_nnz.cpp" />
-    <ClCompile Include="..\sci_null.cpp" />
-    <ClCompile Include="..\sci_sp2adj.cpp" />
-    <ClCompile Include="..\sci_sparse.cpp" />
-    <ClCompile Include="..\sci_spcompack.cpp" />
-    <ClCompile Include="..\sci_spget.cpp" />
-    <ClCompile Include="..\sci_spones.cpp" />
-    <ClCompile Include="..\sci_spzeros.cpp" />
-    <ClCompile Include="..\sci_struct.cpp" />
-    <ClCompile Include="..\sci_tlist.cpp" />
-    <ClCompile Include="..\sci_typeof.cpp" />
-    <ClCompile Include="..\sci_usertype.cpp" />
-    <ClCompile Include="..\types_gw.cpp" />
-    <ClCompile Include="..\sci_inspectorGetFunctionList.cpp">
+    <ClCompile Include="sci_isfield.cpp" />
+    <ClCompile Include="sci_list.cpp" />
+    <ClCompile Include="sci_makecell.cpp" />
+    <ClCompile Include="sci_mlist.cpp" />
+    <ClCompile Include="sci_null.cpp" />
+    <ClCompile Include="sci_struct.cpp" />
+    <ClCompile Include="sci_tlist.cpp" />
+    <ClCompile Include="sci_typeof.cpp" />
+    <ClCompile Include="sci_usertype.cpp" />
+    <ClCompile Include="types_gw.cpp" />
+    <ClCompile Include="sci_inspectorGetFunctionList.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
   </ItemGroup>
   <ItemGroup>
-    <ClInclude Include="..\..\..\includes\dynlib_types_gw.h" />
-    <ClInclude Include="..\sci_tlist_or_mlist.hxx" />
-    <ClInclude Include="..\..\..\includes\types_gw.hxx" />
+    <ClInclude Include="..\..\includes\dynlib_types_gw.h" />
+    <ClInclude Include="sci_tlist_or_mlist.hxx" />
+    <ClInclude Include="..\..\includes\types_gw.hxx" />
   </ItemGroup>
   <ItemGroup>
-    <Library Include="..\..\..\..\..\bin\libintl.lib" />
+    <Library Include="..\..\..\..\bin\libintl.lib" />
   </ItemGroup>
   <ItemGroup>
-    <ProjectReference Include="..\..\..\..\..\tools\Dumpexts\Dumpexts.vcxproj">
+    <ProjectReference Include="..\..\..\..\tools\Dumpexts\Dumpexts.vcxproj">
       <Project>{3170e4c2-1173-4264-a222-7ee8ccb3ddf7}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\..\ast\ast-tools\ast-tools.vcxproj">
+    <ProjectReference Include="..\..\..\ast\ast-tools\ast-tools.vcxproj">
       <Project>{1f4a0344-99ed-461b-bd53-1593788fb34d}</Project>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\..\core\src\c\core.vcxproj">
+    <ProjectReference Include="..\..\..\core\src\c\core.vcxproj">
       <Project>{c6e2bc17-34d8-46e4-85f3-6293cb21adcd}</Project>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\..\elementary_functions\src\c\elementary_functions.vcxproj">
+    <ProjectReference Include="..\..\..\elementary_functions\src\c\elementary_functions.vcxproj">
       <Project>{5b110267-7c18-437c-b87d-dba2b50729e9}</Project>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\..\localization\src\localization.vcxproj">
+    <ProjectReference Include="..\..\..\localization\src\localization.vcxproj">
       <Project>{ecffeb0c-1eda-45ee-9a10-b18143852e17}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\..\output_stream\src\c\output_stream.vcxproj">
+    <ProjectReference Include="..\..\..\output_stream\src\c\output_stream.vcxproj">
       <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\..\parse\parse.vcxproj">
+    <ProjectReference Include="..\..\..\parse\parse.vcxproj">
       <Project>{74d43792-dbfc-47f0-adbc-4d7a20cdada2}</Project>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\..\symbol\symbol.vcxproj">
+    <ProjectReference Include="..\..\..\symbol\symbol.vcxproj">
       <Project>{2c60033b-0dbd-4ca4-80d3-176c9be9ce2f}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\..\system_env\system_env.vcxproj">
+    <ProjectReference Include="..\..\..\system_env\system_env.vcxproj">
       <Project>{7ca60aef-9afa-4d06-af28-613c0aa27640}</Project>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\types.vcxproj">
+    <ProjectReference Include="..\..\types.vcxproj">
       <Project>{64e090da-dcb5-4f4d-93d7-e88ddec9c2ef}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\typesmacro\typesmacro.vcxproj">
+    <ProjectReference Include="..\..\typesmacro\typesmacro.vcxproj">
       <Project>{9252a034-7f22-4cb1-a634-4577da69f2d0}</Project>
     </ProjectReference>
   </ItemGroup>
     <ClCompile Include="..\sci_inspectorGetFunctionList.cpp">
       <Filter>Source Files</Filter>
     </ClCompile>
-    <ClCompile Include="..\sci_sparse.cpp">
-      <Filter>Source Files</Filter>
-    </ClCompile>
-    <ClCompile Include="..\sci_adj2sp.cpp">
-      <Filter>Source Files</Filter>
-    </ClCompile>
-    <ClCompile Include="..\sci_nnz.cpp">
-      <Filter>Source Files</Filter>
-    </ClCompile>
-    <ClCompile Include="..\sci_sp2adj.cpp">
-      <Filter>Source Files</Filter>
-    </ClCompile>
-    <ClCompile Include="..\sci_spcompack.cpp">
-      <Filter>Source Files</Filter>
-    </ClCompile>
-    <ClCompile Include="..\sci_spget.cpp">
-      <Filter>Source Files</Filter>
-    </ClCompile>
-    <ClCompile Include="..\sci_spones.cpp">
-      <Filter>Source Files</Filter>
-    </ClCompile>
-    <ClCompile Include="..\sci_full.cpp">
-      <Filter>Source Files</Filter>
-    </ClCompile>
-    <ClCompile Include="..\sci_spzeros.cpp">
-      <Filter>Source Files</Filter>
-    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\..\..\includes\dynlib_types_gw.h">