Commit Graph

12 Commits

Author SHA1 Message Date
Wojciech Politarczyk
66813d4a15 Added some C++11 features to classes Z and Q
Z and Q use now smart pointers for storing their internal
implementations, which were changed to use mpz_class and
mpq_class. New implementation uses copy on write. Moreover, I added
moving semantics for these two classes.
2016-11-19 20:55:11 +01:00
Cotton Seed
48e17fb4a6 Build on newcomp with clang++. Added .cmd files for newcomp q. 2012-08-02 19:05:51 -04:00
Cotton Seed
13ba6be775 Fixed a few bugs coming from the rebase of square to master:
initialize impl in set_wrapper, missing operator != on
linear_combination, some reader/writer problems related to writing
algebra.
2012-07-28 13:48:17 -04:00
Cotton Seed
417fe1ea4d Added io support for module, linear_combination, mod_map and grading.
Added intersection and sum for free_submodule.  Modified mpimain to
dump cohomology, sq1 and sq2 as objects (instead of poincare series).
2012-07-28 13:26:30 -04:00
Cotton Seed
8dfa237fc4 Added support to compute Sq1 and Sq2 on Kh. 2012-07-28 13:19:15 -04:00
Cotton Seed
a0e543e4df Added raw support (no leb128) to io for backward compatiblity. 2012-07-28 12:55:46 -04:00
Cotton Seed
5f4dfe8cf1 More updates to c++11: partial initializer_lists and range-based for
support.
2012-07-28 08:14:11 -04:00
Cotton Seed
fdb87caa41 First cut at moving the code over to C++11. 2012-07-27 15:37:47 -04:00
Cotton Seed
1ea96353a7 Added io support for std::string. Added order on laurent polynomials.
main tests io on map<multivariate_laurentpoly, std::string>.
2011-12-29 19:38:02 -05:00
Cotton Seed
33278ed545 Added hash and comparisons for std::string. 2011-12-29 11:51:58 -05:00
Cotton Seed
4443c8e331 Replaced laurentpoly with multivariate_laurentpoly and updated uses
(sseq, module) appropriately; removed algebra/laurentpoly.h and added
algebra/multivariate_laurentpoly.h.  Added io, muladdeq to Z.  Added
functions open_file, close_file to lib/io.h.  Added operator < to
map_wrapper.
2011-12-22 15:35:49 -05:00
Cotton Seed
dcbe4127bd First commit in git. This is a cleaned up version of r114 from the
now deprecated SVN repository.
2011-12-09 15:50:25 -05:00