diff options
-rw-r--r-- | src/matrixOperations/eye/Makefile.in | 152 | ||||
-rw-r--r-- | src/matrixOperations/eye/ceyea.c (renamed from src/matrixOperations/eye/ceyesa.c) | 8 | ||||
-rw-r--r-- | src/matrixOperations/eye/deyea.c (renamed from src/matrixOperations/eye/deyesa.c) | 6 | ||||
-rw-r--r-- | src/matrixOperations/eye/seyea.c (renamed from src/matrixOperations/eye/seyesa.c) | 6 | ||||
-rw-r--r-- | src/matrixOperations/eye/testMatrixEye.c (renamed from src/matrixOperations/eye/testMatrixEyes.c) | 107 | ||||
-rw-r--r-- | src/matrixOperations/eye/zeyea.c (renamed from src/matrixOperations/eye/zeyesa.c) | 10 |
6 files changed, 144 insertions, 145 deletions
diff --git a/src/matrixOperations/eye/Makefile.in b/src/matrixOperations/eye/Makefile.in index bd8f47fd..4131d74b 100644 --- a/src/matrixOperations/eye/Makefile.in +++ b/src/matrixOperations/eye/Makefile.in @@ -32,9 +32,9 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -check_PROGRAMS = testMatrixEyes$(EXEEXT) -TESTS = testMatrixEyes$(EXEEXT) -subdir = matrixOperations/eyes +check_PROGRAMS = testMatrixEye$(EXEEXT) +TESTS = testMatrixEye$(EXEEXT) +subdir = matrixOperations/eye DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac @@ -52,20 +52,20 @@ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(pkglibdir)" pkglibLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(pkglib_LTLIBRARIES) -libMatrixEyes_la_LIBADD = +libMatrixEye_la_LIBADD = am__objects_1 = -am_libMatrixEyes_la_OBJECTS = $(am__objects_1) \ - libMatrixEyes_la-seyesa.lo libMatrixEyes_la-deyesa.lo \ - libMatrixEyes_la-ceyesa.lo libMatrixEyes_la-zeyesa.lo -libMatrixEyes_la_OBJECTS = $(am_libMatrixEyes_la_OBJECTS) -libMatrixEyes_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libMatrixEyes_la_CFLAGS) \ +am_libMatrixEye_la_OBJECTS = $(am__objects_1) libMatrixEye_la-seyea.lo \ + libMatrixEye_la-deyea.lo libMatrixEye_la-ceyea.lo \ + libMatrixEye_la-zeyea.lo +libMatrixEye_la_OBJECTS = $(am_libMatrixEye_la_OBJECTS) +libMatrixEye_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libMatrixEye_la_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -am_testMatrixEyes_OBJECTS = testMatrixEyes-testMatrixEyes.$(OBJEXT) -testMatrixEyes_OBJECTS = $(am_testMatrixEyes_OBJECTS) -testMatrixEyes_DEPENDENCIES = $(check_LDADD) -testMatrixEyes_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(testMatrixEyes_CFLAGS) \ +am_testMatrixEye_OBJECTS = testMatrixEye-testMatrixEye.$(OBJEXT) +testMatrixEye_OBJECTS = $(am_testMatrixEye_OBJECTS) +testMatrixEye_DEPENDENCIES = $(check_LDADD) +testMatrixEye_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(testMatrixEye_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/includes depcomp = $(SHELL) $(top_srcdir)/config/depcomp @@ -79,8 +79,8 @@ CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ -SOURCES = $(libMatrixEyes_la_SOURCES) $(testMatrixEyes_SOURCES) -DIST_SOURCES = $(libMatrixEyes_la_SOURCES) $(testMatrixEyes_SOURCES) +SOURCES = $(libMatrixEye_la_SOURCES) $(testMatrixEye_SOURCES) +DIST_SOURCES = $(libMatrixEye_la_SOURCES) $(testMatrixEye_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -194,20 +194,20 @@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -libMatrixEyes_la_CFLAGS = -I $(top_builddir)/type \ +libMatrixEye_la_CFLAGS = -I $(top_builddir)/type \ -I $(top_builddir)/matrixOperations/includes \ -I $(top_builddir)/auxiliaryFunctions/includes \ -I $(top_builddir)/includes \ -I $(top_builddir)/elementaryFunctions/includes instdir = $(top_builddir)/lib -pkglib_LTLIBRARIES = libMatrixEyes.la -HEAD = ../includes/matrixEyes.h -libMatrixEyes_la_SOURCES = $(HEAD) \ - seyesa.c \ - deyesa.c \ - ceyesa.c \ - zeyesa.c +pkglib_LTLIBRARIES = libMatrixEye.la +HEAD = ../includes/matrixEye.h +libMatrixEye_la_SOURCES = $(HEAD) \ + seyea.c \ + deyea.c \ + ceyea.c \ + zeyea.c check_LDADD = $(top_builddir)/type/libDoubleComplex.la \ $(top_builddir)/type/libFloatComplex.la \ @@ -228,17 +228,17 @@ check_LDADD = $(top_builddir)/type/libDoubleComplex.la \ $(top_builddir)/elementaryFunctions/sinh/libSinh.la \ $(top_builddir)/lib/lapack/libscilapack.la \ $(top_builddir)/lib/blas/libsciblas.la \ - libMatrixEyes.la + libMatrixEye.la check_INCLUDES = -I $(top_builddir)/type \ - -I $(top_builddir)/matrixOperations/includes \ - -I $(top_builddir)/auxiliaryFunctions/includes \ - -I $(top_builddir)/includes \ - -I $(top_builddir)/elementaryFunctions/includes - -testMatrixEyes_SOURCES = testMatrixEyes.c -testMatrixEyes_LDADD = $(check_LDADD) -testMatrixEyes_CFLAGS = $(check_INCLUDES) + -I $(top_builddir)/matrixOperations/includes \ + -I $(top_builddir)/auxiliaryFunctions/includes \ + -I $(top_builddir)/includes \ + -I $(top_builddir)/elementaryFunctions/includes + +testMatrixEye_SOURCES = testMatrixEye.c +testMatrixEye_LDADD = $(check_LDADD) +testMatrixEye_CFLAGS = $(check_INCLUDES) all: all-am .SUFFIXES: @@ -252,9 +252,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign matrixOperations/eyes/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign matrixOperations/eye/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --foreign matrixOperations/eyes/Makefile + $(AUTOMAKE) --foreign matrixOperations/eye/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -299,8 +299,8 @@ clean-pkglibLTLIBRARIES: echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done -libMatrixEyes.la: $(libMatrixEyes_la_OBJECTS) $(libMatrixEyes_la_DEPENDENCIES) - $(libMatrixEyes_la_LINK) -rpath $(pkglibdir) $(libMatrixEyes_la_OBJECTS) $(libMatrixEyes_la_LIBADD) $(LIBS) +libMatrixEye.la: $(libMatrixEye_la_OBJECTS) $(libMatrixEye_la_DEPENDENCIES) + $(libMatrixEye_la_LINK) -rpath $(pkglibdir) $(libMatrixEye_la_OBJECTS) $(libMatrixEye_la_LIBADD) $(LIBS) clean-checkPROGRAMS: @list='$(check_PROGRAMS)'; for p in $$list; do \ @@ -308,9 +308,9 @@ clean-checkPROGRAMS: echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done -testMatrixEyes$(EXEEXT): $(testMatrixEyes_OBJECTS) $(testMatrixEyes_DEPENDENCIES) - @rm -f testMatrixEyes$(EXEEXT) - $(testMatrixEyes_LINK) $(testMatrixEyes_OBJECTS) $(testMatrixEyes_LDADD) $(LIBS) +testMatrixEye$(EXEEXT): $(testMatrixEye_OBJECTS) $(testMatrixEye_DEPENDENCIES) + @rm -f testMatrixEye$(EXEEXT) + $(testMatrixEye_LINK) $(testMatrixEye_OBJECTS) $(testMatrixEye_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -318,11 +318,11 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixEyes_la-ceyesa.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixEyes_la-deyesa.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixEyes_la-seyesa.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixEyes_la-zeyesa.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testMatrixEyes-testMatrixEyes.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixEye_la-ceyea.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixEye_la-deyea.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixEye_la-seyea.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libMatrixEye_la-zeyea.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testMatrixEye-testMatrixEye.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -345,47 +345,47 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< -libMatrixEyes_la-seyesa.lo: seyesa.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEyes_la_CFLAGS) $(CFLAGS) -MT libMatrixEyes_la-seyesa.lo -MD -MP -MF $(DEPDIR)/libMatrixEyes_la-seyesa.Tpo -c -o libMatrixEyes_la-seyesa.lo `test -f 'seyesa.c' || echo '$(srcdir)/'`seyesa.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixEyes_la-seyesa.Tpo $(DEPDIR)/libMatrixEyes_la-seyesa.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='seyesa.c' object='libMatrixEyes_la-seyesa.lo' libtool=yes @AMDEPBACKSLASH@ +libMatrixEye_la-seyea.lo: seyea.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEye_la_CFLAGS) $(CFLAGS) -MT libMatrixEye_la-seyea.lo -MD -MP -MF $(DEPDIR)/libMatrixEye_la-seyea.Tpo -c -o libMatrixEye_la-seyea.lo `test -f 'seyea.c' || echo '$(srcdir)/'`seyea.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixEye_la-seyea.Tpo $(DEPDIR)/libMatrixEye_la-seyea.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='seyea.c' object='libMatrixEye_la-seyea.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) $(libMatrixEyes_la_CFLAGS) $(CFLAGS) -c -o libMatrixEyes_la-seyesa.lo `test -f 'seyesa.c' || echo '$(srcdir)/'`seyesa.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEye_la_CFLAGS) $(CFLAGS) -c -o libMatrixEye_la-seyea.lo `test -f 'seyea.c' || echo '$(srcdir)/'`seyea.c -libMatrixEyes_la-deyesa.lo: deyesa.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEyes_la_CFLAGS) $(CFLAGS) -MT libMatrixEyes_la-deyesa.lo -MD -MP -MF $(DEPDIR)/libMatrixEyes_la-deyesa.Tpo -c -o libMatrixEyes_la-deyesa.lo `test -f 'deyesa.c' || echo '$(srcdir)/'`deyesa.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixEyes_la-deyesa.Tpo $(DEPDIR)/libMatrixEyes_la-deyesa.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='deyesa.c' object='libMatrixEyes_la-deyesa.lo' libtool=yes @AMDEPBACKSLASH@ +libMatrixEye_la-deyea.lo: deyea.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEye_la_CFLAGS) $(CFLAGS) -MT libMatrixEye_la-deyea.lo -MD -MP -MF $(DEPDIR)/libMatrixEye_la-deyea.Tpo -c -o libMatrixEye_la-deyea.lo `test -f 'deyea.c' || echo '$(srcdir)/'`deyea.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixEye_la-deyea.Tpo $(DEPDIR)/libMatrixEye_la-deyea.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='deyea.c' object='libMatrixEye_la-deyea.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) $(libMatrixEyes_la_CFLAGS) $(CFLAGS) -c -o libMatrixEyes_la-deyesa.lo `test -f 'deyesa.c' || echo '$(srcdir)/'`deyesa.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEye_la_CFLAGS) $(CFLAGS) -c -o libMatrixEye_la-deyea.lo `test -f 'deyea.c' || echo '$(srcdir)/'`deyea.c -libMatrixEyes_la-ceyesa.lo: ceyesa.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEyes_la_CFLAGS) $(CFLAGS) -MT libMatrixEyes_la-ceyesa.lo -MD -MP -MF $(DEPDIR)/libMatrixEyes_la-ceyesa.Tpo -c -o libMatrixEyes_la-ceyesa.lo `test -f 'ceyesa.c' || echo '$(srcdir)/'`ceyesa.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixEyes_la-ceyesa.Tpo $(DEPDIR)/libMatrixEyes_la-ceyesa.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ceyesa.c' object='libMatrixEyes_la-ceyesa.lo' libtool=yes @AMDEPBACKSLASH@ +libMatrixEye_la-ceyea.lo: ceyea.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEye_la_CFLAGS) $(CFLAGS) -MT libMatrixEye_la-ceyea.lo -MD -MP -MF $(DEPDIR)/libMatrixEye_la-ceyea.Tpo -c -o libMatrixEye_la-ceyea.lo `test -f 'ceyea.c' || echo '$(srcdir)/'`ceyea.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixEye_la-ceyea.Tpo $(DEPDIR)/libMatrixEye_la-ceyea.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ceyea.c' object='libMatrixEye_la-ceyea.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) $(libMatrixEyes_la_CFLAGS) $(CFLAGS) -c -o libMatrixEyes_la-ceyesa.lo `test -f 'ceyesa.c' || echo '$(srcdir)/'`ceyesa.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEye_la_CFLAGS) $(CFLAGS) -c -o libMatrixEye_la-ceyea.lo `test -f 'ceyea.c' || echo '$(srcdir)/'`ceyea.c -libMatrixEyes_la-zeyesa.lo: zeyesa.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEyes_la_CFLAGS) $(CFLAGS) -MT libMatrixEyes_la-zeyesa.lo -MD -MP -MF $(DEPDIR)/libMatrixEyes_la-zeyesa.Tpo -c -o libMatrixEyes_la-zeyesa.lo `test -f 'zeyesa.c' || echo '$(srcdir)/'`zeyesa.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixEyes_la-zeyesa.Tpo $(DEPDIR)/libMatrixEyes_la-zeyesa.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='zeyesa.c' object='libMatrixEyes_la-zeyesa.lo' libtool=yes @AMDEPBACKSLASH@ +libMatrixEye_la-zeyea.lo: zeyea.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEye_la_CFLAGS) $(CFLAGS) -MT libMatrixEye_la-zeyea.lo -MD -MP -MF $(DEPDIR)/libMatrixEye_la-zeyea.Tpo -c -o libMatrixEye_la-zeyea.lo `test -f 'zeyea.c' || echo '$(srcdir)/'`zeyea.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libMatrixEye_la-zeyea.Tpo $(DEPDIR)/libMatrixEye_la-zeyea.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='zeyea.c' object='libMatrixEye_la-zeyea.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) $(libMatrixEyes_la_CFLAGS) $(CFLAGS) -c -o libMatrixEyes_la-zeyesa.lo `test -f 'zeyesa.c' || echo '$(srcdir)/'`zeyesa.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libMatrixEye_la_CFLAGS) $(CFLAGS) -c -o libMatrixEye_la-zeyea.lo `test -f 'zeyea.c' || echo '$(srcdir)/'`zeyea.c -testMatrixEyes-testMatrixEyes.o: testMatrixEyes.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testMatrixEyes_CFLAGS) $(CFLAGS) -MT testMatrixEyes-testMatrixEyes.o -MD -MP -MF $(DEPDIR)/testMatrixEyes-testMatrixEyes.Tpo -c -o testMatrixEyes-testMatrixEyes.o `test -f 'testMatrixEyes.c' || echo '$(srcdir)/'`testMatrixEyes.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testMatrixEyes-testMatrixEyes.Tpo $(DEPDIR)/testMatrixEyes-testMatrixEyes.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testMatrixEyes.c' object='testMatrixEyes-testMatrixEyes.o' libtool=no @AMDEPBACKSLASH@ +testMatrixEye-testMatrixEye.o: testMatrixEye.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testMatrixEye_CFLAGS) $(CFLAGS) -MT testMatrixEye-testMatrixEye.o -MD -MP -MF $(DEPDIR)/testMatrixEye-testMatrixEye.Tpo -c -o testMatrixEye-testMatrixEye.o `test -f 'testMatrixEye.c' || echo '$(srcdir)/'`testMatrixEye.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testMatrixEye-testMatrixEye.Tpo $(DEPDIR)/testMatrixEye-testMatrixEye.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testMatrixEye.c' object='testMatrixEye-testMatrixEye.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) $(testMatrixEyes_CFLAGS) $(CFLAGS) -c -o testMatrixEyes-testMatrixEyes.o `test -f 'testMatrixEyes.c' || echo '$(srcdir)/'`testMatrixEyes.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testMatrixEye_CFLAGS) $(CFLAGS) -c -o testMatrixEye-testMatrixEye.o `test -f 'testMatrixEye.c' || echo '$(srcdir)/'`testMatrixEye.c -testMatrixEyes-testMatrixEyes.obj: testMatrixEyes.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testMatrixEyes_CFLAGS) $(CFLAGS) -MT testMatrixEyes-testMatrixEyes.obj -MD -MP -MF $(DEPDIR)/testMatrixEyes-testMatrixEyes.Tpo -c -o testMatrixEyes-testMatrixEyes.obj `if test -f 'testMatrixEyes.c'; then $(CYGPATH_W) 'testMatrixEyes.c'; else $(CYGPATH_W) '$(srcdir)/testMatrixEyes.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testMatrixEyes-testMatrixEyes.Tpo $(DEPDIR)/testMatrixEyes-testMatrixEyes.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testMatrixEyes.c' object='testMatrixEyes-testMatrixEyes.obj' libtool=no @AMDEPBACKSLASH@ +testMatrixEye-testMatrixEye.obj: testMatrixEye.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testMatrixEye_CFLAGS) $(CFLAGS) -MT testMatrixEye-testMatrixEye.obj -MD -MP -MF $(DEPDIR)/testMatrixEye-testMatrixEye.Tpo -c -o testMatrixEye-testMatrixEye.obj `if test -f 'testMatrixEye.c'; then $(CYGPATH_W) 'testMatrixEye.c'; else $(CYGPATH_W) '$(srcdir)/testMatrixEye.c'; fi` +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testMatrixEye-testMatrixEye.Tpo $(DEPDIR)/testMatrixEye-testMatrixEye.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testMatrixEye.c' object='testMatrixEye-testMatrixEye.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) $(testMatrixEyes_CFLAGS) $(CFLAGS) -c -o testMatrixEyes-testMatrixEyes.obj `if test -f 'testMatrixEyes.c'; then $(CYGPATH_W) 'testMatrixEyes.c'; else $(CYGPATH_W) '$(srcdir)/testMatrixEyes.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testMatrixEye_CFLAGS) $(CFLAGS) -c -o testMatrixEye-testMatrixEye.obj `if test -f 'testMatrixEye.c'; then $(CYGPATH_W) 'testMatrixEye.c'; else $(CYGPATH_W) '$(srcdir)/testMatrixEye.c'; fi` mostlyclean-libtool: -rm -f *.lo diff --git a/src/matrixOperations/eye/ceyesa.c b/src/matrixOperations/eye/ceyea.c index 7bac26ce..a0ef2759 100644 --- a/src/matrixOperations/eye/ceyesa.c +++ b/src/matrixOperations/eye/ceyea.c @@ -10,14 +10,14 @@ * */ -#include "matrixEyes.h" +#include "eye.h" -void ceyesa(floatComplex *in, int _iRows, int _iCols) +void ceyea(floatComplex *in, int _iRows, int _iCols) { int i ; - + for ( i = 0 ; i < _iRows*_iCols ; i++ ) in[i] = FloatComplex ( (i%(_iCols+1) == 0)?1.0f:0.0f , 0) ; - + } diff --git a/src/matrixOperations/eye/deyesa.c b/src/matrixOperations/eye/deyea.c index 3b794254..8152ac22 100644 --- a/src/matrixOperations/eye/deyesa.c +++ b/src/matrixOperations/eye/deyea.c @@ -10,12 +10,12 @@ * */ -#include "matrixEyes.h" +#include "eye.h" -void deyesa(double *in, int _iRows, int _iCols) +void deyea(double *in, int _iRows, int _iCols) { int i ; - + for ( i = 0 ; i < _iRows*_iCols ; i++ ) in[i] = (i%(_iCols+1) == 0)?1:0 ; } diff --git a/src/matrixOperations/eye/seyesa.c b/src/matrixOperations/eye/seyea.c index 8ed9de64..91b56662 100644 --- a/src/matrixOperations/eye/seyesa.c +++ b/src/matrixOperations/eye/seyea.c @@ -10,12 +10,12 @@ * */ -#include "matrixEyes.h" +#include "eye.h" -void seyesa(float* in, int _iRows, int _iCols) +void seyea(float* in, int _iRows, int _iCols) { int i ; - + for ( i = 0 ; i < _iRows*_iCols ; i++ ) in[i] = (i%(_iCols+1) == 0)?1.0f:0.0f ; } diff --git a/src/matrixOperations/eye/testMatrixEyes.c b/src/matrixOperations/eye/testMatrixEye.c index a4e5711b..adb7d113 100644 --- a/src/matrixOperations/eye/testMatrixEyes.c +++ b/src/matrixOperations/eye/testMatrixEye.c @@ -12,30 +12,31 @@ #include <assert.h> #include <stdio.h> -#include "matrixEyes.h" #include <math.h> +#include "eye.h" + #define LEADDIM 10 -static void deyesaTest ( void ) +static void deyeaTest ( void ) { int i = 0 ; - + double result = 0 ; - + double in [LEADDIM*LEADDIM] ; - - deyesa ( in , LEADDIM , LEADDIM ) ; - + + deyea ( in , LEADDIM , LEADDIM ) ; + for ( i = 0 ; i < LEADDIM*LEADDIM ; i++ ) { if ( i%(LEADDIM+1) == 0 ) result = 1 ; else result = 0 ; - - printf ( "\t\t %d in : %e\tresult : %e\tassert : %e \n" , i, in[i] , result , fabs( in[i] - result) / fabs( in[i]) ) ; - + + printf ( "\t\t %d in : %e\tresult : %e\tassert : %e \n" , i, in[i] , result , fabs( in[i] - result) / fabs( in[i]) ) ; + if ( in[i] < 1e-14 && result < 1e-14 ) assert(1); else @@ -44,24 +45,24 @@ static void deyesaTest ( void ) } -static void seyesaTest ( void ) +static void seyeaTest ( void ) { int i = 0 ; - + float result = 0 ; - + float in[LEADDIM*LEADDIM] ; - - seyesa ( in , LEADDIM , LEADDIM ) ; - + + seyea ( in , LEADDIM , LEADDIM ) ; + for ( i = 0 ; i < LEADDIM*LEADDIM ; i++) { if ( i%(LEADDIM+1) == 0 ) result = 1.0f ; else result = 0 ; - - printf ( "\t\t %d in : %e\tresult : %e\tassert : %e \n" , i, in[i] , result , fabs( in[i] - result) / fabs( in[i]) ) ; + + printf ( "\t\t %d in : %e\tresult : %e\tassert : %e \n" , i, in[i] , result , fabs( in[i] - result) / fabs( in[i]) ) ; if ( in[i] < 1e-6 && result < 1e-6 ) assert(1); else @@ -70,35 +71,35 @@ static void seyesaTest ( void ) } -static void zeyesaTest ( void ) +static void zeyeaTest ( void ) { int i = 0 ; - + doubleComplex result = DoubleComplex ( 0 , 0) ; - + doubleComplex in[LEADDIM*LEADDIM] ; - - zeyesa ( in , LEADDIM , LEADDIM ) ; - + + zeyea ( in , LEADDIM , LEADDIM ) ; + for ( i = 0 ; i < LEADDIM*LEADDIM ; i++ ) { if ( i%(LEADDIM+1) == 0 ) result = DoubleComplex ( 1 , 0 ) ; else result = DoubleComplex ( 0 , 0 ) ; - + printf ( "\t\t %d in : %e\tresult : %e \n" , i, zreals( in[i]) , zreals ( result ) ) ; - + if ( zreals( in[i]) < 1e-14 && zreals( result) < 1e-14 ) assert(1); - else + else assert ( fabs ( zreals(in[i]) - zreals(result)) / fabs( zreals(in[i])) < 1e-14 ) ; - + if ( zimags ( in[i]) < 1e-14 ) assert (1); - else + else assert (0); - + } } @@ -106,55 +107,55 @@ static void zeyesaTest ( void ) -static void ceyesaTest ( void ) +static void ceyeaTest ( void ) { int i = 0 ; - + floatComplex result = FloatComplex ( 0 , 0 ) ; - + floatComplex in[LEADDIM*LEADDIM] ; - - ceyesa ( in , LEADDIM , LEADDIM ) ; - + + ceyea ( in , LEADDIM , LEADDIM ) ; + for ( i = 0 ; i < LEADDIM*LEADDIM ; i++) { if ( i%(LEADDIM+1) == 0 ) result = FloatComplex ( 1.0f , 0 ) ; else result = FloatComplex ( 0 , 0 ) ; - + printf ( "\t\t %d in : %e\tresult : %e \n" , i, creals( in[i]) , creals ( result ) ) ; if ( creals( in[i]) < 1e-6 && creals( result) < 1e-6 ) assert(1); - else + else assert ( fabs ( creals(in[i]) - creals(result)) / fabs( creals(in[i])) < 1e-6 ) ; - + if ( cimags ( in[i]) < 1e-6 ) assert (1); - else + else assert (0); - + } } -static int testExponential(void) { +static int testEye(void) { printf("\n>>>> Matrix Exponential Tests\n"); - printf("\t>>>> Matrix Double Realt Tests\n"); - deyesaTest(); + printf("\t>>>> Matrix Double Realt Tests\n"); + deyeaTest(); + + printf("\n\n\t>>>> Matrix Float Realt Tests\n"); + seyeaTest(); - printf("\n\n\t>>>> Matrix Float Realt Tests\n"); - seyesaTest(); - printf("\n\n\n"); - printf("\t>>>> Matrix Float Complex Tests\n"); - ceyesaTest(); - + printf("\t>>>> Matrix Float Complex Tests\n"); + ceyeaTest(); + printf("\n\n\n"); - printf("\t>>>> Matrix Double Complex Tests\n"); - zeyesaTest(); + printf("\t>>>> Matrix Double Complex Tests\n"); + zeyeaTest(); return 0; } @@ -162,7 +163,7 @@ static int testExponential(void) { int main(void) { - assert(testExponential() == 0); + assert(testEye() == 0); return 0; } diff --git a/src/matrixOperations/eye/zeyesa.c b/src/matrixOperations/eye/zeyea.c index fcb181ec..cb85dba2 100644 --- a/src/matrixOperations/eye/zeyesa.c +++ b/src/matrixOperations/eye/zeyea.c @@ -10,17 +10,15 @@ * */ -#include "matrixEyes.h" +#include "eye.h" - - -void zeyesa(doubleComplex *in, int _iRows, int _iCols) +void zeyea(doubleComplex *in, int _iRows, int _iCols) { int i ; - + for ( i = 0 ; i < _iRows*_iCols ; i++ ) in[i] = DoubleComplex ( (i%(_iCols+1) == 0)?1:0 , 0) ; - + } |