Changeset 4094445 in git for kernel


Ignore:
Timestamp:
Mar 28, 2014, 4:35:48 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
921690ebf8f0d44823a8ac66bed9ad966eda11ec
Parents:
4fccbc56dabb217a3412ff62cddfe3dc88be1da623a78e8b3bf0711bab934f457ec78ae86fbd64d7
Message:
Merge pull request #551 from adipopescu/LinearAlg

Separation of LinearAlgebra-related code inside Kernel
Location:
kernel
Files:
1 added
5 edited
10 moved

Legend:

Unmodified
Added
Removed
  • kernel/Makefile.am

    r4fccbc r4094445  
    22# TODO: use ${top_srcdir} instead of .. in the above?
    33
    4 SUBDIRS=sample numeric fglm groebner_walk combinatorics spectrum
     4SUBDIRS=sample numeric fglm groebner_walk combinatorics spectrum linear_algebra
    55# kernelsample   
    66
     
    2222    syz.cc syz0.cc syz1.cc syz2.cc syz3.cc \
    2323    timer.cc \
    24     eigenval.cc units.cc \
     24    units.cc \
    2525    fast_mult.cc digitech.cc \
    2626    tgb.cc tgbgauss.cc ringgb.cc f5data.cc f5lists.cc f5gb.cc f5c.cc \
    2727    ratgring.cc shiftgb.cc \
    28     linearAlgebra.cc preimage.cc \
     28    preimage.cc \
    2929    mod2.h \
    30     janet.cc interpolation.cc minpoly.cc \
    31     Minor.cc MinorInterface.cc MinorProcessor.cc
     30    janet.cc interpolation.cc minpoly.cc
    3231 
    33 
    3432libkernel_la_SOURCES   = $(SOURCES)
    3533
     
    4240        kutil.h \
    4341        khstd.h kstd1.h \
    44         eigenval.h units.h \
     42        units.h \
    4543        ratgring.h shiftgb.h nc.h \
    4644        preimage.h timer.h kInline.h fast_mult.h \
    4745        digitech.h tgb.h ringgb.h tgbgauss.h tgb_internal.h \
    48         linearAlgebra.h \
    4946        f5c.h f5data.h f5gb.h f5lists.h \
    5047        janet.h interpolation.h minpoly.h \
    51         Minor.h MinorInterface.h MinorProcessor.h Cache.h CacheImplementation.h
     48        Cache.h CacheImplementation.h
    5249
    5350libkernel_la_includedir  =${includedir}/singular/kernel
     
    6158${builddir}/combinatorics/libcombinatorics.la \
    6259${builddir}/spectrum/libspectrum.la \
     60${builddir}/linear_algebra/liblinear_algebra.la \
    6361${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} \
    6462${abs_top_builddir}/libpolys/polys/libpolys.la
  • kernel/ideals.cc

    r23a78e r4094445  
    20992099  ring orig_ring=currRing;
    21002100  ring syz_ring=rAssure_SyzComp(orig_ring, TRUE); rChangeCurrRing(syz_ring);
    2101   rSetSyzComp(length, syz_ring);
     2101  if (TEST_OPT_RETURN_SB)
     2102    rSetSyzComp(id_RankFreeModule(temp,orig_ring), syz_ring);
     2103  else
     2104    rSetSyzComp(length, syz_ring);
    21022105  ideal s_temp;
    21032106
  • kernel/linear_algebra/Minor.cc

    r4fccbc r4094445  
    44#include <kernel/mod2.h>
    55
    6 #include "Minor.h"
     6#include <kernel/linear_algebra/Minor.h>
    77
    88#include <kernel/structs.h>
  • kernel/linear_algebra/MinorInterface.cc

    r4fccbc r4094445  
    77// #include <cstdio>
    88
    9 #include "MinorInterface.h"
    10 #include "MinorProcessor.h"
     9#include <kernel/linear_algebra/MinorInterface.h>
     10#include <kernel/linear_algebra/MinorProcessor.h>
    1111
    1212#include <polys/simpleideals.h>
  • kernel/linear_algebra/MinorProcessor.cc

    r4fccbc r4094445  
    44#include <kernel/mod2.h>
    55
    6 #include "MinorProcessor.h"
     6#include <kernel/linear_algebra/MinorProcessor.h>
    77
    88#include <polys/kbuckets.h>
  • kernel/linear_algebra/MinorProcessor.h

    r4fccbc r4094445  
    22#define MINOR_PROCESSOR_H
    33
    4 #include "Cache.h"
     4#include <kernel/Cache.h>
    55#include "Minor.h"
    66
  • kernel/linear_algebra/eigenval.cc

    r4fccbc r4094445  
    2323#include <polys/matpol.h>
    2424#include <polys/clapsing.h>
    25 #include <kernel/eigenval.h>
     25#include <kernel/linear_algebra/eigenval.h>
    2626
    2727
  • kernel/linear_algebra/linearAlgebra.cc

    r4fccbc r4094445  
    1919#include "singularconfig.h"
    2020#endif /* HAVE_CONFIG_H */
    21 #include "mod2.h"
     21#include <kernel/mod2.h>
    2222
    2323#include <coeffs/coeffs.h>
     
    3333#include <kernel/structs.h>
    3434#include <kernel/ideals.h>
    35 #include <kernel/linearAlgebra.h>
     35#include <kernel/linear_algebra/linearAlgebra.h>
    3636
    3737/**
  • kernel/numeric/mpr_inout.cc

    r23a78e r4094445  
    5656#define TIMING_EPR(t,msg) TIMING_END_AND_PRINT(t,msg);TIMING_RESET(t);
    5757
    58 extern size_t gmp_output_digits;
    5958//<-
    6059
  • kernel/numeric/mpr_numeric.cc

    r23a78e r4094445  
    4343//#include "longrat.h"
    4444
     45#include "mpr_base.h"
    4546#include "mpr_numeric.h"
    4647
    4748#include <math.h>
    48 
    49 extern size_t gmp_output_digits;
    5049//<-
    5150
  • kernel/test.cc

    r4fccbc r4094445  
    9393#include <kernel/spectrum/splist.h>
    9494#include <kernel/spectrum/multicnt.h>
    95 #include <kernel/eigenval.h>
     95#include <kernel/linear_algebra/eigenval.h>
    9696#include <kernel/units.h>
    9797#include <kernel/ratgring.h>
     
    103103// #include "CCRing.h" // Too old!
    104104#include <kernel/digitech.h>
    105 #include <kernel/eigenval.h>
     105#include <kernel/linear_algebra/eigenval.h>
    106106#include <kernel/fast_maps.h>
    107107#include <kernel/fast_mult.h>
     
    130130#include <kernel/khstd.h>
    131131
    132 #include <kernel/linearAlgebra.h>
     132#include <kernel/linear_algebra/linearAlgebra.h>
    133133
    134134
     
    170170#include <kernel/minpoly.h>
    171171
    172 #include <kernel/Minor.h>
    173 #include <kernel/MinorInterface.h>
    174 #include <kernel/MinorProcessor.h>
     172#include <kernel/linear_algebra/Minor.h>
     173#include <kernel/linear_algebra/MinorInterface.h>
     174#include <kernel/linear_algebra/MinorProcessor.h>
    175175#include <kernel/Cache.h>
    176176#include <kernel/CacheImplementation.h>
Note: See TracChangeset for help on using the changeset viewer.