summaryrefslogtreecommitdiff
path: root/src/matrixOperations/cat
diff options
context:
space:
mode:
Diffstat (limited to 'src/matrixOperations/cat')
-rw-r--r--src/matrixOperations/cat/Makefile.am52
-rw-r--r--src/matrixOperations/cat/Makefile.in712
-rw-r--r--src/matrixOperations/cat/ccata.c54
-rw-r--r--src/matrixOperations/cat/ccats.c23
-rw-r--r--src/matrixOperations/cat/dcata.c55
-rw-r--r--src/matrixOperations/cat/dcats.c23
-rw-r--r--src/matrixOperations/cat/scata.c55
-rw-r--r--src/matrixOperations/cat/scats.c23
-rw-r--r--src/matrixOperations/cat/testDoubleMatrixConcatenation.c342
-rw-r--r--src/matrixOperations/cat/testFloatMatrixConcatenation.c341
-rw-r--r--src/matrixOperations/cat/test_DoubleMatrixConcatenation/testDoubleMatrixConcatenation.vcproj213
-rw-r--r--src/matrixOperations/cat/test_FloatMatrixConcatenation/testFloatMatrixConcatenation.vcproj213
-rw-r--r--src/matrixOperations/cat/zcata.c54
-rw-r--r--src/matrixOperations/cat/zcats.c24
14 files changed, 0 insertions, 2184 deletions
diff --git a/src/matrixOperations/cat/Makefile.am b/src/matrixOperations/cat/Makefile.am
deleted file mode 100644
index 58d218c1..00000000
--- a/src/matrixOperations/cat/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-##
-## Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-## Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
-##
-## 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
-##
-##
-
-libMatrixConcatenation_la_CFLAGS = -I $(top_builddir)/type \
- -I $(top_builddir)/matrixOperations/includes
-
-instdir = $(top_builddir)/lib
-
-pkglib_LTLIBRARIES = libMatrixConcatenation.la
-
-HEAD = ../includes/cat.h
-
-libMatrixConcatenation_la_SOURCES = $(HEAD) \
- scats.c \
- scata.c \
- dcats.c \
- dcata.c \
- ccats.c \
- ccata.c \
- zcats.c \
- zcata.c
-
-check_PROGRAMS = testFloatMatrixConcatenation \
- testDoubleMatrixConcatenation
-
-check_LDADD = $(top_builddir)/type/libDoubleComplex.la \
- $(top_builddir)/type/libFloatComplex.la \
- $(top_builddir)/lib/blas/libsciblas.la \
- libMatrixConcatenation.la
-
-check_INCLUDES = -I $(top_builddir)/type \
- -I $(top_builddir)/matrixOperations/includes
-
-testDoubleMatrixConcatenation_SOURCES = testDoubleMatrixConcatenation.c
-testDoubleMatrixConcatenation_LDADD = $(check_LDADD)
-testDoubleMatrixConcatenation_CFLAGS = $(check_INCLUDES)
-
-testFloatMatrixConcatenation_SOURCES = testFloatMatrixConcatenation.c
-testFloatMatrixConcatenation_LDADD = $(check_LDADD)
-testFloatMatrixConcatenation_CFLAGS = $(check_INCLUDES)
-
-TESTS = testFloatMatrixConcatenation \
- testDoubleMatrixConcatenation \ No newline at end of file
diff --git a/src/matrixOperations/cat/Makefile.in b/src/matrixOperations/cat/Makefile.in
deleted file mode 100644
index 73ea5679..00000000
--- a/src/matrixOperations/cat/Makefile.in
+++ /dev/null
@@ -1,712 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-build_triplet = @build@
-host_triplet = @host@
-check_PROGRAMS = testFloatMatrixConcatenation$(EXEEXT) \
- testDoubleMatrixConcatenation$(EXEEXT)
-TESTS = testFloatMatrixConcatenation$(EXEEXT) \
- testDoubleMatrixConcatenation$(EXEEXT)
-subdir = matrixOperations/cat
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = $(top_builddir)/includes/machine.h
-CONFIG_CLEAN_FILES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- *) f=$$p;; \
- esac;
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-am__installdirs = "$(DESTDIR)$(pkglibdir)"
-pkglibLTLIBRARIES_INSTALL = $(INSTALL)
-LTLIBRARIES = $(pkglib_LTLIBRARIES)
-libMatrixConcatenation_la_LIBADD =
-am__objects_1 =
-am_libMatrixConcatenation_la_OBJECTS = $(am__objects_1) \
- libMatrixConcatenation_la-scats.lo \
- libMatrixConcatenation_la-scata.lo \
- libMatrixConcatenation_la-dcats.lo \
- libMatrixConcatenation_la-dcata.lo \
- libMatrixConcatenation_la-ccats.lo \
- libMatrixConcatenation_la-ccata.lo \
- libMatrixConcatenation_la-zcats.lo \
- libMatrixConcatenation_la-zcata.lo
-libMatrixConcatenation_la_OBJECTS = \
- $(am_libMatrixConcatenation_la_OBJECTS)
-libMatrixConcatenation_la_LINK = $(LIBTOOL) --tag=CC \
- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
- $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
- $(LDFLAGS) -o $@
-am_testDoubleMatrixConcatenation_OBJECTS = testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.$(OBJEXT)
-testDoubleMatrixConcatenation_OBJECTS = \
- $(am_testDoubleMatrixConcatenation_OBJECTS)
-testDoubleMatrixConcatenation_DEPENDENCIES = $(check_LDADD)
-testDoubleMatrixConcatenation_LINK = $(LIBTOOL) --tag=CC \
- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
- $(testDoubleMatrixConcatenation_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
-am_testFloatMatrixConcatenation_OBJECTS = testFloatMatrixConcatenation-testFloatMatrixConcatenation.$(OBJEXT)
-testFloatMatrixConcatenation_OBJECTS = \
- $(am_testFloatMatrixConcatenation_OBJECTS)
-testFloatMatrixConcatenation_DEPENDENCIES = $(check_LDADD)
-testFloatMatrixConcatenation_LINK = $(LIBTOOL) --tag=CC \
- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
- $(testFloatMatrixConcatenation_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
- $(LDFLAGS) -o $@
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/includes
-depcomp = $(SHELL) $(top_srcdir)/config/depcomp
-am__depfiles_maybe = depfiles
-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) \
- $(LDFLAGS) -o $@
-SOURCES = $(libMatrixConcatenation_la_SOURCES) \
- $(testDoubleMatrixConcatenation_SOURCES) \
- $(testFloatMatrixConcatenation_SOURCES)
-DIST_SOURCES = $(libMatrixConcatenation_la_SOURCES) \
- $(testDoubleMatrixConcatenation_SOURCES) \
- $(testFloatMatrixConcatenation_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AR = @AR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DSYMUTIL = @DSYMUTIL@
-ECHO = @ECHO@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-F77 = @F77@
-FFLAGS = @FFLAGS@
-GREP = @GREP@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBMATH = @LIBMATH@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LIBTOOL = @LIBTOOL@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MKDIR_P = @MKDIR_P@
-NMEDIT = @NMEDIT@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-RANLIB = @RANLIB@
-SED = @SED@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_CXX = @ac_ct_CXX@
-ac_ct_F77 = @ac_ct_F77@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build = @build@
-build_alias = @build_alias@
-build_cpu = @build_cpu@
-build_os = @build_os@
-build_vendor = @build_vendor@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host = @host@
-host_alias = @host_alias@
-host_cpu = @host_cpu@
-host_os = @host_os@
-host_vendor = @host_vendor@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-libMatrixConcatenation_la_CFLAGS = -I $(top_builddir)/type \
- -I $(top_builddir)/matrixOperations/includes
-
-instdir = $(top_builddir)/lib
-pkglib_LTLIBRARIES = libMatrixConcatenation.la
-HEAD = ../includes/cat.h
-libMatrixConcatenation_la_SOURCES = $(HEAD) \
- scats.c \
- scata.c \
- dcats.c \
- dcata.c \
- ccats.c \
- ccata.c \
- zcats.c \
- zcata.c
-
-check_LDADD = $(top_builddir)/type/libDoubleComplex.la \
- $(top_builddir)/type/libFloatComplex.la \
- $(top_builddir)/lib/blas/libsciblas.la \
- libMatrixConcatenation.la
-
-check_INCLUDES = -I $(top_builddir)/type \
- -I $(top_builddir)/matrixOperations/includes
-
-testDoubleMatrixConcatenation_SOURCES = testDoubleMatrixConcatenation.c
-testDoubleMatrixConcatenation_LDADD = $(check_LDADD)
-testDoubleMatrixConcatenation_CFLAGS = $(check_INCLUDES)
-testFloatMatrixConcatenation_SOURCES = testFloatMatrixConcatenation.c
-testFloatMatrixConcatenation_LDADD = $(check_LDADD)
-testFloatMatrixConcatenation_CFLAGS = $(check_INCLUDES)
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign matrixOperations/cat/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign matrixOperations/cat/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
- @$(NORMAL_INSTALL)
- test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
- @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
- if test -f $$p; then \
- f=$(am__strip_dir) \
- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
- else :; fi; \
- done
-
-uninstall-pkglibLTLIBRARIES:
- @$(NORMAL_UNINSTALL)
- @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
- p=$(am__strip_dir) \
- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
- done
-
-clean-pkglibLTLIBRARIES:
- -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
- @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
- dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- test "$$dir" != "$$p" || dir=.; \
- echo "rm -f \"$${dir}/so_locations\""; \
- rm -f "$${dir}/so_locations"; \
- done
-libMatrixConcatenation.la: $(libMatrixConcatenation_la_OBJECTS) $(libMatrixConcatenation_la_DEPENDENCIES)
- $(libMatrixConcatenation_la_LINK) -rpath $(pkglibdir) $(libMatrixConcatenation_la_OBJECTS) $(libMatrixConcatenation_la_LIBADD) $(LIBS)
-
-clean-checkPROGRAMS:
- @list='$(check_PROGRAMS)'; for p in $$list; do \
- f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
- echo " rm -f $$p $$f"; \
- rm -f $$p $$f ; \
- done
-testDoubleMatrixConcatenation$(EXEEXT): $(testDoubleMatrixConcatenation_OBJECTS) $(testDoubleMatrixConcatenation_DEPENDENCIES)
- @rm -f testDoubleMatrixConcatenation$(EXEEXT)
- $(testDoubleMatrixConcatenation_LINK) $(testDoubleMatrixConcatenation_OBJECTS) $(testDoubleMatrixConcatenation_LDADD) $(LIBS)
-testFloatMatrixConcatenation$(EXEEXT): $(testFloatMatrixConcatenation_OBJECTS) $(testFloatMatrixConcatenation_DEPENDENCIES)
- @rm -f testFloatMatrixConcatenation$(EXEEXT)
- $(testFloatMatrixConcatenation_LINK) $(testFloatMatrixConcatenation_OBJECTS) $(testFloatMatrixConcatenation_LDADD) $(LIBS)
-
-mostlyclean-compile:
- -rm -f *.$(OBJEXT)
-
-distclean-compile:
- -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixConcatenation_la-ccata.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixConcatenation_la-ccats.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixConcatenation_la-dcata.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixConcatenation_la-dcats.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixConcatenation_la-scata.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixConcatenation_la-scats.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixConcatenation_la-zcata.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixConcatenation_la-zcats.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testFloatMatrixConcatenation-testFloatMatrixConcatenation.Po@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@ mv -f $(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@ mv -f $(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@ mv -f $(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 $@ $<
-
-libMatrixConcatenation_la-scats.lo: scats.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -MT libMatrixConcatenation_la-scats.lo -MD -MP -MF $(DEPDIR)/libMatrixConcatenation_la-scats.Tpo -c -o libMatrixConcatenation_la-scats.lo `test -f 'scats.c' || echo '$(srcdir)/'`scats.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixConcatenation_la-scats.Tpo $(DEPDIR)/libMatrixConcatenation_la-scats.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scats.c' object='libMatrixConcatenation_la-scats.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) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -c -o libMatrixConcatenation_la-scats.lo `test -f 'scats.c' || echo '$(srcdir)/'`scats.c
-
-libMatrixConcatenation_la-scata.lo: scata.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -MT libMatrixConcatenation_la-scata.lo -MD -MP -MF $(DEPDIR)/libMatrixConcatenation_la-scata.Tpo -c -o libMatrixConcatenation_la-scata.lo `test -f 'scata.c' || echo '$(srcdir)/'`scata.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixConcatenation_la-scata.Tpo $(DEPDIR)/libMatrixConcatenation_la-scata.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scata.c' object='libMatrixConcatenation_la-scata.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) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -c -o libMatrixConcatenation_la-scata.lo `test -f 'scata.c' || echo '$(srcdir)/'`scata.c
-
-libMatrixConcatenation_la-dcats.lo: dcats.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -MT libMatrixConcatenation_la-dcats.lo -MD -MP -MF $(DEPDIR)/libMatrixConcatenation_la-dcats.Tpo -c -o libMatrixConcatenation_la-dcats.lo `test -f 'dcats.c' || echo '$(srcdir)/'`dcats.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixConcatenation_la-dcats.Tpo $(DEPDIR)/libMatrixConcatenation_la-dcats.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dcats.c' object='libMatrixConcatenation_la-dcats.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) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -c -o libMatrixConcatenation_la-dcats.lo `test -f 'dcats.c' || echo '$(srcdir)/'`dcats.c
-
-libMatrixConcatenation_la-dcata.lo: dcata.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -MT libMatrixConcatenation_la-dcata.lo -MD -MP -MF $(DEPDIR)/libMatrixConcatenation_la-dcata.Tpo -c -o libMatrixConcatenation_la-dcata.lo `test -f 'dcata.c' || echo '$(srcdir)/'`dcata.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixConcatenation_la-dcata.Tpo $(DEPDIR)/libMatrixConcatenation_la-dcata.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dcata.c' object='libMatrixConcatenation_la-dcata.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) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -c -o libMatrixConcatenation_la-dcata.lo `test -f 'dcata.c' || echo '$(srcdir)/'`dcata.c
-
-libMatrixConcatenation_la-ccats.lo: ccats.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -MT libMatrixConcatenation_la-ccats.lo -MD -MP -MF $(DEPDIR)/libMatrixConcatenation_la-ccats.Tpo -c -o libMatrixConcatenation_la-ccats.lo `test -f 'ccats.c' || echo '$(srcdir)/'`ccats.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixConcatenation_la-ccats.Tpo $(DEPDIR)/libMatrixConcatenation_la-ccats.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ccats.c' object='libMatrixConcatenation_la-ccats.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) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -c -o libMatrixConcatenation_la-ccats.lo `test -f 'ccats.c' || echo '$(srcdir)/'`ccats.c
-
-libMatrixConcatenation_la-ccata.lo: ccata.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -MT libMatrixConcatenation_la-ccata.lo -MD -MP -MF $(DEPDIR)/libMatrixConcatenation_la-ccata.Tpo -c -o libMatrixConcatenation_la-ccata.lo `test -f 'ccata.c' || echo '$(srcdir)/'`ccata.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixConcatenation_la-ccata.Tpo $(DEPDIR)/libMatrixConcatenation_la-ccata.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ccata.c' object='libMatrixConcatenation_la-ccata.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) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -c -o libMatrixConcatenation_la-ccata.lo `test -f 'ccata.c' || echo '$(srcdir)/'`ccata.c
-
-libMatrixConcatenation_la-zcats.lo: zcats.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -MT libMatrixConcatenation_la-zcats.lo -MD -MP -MF $(DEPDIR)/libMatrixConcatenation_la-zcats.Tpo -c -o libMatrixConcatenation_la-zcats.lo `test -f 'zcats.c' || echo '$(srcdir)/'`zcats.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixConcatenation_la-zcats.Tpo $(DEPDIR)/libMatrixConcatenation_la-zcats.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='zcats.c' object='libMatrixConcatenation_la-zcats.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) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -c -o libMatrixConcatenation_la-zcats.lo `test -f 'zcats.c' || echo '$(srcdir)/'`zcats.c
-
-libMatrixConcatenation_la-zcata.lo: zcata.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -MT libMatrixConcatenation_la-zcata.lo -MD -MP -MF $(DEPDIR)/libMatrixConcatenation_la-zcata.Tpo -c -o libMatrixConcatenation_la-zcata.lo `test -f 'zcata.c' || echo '$(srcdir)/'`zcata.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixConcatenation_la-zcata.Tpo $(DEPDIR)/libMatrixConcatenation_la-zcata.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='zcata.c' object='libMatrixConcatenation_la-zcata.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) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixConcatenation_la_CFLAGS) $(CFLAGS) -c -o libMatrixConcatenation_la-zcata.lo `test -f 'zcata.c' || echo '$(srcdir)/'`zcata.c
-
-testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.o: testDoubleMatrixConcatenation.c
-@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testDoubleMatrixConcatenation_CFLAGS) $(CFLAGS) -MT testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.o -MD -MP -MF $(DEPDIR)/testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.Tpo -c -o testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.o `test -f 'testDoubleMatrixConcatenation.c' || echo '$(srcdir)/'`testDoubleMatrixConcatenation.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.Tpo $(DEPDIR)/testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testDoubleMatrixConcatenation.c' object='testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testDoubleMatrixConcatenation_CFLAGS) $(CFLAGS) -c -o testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.o `test -f 'testDoubleMatrixConcatenation.c' || echo '$(srcdir)/'`testDoubleMatrixConcatenation.c
-
-testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.obj: testDoubleMatrixConcatenation.c
-@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testDoubleMatrixConcatenation_CFLAGS) $(CFLAGS) -MT testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.obj -MD -MP -MF $(DEPDIR)/testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.Tpo -c -o testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.obj `if test -f 'testDoubleMatrixConcatenation.c'; then $(CYGPATH_W) 'testDoubleMatrixConcatenation.c'; else $(CYGPATH_W) '$(srcdir)/testDoubleMatrixConcatenation.c'; fi`
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.Tpo $(DEPDIR)/testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testDoubleMatrixConcatenation.c' object='testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testDoubleMatrixConcatenation_CFLAGS) $(CFLAGS) -c -o testDoubleMatrixConcatenation-testDoubleMatrixConcatenation.obj `if test -f 'testDoubleMatrixConcatenation.c'; then $(CYGPATH_W) 'testDoubleMatrixConcatenation.c'; else $(CYGPATH_W) '$(srcdir)/testDoubleMatrixConcatenation.c'; fi`
-
-testFloatMatrixConcatenation-testFloatMatrixConcatenation.o: testFloatMatrixConcatenation.c
-@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testFloatMatrixConcatenation_CFLAGS) $(CFLAGS) -MT testFloatMatrixConcatenation-testFloatMatrixConcatenation.o -MD -MP -MF $(DEPDIR)/testFloatMatrixConcatenation-testFloatMatrixConcatenation.Tpo -c -o testFloatMatrixConcatenation-testFloatMatrixConcatenation.o `test -f 'testFloatMatrixConcatenation.c' || echo '$(srcdir)/'`testFloatMatrixConcatenation.c
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testFloatMatrixConcatenation-testFloatMatrixConcatenation.Tpo $(DEPDIR)/testFloatMatrixConcatenation-testFloatMatrixConcatenation.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testFloatMatrixConcatenation.c' object='testFloatMatrixConcatenation-testFloatMatrixConcatenation.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testFloatMatrixConcatenation_CFLAGS) $(CFLAGS) -c -o testFloatMatrixConcatenation-testFloatMatrixConcatenation.o `test -f 'testFloatMatrixConcatenation.c' || echo '$(srcdir)/'`testFloatMatrixConcatenation.c
-
-testFloatMatrixConcatenation-testFloatMatrixConcatenation.obj: testFloatMatrixConcatenation.c
-@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testFloatMatrixConcatenation_CFLAGS) $(CFLAGS) -MT testFloatMatrixConcatenation-testFloatMatrixConcatenation.obj -MD -MP -MF $(DEPDIR)/testFloatMatrixConcatenation-testFloatMatrixConcatenation.Tpo -c -o testFloatMatrixConcatenation-testFloatMatrixConcatenation.obj `if test -f 'testFloatMatrixConcatenation.c'; then $(CYGPATH_W) 'testFloatMatrixConcatenation.c'; else $(CYGPATH_W) '$(srcdir)/testFloatMatrixConcatenation.c'; fi`
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testFloatMatrixConcatenation-testFloatMatrixConcatenation.Tpo $(DEPDIR)/testFloatMatrixConcatenation-testFloatMatrixConcatenation.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testFloatMatrixConcatenation.c' object='testFloatMatrixConcatenation-testFloatMatrixConcatenation.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testFloatMatrixConcatenation_CFLAGS) $(CFLAGS) -c -o testFloatMatrixConcatenation-testFloatMatrixConcatenation.obj `if test -f 'testFloatMatrixConcatenation.c'; then $(CYGPATH_W) 'testFloatMatrixConcatenation.c'; else $(CYGPATH_W) '$(srcdir)/testFloatMatrixConcatenation.c'; fi`
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique; \
- fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$tags $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && cd $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) $$here
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *$$ws$$tst$$ws*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- echo "XPASS: $$tst"; \
- ;; \
- *) \
- echo "PASS: $$tst"; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *$$ws$$tst$$ws*) \
- xfail=`expr $$xfail + 1`; \
- echo "XFAIL: $$tst"; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- echo "FAIL: $$tst"; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- echo "SKIP: $$tst"; \
- fi; \
- done; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="All $$all tests passed"; \
- else \
- banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all tests failed"; \
- else \
- banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
- fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- skipped="($$skip tests were not run)"; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- echo "$$dashes"; \
- echo "$$banner"; \
- test -z "$$skipped" || echo "$$skipped"; \
- test -z "$$report" || echo "$$report"; \
- echo "$$dashes"; \
- test "$$failed" -eq 0; \
- else :; fi
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
-check-am: all-am
- $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
- $(MAKE) $(AM_MAKEFLAGS) check-TESTS
-check: check-am
-all-am: Makefile $(LTLIBRARIES)
-installdirs:
- for dir in "$(DESTDIR)$(pkglibdir)"; do \
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
- clean-pkglibLTLIBRARIES mostlyclean-am
-
-distclean: distclean-am
- -rm -rf ./$(DEPDIR)
- -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
- distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-exec-am: install-pkglibLTLIBRARIES
-
-install-html: install-html-am
-
-install-info: install-info-am
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-ps: install-ps-am
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -rf ./$(DEPDIR)
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-pkglibLTLIBRARIES
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
- clean-checkPROGRAMS clean-generic clean-libtool \
- clean-pkglibLTLIBRARIES ctags distclean distclean-compile \
- distclean-generic distclean-libtool distclean-tags distdir dvi \
- dvi-am html html-am info info-am install install-am \
- install-data install-data-am install-dvi install-dvi-am \
- install-exec install-exec-am install-html install-html-am \
- install-info install-info-am install-man install-pdf \
- install-pdf-am install-pkglibLTLIBRARIES install-ps \
- install-ps-am install-strip installcheck installcheck-am \
- installdirs maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
- uninstall-am uninstall-pkglibLTLIBRARIES
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/src/matrixOperations/cat/ccata.c b/src/matrixOperations/cat/ccata.c
deleted file mode 100644
index cd2b4c92..00000000
--- a/src/matrixOperations/cat/ccata.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 "cat.h"
-/*
-** Emulate Scilab (from help cat) :
-** then the concatenation is done according to the rows
-**
-** A1=[1 2 3 ; 4 5 6]; A2=[7 8 9 ; 10 11 12]; y=cat(1,A1,A2) => y=[1 2 3 ; 4 5 61 ;7 8 9; 10 11 12]
-**
-*/
-
-void crowcata(floatComplex *in1, int lines1, int columns1, floatComplex *in2, int lines2, int columns2, floatComplex* out) {
- int i = 0;
- int j = 0;
- for (i = 0 ; i < columns1 && i < columns2 ; ++i)
- {
- for (j = 0 ; j < lines1 ; ++j)
- {
- out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];
- }
- for (j = 0 ; j < lines2 ; ++j)
- {
- out[i*(lines1 + lines2) + lines1 + j] = in2[i*lines2 + j];
- }
- }
-}
-
-
-/*
-** Emulate Scilab (from help cat) :
-** the concatenation is done according to the columns
-**
-** A1=[1 2 3;4 5 6]; A2=[7 8 9 ;10 11 12]; y=cat(2,A1,A2) => y=[1 2 3 7 8 9 ; 4 5 6 10 11 12]
-**
-*/
-void ccolumncata(floatComplex *in1, int lines1, int columns1, floatComplex *in2, int lines2, int columns2, floatComplex* out) {
- int i = 0;
- for (i = 0 ; i < lines1 * columns1 ; ++i) {
- out[i] = in1[i];
- }
- for (i = 0; i < lines2 * columns2 ; ++i) {
- out[i + lines1 * columns1] = in2[i];
- }
-}
diff --git a/src/matrixOperations/cat/ccats.c b/src/matrixOperations/cat/ccats.c
deleted file mode 100644
index c4fab76f..00000000
--- a/src/matrixOperations/cat/ccats.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 "cat.h"
-
-void crowcats(floatComplex in1, floatComplex in2, floatComplex *out) {
- out[0] = in1;
- out[1] = in2;
-}
-
-void ccolumncats(floatComplex in1, floatComplex in2, floatComplex *out) {
- out[0] = in1;
- out[1] = in2;
-}
diff --git a/src/matrixOperations/cat/dcata.c b/src/matrixOperations/cat/dcata.c
deleted file mode 100644
index 0ec7c088..00000000
--- a/src/matrixOperations/cat/dcata.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 "cat.h"
-/*
-** Emulate Scilab (from help cat) :
-** then the concatenation is done according to the rows
-**
-** A1=[1 2 3 ; 4 5 6]; A2=[7 8 9 ; 10 11 12]; y=cat(1,A1,A2) => y=[1 2 3 ; 4 5 6 ;7 8 9; 10 11 12]
-**
-*/
-
-void drowcata(double *in1, int lines1, int columns1, double *in2, int lines2, int columns2, double* out) {
- int i = 0;
- int j = 0;
-
- for (i = 0 ; i < columns1 && i < columns2 ; ++i)
- {
- for (j = 0 ; j < lines1 ; ++j)
- {
- out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];
- }
- for (j = 0 ; j < lines2 ; ++j)
- {
- out[i*(lines1 + lines2) + lines1 + j] = in2[i*lines2 + j];
- }
- }
-}
-
-
-/*
-** Emulate Scilab (from help cat) :
-** the concatenation is done according to the columns
-**
-** A1=[1 2 3;4 5 6]; A2=[7 8 9 ;10 11 12]; y=cat(2,A1,A2) => y=[1 2 3 7 8 9 ; 4 5 6 10 11 12]
-**
-*/
-void dcolumncata(double *in1, int lines1, int columns1, double *in2, int lines2, int columns2, double* out) {
- int i = 0;
- for (i = 0 ; i < lines1 * columns1 ; ++i) {
- out[i] = in1[i];
- }
- for (i = 0; i < lines2 * columns2 ; ++i) {
- out[i + lines1 * columns1] = in2[i];
- }
-}
diff --git a/src/matrixOperations/cat/dcats.c b/src/matrixOperations/cat/dcats.c
deleted file mode 100644
index aea63ecf..00000000
--- a/src/matrixOperations/cat/dcats.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 "cat.h"
-
-void drowcats(double in1, double in2, double *out) {
- out[0] = in1;
- out[1] = in2;
-}
-
-void dcolumncats(double in1, double in2, double *out) {
- out[0] = in1;
- out[1] = in2;
-}
diff --git a/src/matrixOperations/cat/scata.c b/src/matrixOperations/cat/scata.c
deleted file mode 100644
index da0853c6..00000000
--- a/src/matrixOperations/cat/scata.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 "cat.h"
-#include "stdio.h"
-/*
-** Emulate Scilab (from help cat) :
-** then the concatenation is done according to the rows
-**
-** A1=[1 2 3 ; 4 5 6]; A2=[7 8 9 ; 10 11 12]; y=cat(1,A1,A2) => y=[1 2 3 ; 4 5 6 ;7 8 9; 10 11 12]
-**
-*/
-
-void srowcata(float *in1, int lines1, int columns1, float *in2, int lines2, int columns2, float* out) {
- int i = 0;
- int j = 0;
- for (i = 0 ; i < columns1 && i < columns2 ; ++i)
- {
- for (j = 0 ; j < lines1 ; ++j)
- {
- out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];
- }
- for (j = 0 ; j < lines2 ; ++j)
- {
- out[i*(lines1 + lines2) + lines1 + j] = in2[i*lines2 + j];
- }
- }
-}
-
-
-/*
-** Emulate Scilab (from help cat) :
-** the concatenation is done according to the columns
-**
-** A1=[1 2 3;4 5 6]; A2=[7 8 9 ;10 11 12]; y=cat(2,A1,A2) => y=[1 2 3 7 8 9 ; 4 5 6 10 11 12]
-**
-*/
-void scolumncata(float *in1, int lines1, int columns1, float *in2, int lines2, int columns2, float* out) {
- int i = 0;
- for (i = 0 ; i < lines1 * columns1 ; ++i) {
- out[i] = in1[i];
- }
- for (i = 0; i < lines2 * columns2 ; ++i) {
- out[i + lines1 * columns1] = in2[i];
- }
-}
diff --git a/src/matrixOperations/cat/scats.c b/src/matrixOperations/cat/scats.c
deleted file mode 100644
index 1f82f9aa..00000000
--- a/src/matrixOperations/cat/scats.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 "cat.h"
-
-void srowcats(float in1, float in2, float *out) {
- out[0] = in1;
- out[1] = in2;
-}
-
-void scolumncats(float in1, float in2, float *out) {
- out[0] = in1;
- out[1] = in2;
-}
diff --git a/src/matrixOperations/cat/testDoubleMatrixConcatenation.c b/src/matrixOperations/cat/testDoubleMatrixConcatenation.c
deleted file mode 100644
index 29ab3c65..00000000
--- a/src/matrixOperations/cat/testDoubleMatrixConcatenation.c
+++ /dev/null
@@ -1,342 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 <assert.h>
-#include <stdio.h>
-#include "constant.h"
-#include "cat.h"
-
-static void drowcatsTest(void) {
- int i = 0;
- double output[2] = {0};
-
- /*
- ** [ 42 51 ]
- */
- drowcats(42.0, 51.0, output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e\n", i, output[i]);
- }
- assert(output[0] == 42.0);
- assert(output[1] == 51.0);
-
- /*
- ** [ PI PI/2 ]
- */
- drowcats(DPI, DPI / 2, output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e\n", i, output[i]);
- }
- assert(output[0] == DPI);
- assert(output[1] == DPI / 2);
-}
-
-static void dcolumncatsTest(void) {
- int i = 0;
- double output[2] = {0};
-
- /*
- ** [ 42 51 ]
- */
- dcolumncats(42.0, 51.0, output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e\n", i, output[i]);
- }
- assert(output[0] == 42.0);
- assert(output[1] == 51.0);
-
- /*
- ** [ PI PI/2 ]
- */
- dcolumncats(DPI, DPI / 2, output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e\n", i, output[i]);
- }
- assert(output[0] == DPI);
- assert(output[1] == DPI / 2);
-}
-
-static void dcolumncataTest(void) {
- int i = 0;
- double in1[12] = {0.0, 1.0, 2.0 , 3.0 , 4.0, 5.0 , 6.0 , 7.0 , 8.0 , 9.0, 10.0 , 11.0};
- double in2_1_1[1] = {12.0};
- double out_1_13[13] = {0};
-
- double in2_2_2[4] = {DPI, DPI / 2, DPI / 3, DPI / 4};
- double out_2_8[16] = {0};
-
- /*
- ** columncat( [ 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 ], [ 12.0 ] )
- ** [ 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 ]
- */
- dcolumncata(in1, 1, 12, in2_1_1, 1, 1, out_1_13);
- for (i = 0 ; i < 13 ; ++i) {
- printf("out_1_13[%d] = %e\n", i, out_1_13[i]);
- assert(out_1_13[i] == (double) i);
- }
-
- /*
- ** [ 0 2 4 6 8 10 ] , [ PI PI/3 ] => [ 0 2 4 6 8 10 PI PI/3 ]
- ** [ 1 3 5 7 9 11 ] [ PI/2 PI/4] [ 1 3 5 7 9 11 PI/2 PI/4 ]
- */
- dcolumncata(in1, 2, 6, in2_2_2, 2, 2, out_2_8);
- for (i = 0 ; i < 16 ; ++i) {
- printf("out_2_8[%d] = %e\n", i, out_2_8[i]);
- }
- for (i = 0 ; i < 12 ; ++i) {
- assert(out_2_8[i] == in1[i]);
- }
- for (i = 0 ; i < 4 ; ++i) {
- assert(out_2_8[i + 12] == in2_2_2[i]);
- }
-
-}
-
-static void drowcataTest() {
- int i = 0;
- double in1[6] = {1.0 , 2.0, 5.0 , 6.0, 9.0 , 10.0};
- double in2[6] = {3.0 , 4.0 , 7.0 , 8.0 , 11.0 , 12.0};
- double out_4_3[12] = {0};
- double out_6_2[12] = {0};
- /*
- ** [ 1 5 9 ] ; [ 3 7 11 ] => [ 1 5 9 ]
- ** [ 2 6 10 ] [ 4 8 12 ] [ 2 6 10 ]
- ** [ 3 7 11 ]
- ** [ 4 8 12 ]
- */
- drowcata(in1, 2, 3, in2, 2, 3, out_4_3);
- for (i = 0 ; i < 12 ; ++i) {
- printf("out_4_3[%d] = %e\n", i, out_4_3[i]);
- assert(out_4_3[i] == (double) i + 1.0);
- }
-
- /*
- ** [ 1 6 ] ; [ 3 8 ]
- ** [ 2 9 ] [ 4 11 ]
- ** [ 5 10 ] [ 7 12 ]
- */
- drowcata(in1, 3, 2, in2, 3, 2, out_6_2);
- for (i = 0 ; i < 12 ; ++i) {
- printf("out_6_2[%d] = %e\n", i, out_6_2[i]);
- }
- assert(out_6_2[0] == 1.0);
- assert(out_6_2[1] == 2.0);
- assert(out_6_2[2] == 5.0);
- assert(out_6_2[3] == 3.0);
- assert(out_6_2[4] == 4.0);
- assert(out_6_2[5] == 7.0);
- assert(out_6_2[6] == 6.0);
- assert(out_6_2[7] == 9.0);
- assert(out_6_2[8] == 10.0);
- assert(out_6_2[9] == 8.0);
- assert(out_6_2[10] == 11.0);
- assert(out_6_2[11] == 12.0);
-
- drowcata(in1, 1, 6, in2, 1, 6, out_6_2);
- for (i = 0 ; i < 12 ; ++i) {
- printf("out_6_2[%d] = %e\n", i, out_6_2[i]);
- }
- assert(out_6_2[0] == 1.0);
- assert(out_6_2[1] == 3.0);
- assert(out_6_2[2] == 2.0);
- assert(out_6_2[3] == 4.0);
- assert(out_6_2[4] == 5.0);
- assert(out_6_2[5] == 7.0);
- assert(out_6_2[6] == 6.0);
- assert(out_6_2[7] == 8.0);
- assert(out_6_2[8] == 9.0);
- assert(out_6_2[9] == 11.0);
- assert(out_6_2[10] == 10.0);
- assert(out_6_2[11] == 12.0);
-
-}
-
-static void zrowcatsTest(void) {
- int i = 0;
- doubleComplex output[2];
-
- /*
- ** [ 42+25i 51+38i ]
- */
- zrowcats(DoubleComplex(42.0, 25.0),
- DoubleComplex(51.0, 38.0),
- output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e + %e i\n", i, zreals(output[i]), zimags(output[i]));
- }
- assert(zreals(output[0]) == 42.0);
- assert(zimags(output[0]) == 25.0);
- assert(zreals(output[1]) == 51.0);
- assert(zimags(output[1]) == 38.0);
-
- /*
- ** [ PI+PI/2i PI/2+PIi ]
- */
- zrowcats(DoubleComplex(DPI, DPI/2),
- DoubleComplex(DPI/2, DPI),
- output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e + %e i\n", i, zreals(output[i]), zimags(output[i]));
- }
- assert(zreals(output[0]) == DPI);
- assert(zimags(output[0]) == DPI / 2);
- assert(zreals(output[1]) == DPI / 2);
- assert(zimags(output[1]) == DPI);
-}
-
-static void zcolumncatsTest(void) {
- int i = 0;
- doubleComplex output[2];
- /*
- ** [ 42+25i 51+38i ]
- */
- zcolumncats(DoubleComplex(42.0, 25.0),
- DoubleComplex(51.0, 38.0),
- output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e + %e i\n", i, zreals(output[i]), zimags(output[i]));
- }
- assert(zreals(output[0]) == 42.0);
- assert(zimags(output[0]) == 25.0);
- assert(zreals(output[1]) == 51.0);
- assert(zimags(output[1]) == 38.0);
-
- /*
- ** [ PI+PI/2i PI/2+PIi ]
- */
- zcolumncats(DoubleComplex(DPI, DPI/2),
- DoubleComplex(DPI/2, DPI),
- output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e + %e i\n", i, zreals(output[i]), zimags(output[i]));
- }
- assert(zreals(output[0]) == DPI);
- assert(zimags(output[0]) == DPI / 2);
- assert(zreals(output[1]) == DPI / 2);
- assert(zimags(output[1]) == DPI);
-
-}
-
-static void zcolumncataTest(void) {
- int i = 0;
- double in1_real[12] = {0.0 , 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 , 10.0 , 11.0};
- double in1_imag[12] = {11.0 , 10.0 , 9.0 , 8.0 , 7.0 , 6.0 , 5.0 , 4.0 , 3.0 , 2.0 , 1.0 , 0.0};
- doubleComplex *in1 = DoubleComplexMatrix(in1_real, in1_imag, 12);
- double in2_real[1] = {12.0};
- double in2_imag[1] = {-1.0};
- doubleComplex *in2_1_1 = DoubleComplexMatrix(in2_real, in2_imag, 1);
- doubleComplex out_1_13[13];
-
- double in2_2_2_real[4] = {DPI, DPI / 2, DPI / 3, DPI / 4};
- double in2_2_2_imag[4] = {DPI / 4, DPI / 3, DPI / 2, DPI};
- doubleComplex *in2_2_2 = DoubleComplexMatrix(in2_2_2_real, in2_2_2_imag, 4);
- doubleComplex out_2_8[16];
-
- /*
- ** columncat( [ 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 ], [ 12.0 ] )
- ** [ 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 ]
- */
- zcolumncata(in1, 1, 12, in2_1_1, 1, 1, out_1_13);
- for (i = 0 ; i < 13 ; ++i) {
- printf("out_1_13[%d] = %e + %e i\n", i, zreals(out_1_13[i]), zimags(out_1_13[i]));
- assert(zreals(out_1_13[i]) == (double) i);
- assert(zimags(out_1_13[i]) == 11.0 - (double) i);
- }
-
- /*
- ** [ 0 2 4 6 8 10 ] , [ PI PI/3 ] => [ 0 2 4 6 8 10 PI PI/3 ]
- ** [ 1 3 5 7 9 11 ] [ PI/2 PI/4] [ 1 3 5 7 9 11 PI/2 PI/4 ]
- */
- zcolumncata(in1, 2, 6, in2_2_2, 2, 2, out_2_8);
- for (i = 0 ; i < 16 ; ++i) {
- printf("out_2_8[%d] = %e + %e i\n", i, zreals(out_2_8[i]), zimags(out_2_8[i]));
- }
- for (i = 0 ; i < 12 ; ++i) {
- assert(zreals(out_2_8[i]) == zreals(in1[i]));
- assert(zimags(out_2_8[i]) == zimags(in1[i]));
- }
- for (i = 0 ; i < 4 ; ++i) {
- assert(zreals(out_2_8[i + 12]) == zreals(in2_2_2[i]));
- assert(zimags(out_2_8[i + 12]) == zimags(in2_2_2[i]));
- }
-
-}
-
-static void zrowcataTest() {
- int i = 0;
- double in1_real[6] = {1.0 , 2.0, 5.0 , 6.0, 9.0 , 10.0};
- double in1_imag[6] = {1.0 , 2.0, 5.0 , 6.0, 9.0 , 10.0};
- doubleComplex *in1 = DoubleComplexMatrix(in1_real, in1_imag, 6);
- double in2_real[6] = {3.0 , 4.0 , 7.0 , 8.0 , 11.0 , 12.0};
- double in2_imag[6] = {3.0 , 4.0 , 7.0 , 8.0 , 11.0 , 12.0};
- doubleComplex *in2 = DoubleComplexMatrix(in2_real, in2_imag, 6);
- doubleComplex out_4_3[12];
- doubleComplex out_6_2[12];
- /*
- ** [ 1 5 9 ] ; [ 3 7 11 ] => [ 1 5 9 ]
- ** [ 2 6 10 ] [ 4 8 12 ] [ 2 6 10 ]
- ** [ 3 7 11 ]
- ** [ 4 8 12 ]
- */
- zrowcata(in1, 2, 3, in2, 2, 3, out_4_3);
- for (i = 0 ; i < 12 ; ++i) {
- printf("out_4_3[%d] = %e + %e i\n", i, zreals(out_4_3[i]), zimags(out_4_3[i]));
- assert(zreals(out_4_3[i]) == (double) i + 1.0);
- assert(zimags(out_4_3[i]) == (double) i + 1.0);
- }
-
- /*
- ** [ 1 6 ] ; [ 3 8 ]
- ** [ 2 9 ] [ 4 11 ]
- ** [ 5 10 ] [ 7 12 ]
- */
- zrowcata(in1, 3, 2, in2, 3, 2, out_6_2);
- for (i = 0 ; i < 12 ; ++i) {
- printf("out_6_2[%d] = %e + %e i\n", i, zreals(out_6_2[i]), zimags(out_6_2[i]));
- }
- assert(zreals(out_6_2[0]) == 1.0);
- assert(zimags(out_6_2[0]) == 1.0);
- assert(zreals(out_6_2[1]) == 2.0);
- assert(zimags(out_6_2[1]) == 2.0);
- assert(zreals(out_6_2[2]) == 5.0);
- assert(zimags(out_6_2[2]) == 5.0);
- assert(zreals(out_6_2[3]) == 3.0);
- assert(zimags(out_6_2[3]) == 3.0);
- assert(zreals(out_6_2[4]) == 4.0);
- assert(zimags(out_6_2[4]) == 4.0);
- assert(zreals(out_6_2[5]) == 7.0);
- assert(zimags(out_6_2[5]) == 7.0);
- assert(zreals(out_6_2[6]) == 6.0);
- assert(zimags(out_6_2[6]) == 6.0);
- assert(zreals(out_6_2[7]) == 9.0);
- assert(zimags(out_6_2[7]) == 9.0);
- assert(zreals(out_6_2[8]) == 10.0);
- assert(zimags(out_6_2[8]) == 10.0);
- assert(zreals(out_6_2[9]) == 8.0);
- assert(zimags(out_6_2[9]) == 8.0);
- assert(zreals(out_6_2[10]) == 11.0);
- assert(zimags(out_6_2[10]) == 11.0);
- assert(zreals(out_6_2[11]) == 12.0);
- assert(zimags(out_6_2[11]) == 12.0);
-}
-
-int main(void) {
- drowcatsTest();
- dcolumncatsTest();
- drowcataTest();
- dcolumncataTest();
- zrowcatsTest();
- zcolumncatsTest();
- zrowcataTest();
- zcolumncataTest();
- return 0;
-}
diff --git a/src/matrixOperations/cat/testFloatMatrixConcatenation.c b/src/matrixOperations/cat/testFloatMatrixConcatenation.c
deleted file mode 100644
index b34a80f0..00000000
--- a/src/matrixOperations/cat/testFloatMatrixConcatenation.c
+++ /dev/null
@@ -1,341 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 <assert.h>
-#include <stdio.h>
-#include "constant.h"
-#include "cat.h"
-
-static void srowcatsTest(void) {
- int i = 0;
- float output[2] = {0};
-
- /*
- ** [ 42 51 ]
- */
- srowcats(42.0, 51.0, output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e\n", i, output[i]);
- }
- assert(output[0] == 42.0);
- assert(output[1] == 51.0);
-
- /*
- ** [ PI PI/2 ]
- */
- srowcats(FPI, FPI / 2, output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e\n", i, output[i]);
- }
- assert(output[0] == FPI);
- assert(output[1] == FPI / 2);
-}
-
-static void scolumncatsTest(void) {
- int i = 0;
- float output[2] = {0};
-
- /*
- ** [ 42 51 ]
- */
- scolumncats(42.0, 51.0, output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e\n", i, output[i]);
- }
- assert(output[0] == 42.0);
- assert(output[1] == 51.0);
-
- /*
- ** [ PI PI/2 ]
- */
- scolumncats(FPI, FPI / 2, output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e\n", i, output[i]);
- }
- assert(output[0] == FPI);
- assert(output[1] == FPI / 2);
-}
-
-static void scolumncataTest(void) {
- int i = 0;
- float in1[12] = {0.0, 1.0, 2.0 , 3.0 , 4.0, 5.0 , 6.0 , 7.0 , 8.0 , 9.0, 10.0 , 11.0};
- float in2_1_1[1] = {12.0};
- float out_1_13[13] = {0};
- float in2_2_2[4] = {FPI, FPI / 2, FPI / 3, FPI / 4};
- float out_2_8[16] = {0};
-
- /*
- ** columncat( [ 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 ], [ 12.0 ] )
- ** [ 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 ]
- */
- scolumncata(in1, 1, 12, in2_1_1, 1, 1, out_1_13);
- for (i = 0 ; i < 13 ; ++i) {
- printf("out_1_13[%d] = %e\n", i, out_1_13[i]);
- assert(out_1_13[i] == (float) i);
- }
-
- /*
- ** [ 0 2 4 6 8 10 ] , [ PI PI/3 ] => [ 0 2 4 6 8 10 PI PI/3 ]
- ** [ 1 3 5 7 9 11 ] [ PI/2 PI/4] [ 1 3 5 7 9 11 PI/2 PI/4 ]
- */
- scolumncata(in1, 2, 6, in2_2_2, 2, 2, out_2_8);
- for (i = 0 ; i < 16 ; ++i) {
- printf("out_2_8[%d] = %e\n", i, out_2_8[i]);
- }
- for (i = 0 ; i < 12 ; ++i) {
- assert(out_2_8[i] == in1[i]);
- }
- for (i = 0 ; i < 4 ; ++i) {
- assert(out_2_8[i + 12] == in2_2_2[i]);
- }
-
-
-
-}
-
-static void srowcataTest() {
- int i = 0;
- float in1[6] = {1.0 , 2.0, 5.0 , 6.0, 9.0 , 10.0};
- float in2[6] = {3.0 , 4.0 , 7.0 , 8.0 , 11.0 , 12.0};
- float out_4_3[12] = {0};
- float out_6_2[12] = {0};
-
- float inNono1[6]={1.0,3.0,5.0,2.0,4.0,6.0};
- float inNono2[2]={1.0,2.0};
- float outNono[8]={0};
- /*
- ** [ 1 5 9 ] ; [ 3 7 11 ] => [ 1 5 9 ]
- ** [ 2 6 10 ] [ 4 8 12 ] [ 2 6 10 ]
- ** [ 3 7 11 ]
- ** [ 4 8 12 ]
- */
- srowcata(in1, 2, 3, in2, 2, 3, out_4_3);
- for (i = 0 ; i < 12 ; ++i) {
- printf("out_4_3[%d] = %e\n", i, out_4_3[i]);
- assert(out_4_3[i] == (float) i + 1.0);
- }
-
- /*
- ** [ 1 6 ] ; [ 3 8 ]
- ** [ 2 9 ] [ 4 11 ]
- ** [ 5 10 ] [ 7 12 ]
- */
- srowcata(in1, 3, 2, in2, 3, 2, out_6_2);
- for (i = 0 ; i < 12 ; ++i) {
- printf("out_6_2[%d] = %e\n", i, out_6_2[i]);
- }
- assert(out_6_2[0] == 1.0);
- assert(out_6_2[1] == 2.0);
- assert(out_6_2[2] == 5.0);
- assert(out_6_2[3] == 3.0);
- assert(out_6_2[4] == 4.0);
- assert(out_6_2[5] == 7.0);
- assert(out_6_2[6] == 6.0);
- assert(out_6_2[7] == 9.0);
- assert(out_6_2[8] == 10.0);
- assert(out_6_2[9] == 8.0);
- assert(out_6_2[10] == 11.0);
- assert(out_6_2[11] == 12.0);
-
-
- srowcata(inNono1, 3, 2, inNono2, 1, 2, outNono);
- assert(outNono[0] == 1.0);
- assert(outNono[1] == 3.0);
- assert(outNono[2] == 5.0);
- assert(outNono[3] == 1.0);
- assert(outNono[4] == 2.0);
- assert(outNono[5] == 4.0);
- assert(outNono[6] == 6.0);
- assert(outNono[7] == 2.0);
-
-}
-
-static void crowcatsTest(void) {
- int i = 0;
- floatComplex output[2];
-
- /*
- ** [ 42+25i 51+38i ]
- */
- crowcats(FloatComplex(42.0, 25.0),
- FloatComplex(51.0, 38.0),
- output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e + %e i\n", i, creals(output[i]), cimags(output[i]));
- }
- assert(creals(output[0]) == 42.0);
- assert(cimags(output[0]) == 25.0);
- assert(creals(output[1]) == 51.0);
- assert(cimags(output[1]) == 38.0);
-
- /*
- ** [ PI+PI/2i PI/2+PIi ]
- */
- crowcats(FloatComplex(FPI, FPI/2),
- FloatComplex(FPI/2, FPI),
- output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e + %e i\n", i, creals(output[i]), cimags(output[i]));
- }
- assert(creals(output[0]) == FPI);
- assert(cimags(output[0]) == FPI / 2);
- assert(creals(output[1]) == FPI / 2);
- assert(cimags(output[1]) == FPI);
-}
-
-static void ccolumncatsTest(void) {
- int i = 0;
- floatComplex output[2];
- /*
- ** [ 42+25i 51+38i ]
- */
- ccolumncats(FloatComplex(42.0, 25.0),
- FloatComplex(51.0, 38.0),
- output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e + %e i\n", i, creals(output[i]), cimags(output[i]));
- }
- assert(creals(output[0]) == 42.0);
- assert(cimags(output[0]) == 25.0);
- assert(creals(output[1]) == 51.0);
- assert(cimags(output[1]) == 38.0);
-
- /*
- ** [ PI+PI/2i PI/2+PIi ]
- */
- ccolumncats(FloatComplex(FPI, FPI/2),
- FloatComplex(FPI/2, FPI),
- output);
- for (i = 0 ; i < 2 ; ++i) {
- printf("output[%d] = %e + %e i\n", i, creals(output[i]), cimags(output[i]));
- }
- assert(creals(output[0]) == FPI);
- assert(cimags(output[0]) == FPI / 2);
- assert(creals(output[1]) == FPI / 2);
- assert(cimags(output[1]) == FPI);
-
-}
-
-static void ccolumncataTest(void) {
- int i = 0;
- float in1_real[12] = {0.0 , 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 , 10.0 , 11.0};
- float in1_imag[12] = {11.0 , 10.0 , 9.0 , 8.0 , 7.0 , 6.0 , 5.0 , 4.0 , 3.0 , 2.0 , 1.0 , 0.0};
- floatComplex *in1 = FloatComplexMatrix(in1_real, in1_imag, 12);
- float in2_real[1] = {12.0};
- float in2_imag[1] = {-1.0};
- floatComplex *in2_1_1 = FloatComplexMatrix(in2_real, in2_imag, 1);
- floatComplex out_1_13[13];
-
- float in2_2_2_real[4] = {FPI, FPI / 2, FPI / 3, FPI / 4};
- float in2_2_2_imag[4] = {FPI / 4, FPI / 3, FPI / 2, FPI};
- floatComplex *in2_2_2 = FloatComplexMatrix(in2_2_2_real, in2_2_2_imag, 4);
- floatComplex out_2_8[16];
-
- /*
- ** columncat( [ 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 ], [ 12.0 ] )
- ** [ 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 ]
- */
- ccolumncata(in1, 1, 12, in2_1_1, 1, 1, out_1_13);
- for (i = 0 ; i < 13 ; ++i) {
- printf("out_1_13[%d] = %e + %e i\n", i, creals(out_1_13[i]), cimags(out_1_13[i]));
- assert(creals(out_1_13[i]) == (float) i);
- assert(cimags(out_1_13[i]) == 11.0 - (float) i);
- }
-
- /*
- ** [ 0 2 4 6 8 10 ] , [ PI PI/3 ] => [ 0 2 4 6 8 10 PI PI/3 ]
- ** [ 1 3 5 7 9 11 ] [ PI/2 PI/4] [ 1 3 5 7 9 11 PI/2 PI/4 ]
- */
- ccolumncata(in1, 2, 6, in2_2_2, 2, 2, out_2_8);
- for (i = 0 ; i < 16 ; ++i) {
- printf("out_2_8[%d] = %e + %e i\n", i, creals(out_2_8[i]), cimags(out_2_8[i]));
- }
- for (i = 0 ; i < 12 ; ++i) {
- assert(creals(out_2_8[i]) == creals(in1[i]));
- assert(cimags(out_2_8[i]) == cimags(in1[i]));
- }
- for (i = 0 ; i < 4 ; ++i) {
- assert(creals(out_2_8[i + 12]) == creals(in2_2_2[i]));
- assert(cimags(out_2_8[i + 12]) == cimags(in2_2_2[i]));
- }
-
-}
-
-static void crowcataTest() {
- int i = 0;
- float in1_real[6] = {1.0 , 2.0, 5.0 , 6.0, 9.0 , 10.0};
- float in1_imag[6] = {1.0 , 2.0, 5.0 , 6.0, 9.0 , 10.0};
- floatComplex *in1 = FloatComplexMatrix(in1_real, in1_imag, 6);
- float in2_real[6] = {3.0 , 4.0 , 7.0 , 8.0 , 11.0 , 12.0};
- float in2_imag[6] = {3.0 , 4.0 , 7.0 , 8.0 , 11.0 , 12.0};
- floatComplex *in2 = FloatComplexMatrix(in2_real, in2_imag, 6);
- floatComplex out_4_3[12];
- floatComplex out_6_2[12];
- /*
- ** [ 1 5 9 ] ; [ 3 7 11 ] => [ 1 5 9 ]
- ** [ 2 6 10 ] [ 4 8 12 ] [ 2 6 10 ]
- ** [ 3 7 11 ]
- ** [ 4 8 12 ]
- */
- crowcata(in1, 2, 3, in2, 2, 3, out_4_3);
- for (i = 0 ; i < 12 ; ++i) {
- printf("out_4_3[%d] = %e + %e i\n", i, creals(out_4_3[i]), cimags(out_4_3[i]));
- assert(creals(out_4_3[i]) == (float) i + 1.0);
- assert(cimags(out_4_3[i]) == (float) i + 1.0);
- }
-
- /*
- ** [ 1 6 ] ; [ 3 8 ]
- ** [ 2 9 ] [ 4 11 ]
- ** [ 5 10 ] [ 7 12 ]
- */
- crowcata(in1, 3, 2, in2, 3, 2, out_6_2);
- for (i = 0 ; i < 12 ; ++i) {
- printf("out_6_2[%d] = %e + %e i\n", i, creals(out_6_2[i]), cimags(out_6_2[i]));
- }
- assert(creals(out_6_2[0]) == 1.0);
- assert(cimags(out_6_2[0]) == 1.0);
- assert(creals(out_6_2[1]) == 2.0);
- assert(cimags(out_6_2[1]) == 2.0);
- assert(creals(out_6_2[2]) == 5.0);
- assert(cimags(out_6_2[2]) == 5.0);
- assert(creals(out_6_2[3]) == 3.0);
- assert(cimags(out_6_2[3]) == 3.0);
- assert(creals(out_6_2[4]) == 4.0);
- assert(cimags(out_6_2[4]) == 4.0);
- assert(creals(out_6_2[5]) == 7.0);
- assert(cimags(out_6_2[5]) == 7.0);
- assert(creals(out_6_2[6]) == 6.0);
- assert(cimags(out_6_2[6]) == 6.0);
- assert(creals(out_6_2[7]) == 9.0);
- assert(cimags(out_6_2[7]) == 9.0);
- assert(creals(out_6_2[8]) == 10.0);
- assert(cimags(out_6_2[8]) == 10.0);
- assert(creals(out_6_2[9]) == 8.0);
- assert(cimags(out_6_2[9]) == 8.0);
- assert(creals(out_6_2[10]) == 11.0);
- assert(cimags(out_6_2[10]) == 11.0);
- assert(creals(out_6_2[11]) == 12.0);
- assert(cimags(out_6_2[11]) == 12.0);
-}
-
-int main(void) {
- srowcatsTest();
- scolumncatsTest();
- srowcataTest();
- scolumncataTest();
- crowcatsTest();
- ccolumncatsTest();
- crowcataTest();
- ccolumncataTest();
- return 0;
-}
diff --git a/src/matrixOperations/cat/test_DoubleMatrixConcatenation/testDoubleMatrixConcatenation.vcproj b/src/matrixOperations/cat/test_DoubleMatrixConcatenation/testDoubleMatrixConcatenation.vcproj
deleted file mode 100644
index 0d9df86e..00000000
--- a/src/matrixOperations/cat/test_DoubleMatrixConcatenation/testDoubleMatrixConcatenation.vcproj
+++ /dev/null
@@ -1,213 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9,00"
- Name="testDoubleMatrixConcatenation"
- ProjectGUID="{7F36A592-B667-43A4-B3C3-66636F2DECB8}"
- RootNamespace="testDoubleMatrixConcatenation"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="../../../includes;../../../type;../../includes;../../../operations/includes"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(SolutionDir)bin\$(ProjectName).exe"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories="../../../includes;../../../type;../../includes;../../../operations/includes"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(SolutionDir)bin\$(ProjectName).exe"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\testDoubleMatrixConcatenation.c"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- CompileAs="2"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- CompileAs="2"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/src/matrixOperations/cat/test_FloatMatrixConcatenation/testFloatMatrixConcatenation.vcproj b/src/matrixOperations/cat/test_FloatMatrixConcatenation/testFloatMatrixConcatenation.vcproj
deleted file mode 100644
index 212f8714..00000000
--- a/src/matrixOperations/cat/test_FloatMatrixConcatenation/testFloatMatrixConcatenation.vcproj
+++ /dev/null
@@ -1,213 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9,00"
- Name="testFloatMatrixConcatenation"
- ProjectGUID="{B9413124-1841-4373-BFE2-AE6C78F24731}"
- RootNamespace="testFloatMatrixConcatenation"
- Keyword="Win32Proj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="../../../includes;../../../type;../../includes;../../../operations/includes"
- PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(SolutionDir)bin\$(ProjectName).exe"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- SubSystem="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="1"
- CharacterSet="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- EnableIntrinsicFunctions="true"
- AdditionalIncludeDirectories="../../../includes;../../../type;../../includes;../../../operations/includes"
- PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(SolutionDir)bin\$(ProjectName).exe"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- SubSystem="1"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath="..\testFloatMatrixConcatenation.c"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- CompileAs="2"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- CompileAs="2"
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/src/matrixOperations/cat/zcata.c b/src/matrixOperations/cat/zcata.c
deleted file mode 100644
index 485553d7..00000000
--- a/src/matrixOperations/cat/zcata.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 "cat.h"
-/*
-** Emulate Scilab (from help cat) :
-** then the concatenation is done according to the rows
-**
-** A1=[1 2 3 ; 4 5 6]; A2=[7 8 9 ; 10 11 12]; y=cat(1,A1,A2) => y=[1 2 3 ; 4 5 61 ;7 8 9; 10 11 12]
-**
-*/
-
-void zrowcata(doubleComplex *in1, int lines1, int columns1, doubleComplex *in2, int lines2, int columns2, doubleComplex* out) {
- int i = 0;
- int j = 0;
- for (i = 0 ; i < columns1 && i < columns2 ; ++i)
- {
- for (j = 0 ; j < lines1 ; ++j)
- {
- out[i*(lines1 + lines2) + j] = in1[i*lines1 + j];
- }
- for (j = 0 ; j < lines2 ; ++j)
- {
- out[i*(lines1 + lines2) + lines1 + j] = in2[i*lines2 + j];
- }
- }
-}
-
-
-/*
-** Emulate Scilab (from help cat) :
-** the concatenation is done according to the columns
-**
-** A1=[1 2 3;4 5 6]; A2=[7 8 9 ;10 11 12]; y=cat(2,A1,A2) => y=[1 2 3 7 8 9 ; 4 5 6 10 11 12]
-**
-*/
-void zcolumncata(doubleComplex *in1, int lines1, int columns1, doubleComplex *in2, int lines2, int columns2, doubleComplex* out) {
- int i = 0;
- for (i = 0 ; i < lines1 * columns1 ; ++i) {
- out[i] = in1[i];
- }
- for (i = 0; i < lines2 * columns2 ; ++i) {
- out[i + lines1 * columns1] = in2[i];
- }
-}
diff --git a/src/matrixOperations/cat/zcats.c b/src/matrixOperations/cat/zcats.c
deleted file mode 100644
index 107000c9..00000000
--- a/src/matrixOperations/cat/zcats.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
- *
- * 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 "cat.h"
-
-void zrowcats(doubleComplex in1, doubleComplex in2, doubleComplex *out) {
- out[0] = in1;
- out[1] = in2;
-}
-
-void zcolumncats(doubleComplex in1, doubleComplex in2, doubleComplex *out) {
- out[0] = in1;
- out[1] = in2;
-}
-