Commit Graph

259 Commits

Author SHA1 Message Date
Michael Hemmer 0cffa2806f rm dead code
This line, and those below, will be ignored--

M    Polynomial/Polynomial_type.h
2008-04-11 14:24:46 +00:00
Michael Kerber c16fbd65a1 ipower -> CGAL::ipower 2008-04-11 10:20:11 +00:00
Michael Hemmer 987db694de just a test, and its not working but I would like to see on which platforms 2008-04-06 18:02:19 +00:00
Michael Hemmer 7071c48662 use CGAL::ipower 2008-04-05 13:42:19 +00:00
Sebastian Limbach 88092bcd9b Functor adapting functions make_square_free and is_square_free added. 2008-04-04 11:51:52 +00:00
Sebastian Limbach 6687193ff6 Small bug fixed (return type of evaluate_arg_by_value). 2008-04-04 09:31:51 +00:00
Michael Hemmer a627241618 gcd taken from the wrong namespace 2008-04-04 09:06:10 +00:00
Sebastian Limbach cb10c9104a Namespace specification added for gcd calls. 2008-04-03 10:06:30 +00:00
Sebastian Limbach 2540187f71 Filter added for zero polynomials. 2008-04-03 10:05:55 +00:00
Michael Kerber a9666cb08d gcd -> CGAL::gcd 2008-04-03 07:13:15 +00:00
Sebastian Limbach 4a1c881a77 Some small bugs removed. 2008-04-02 15:11:57 +00:00
Michael Kerber 751c421993 Repaired NTL-support 2008-04-02 08:48:38 +00:00
Michael Hemmer 33305dd8e1 minor reorganization 2008-04-01 18:02:20 +00:00
Michael Hemmer 509f5904a3 mv wang.h Wang_traits.h to CGAL/Polynomial/*.h
and all functions into namespace CGALi
2008-04-01 15:59:16 +00:00
Michael Hemmer b01afc120a mv wang.h and Wang_traits.h to CGAL/Polynomial/*.h
and all into namespace CGALi
2008-04-01 14:29:07 +00:00
Michael Hemmer 580a68180f mv Polynomial/ipower.h Algebraic_foundations/ipower.h
since it is a more general function used in several packages (from EXACUS)
2008-04-01 13:44:37 +00:00
Michael Hemmer f2c4cd9681 rm undefined fwd CGAL::CGALi::gcd<NT>(NT,NT) 2008-04-01 13:38:07 +00:00
Michael Hemmer d4f6eb2b46 improved test for square_free_factorization 2008-04-01 13:17:55 +00:00
Michael Hemmer ee0201e794 not needed 2008-04-01 12:35:01 +00:00
Michael Hemmer 9ea46f65a0 changes according to new possition of test files for concept checks 2008-04-01 10:22:16 +00:00
Michael Hemmer 8bfb841dfe include sstream, since it is used 2008-04-01 09:26:32 +00:00
Michael Hemmer cf5e6c7718 short test for new Interpolate functor
TODO: mv test to Polynomial_traits.cpp
2008-03-31 13:26:12 +00:00
Michael Hemmer e3fc3f528a added modular gcd from EXACUS 2008-03-31 13:21:35 +00:00
Michael Hemmer e395bb743c rm name look up conlicts 2008-03-26 09:15:37 +00:00
Michael Hemmer 8661d9a610 rm undocumented function CGAL::integralize_polynomial
rm undocumented function CGAL::fractionalize_polynomial
outdated due to CGAL::Fraction_traits
2008-03-25 11:20:51 +00:00
Andreas Meyer 20315de571 * replaced CGAL_test_assert with ::assert, instead of CGAL_assertion
* removed include/Testsuite/assert.h
2008-03-19 13:45:36 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Michael Kerber 23db96a3fe Compatibility for LEDA 6.0 2008-02-27 10:43:16 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Sylvain Pion 6d9d706c2f Fix misuses of CGAL_warning (spotted by pgCC's warnings). 2008-01-20 16:09:31 +00:00
Michael Hemmer bb0bd09446 added first version of Interpolate functor + tests
TODO: operator for iterator range, documentation
2008-01-13 16:21:29 +00:00
Michael Hemmer 413773298f avoid using operator< since ICoeff may not be RealEmbeddable i.e. LessThanComparable 2008-01-13 11:04:35 +00:00
Michael Hemmer 632246f7cb rm some warnings 2008-01-10 16:26:38 +00:00
Michael Hemmer a972fb81d7 removed additional definition of Total_degree and Degree in
Polynoial_traits_base<ICoeff>
2008-01-09 17:21:53 +00:00
Michael Hemmer a1b9caf430 rm warning 2008-01-09 17:18:14 +00:00
Michael Hemmer 5c28944805 update Exponent_vector 2008-01-09 17:01:45 +00:00
Michael Hemmer 147f3b53fb minor changes 2007-12-10 16:25:22 +00:00
Michael Hemmer 5051b403e4 added Rebind to doc 2007-12-06 16:14:33 +00:00
Michael Hemmer 69fbd93a0e added Rebind to Polynomial_traits_d + test 2007-12-06 15:52:45 +00:00
Michael Hemmer 9981de9667 wrap up 2007-12-06 15:52:09 +00:00
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Michael Hemmer eff5a8265c introduced PolynomialToolox_d
though concepts of functors are still documented part of PolynomialTraits_d
2007-11-23 15:14:04 +00:00
Michael Hemmer c5c85320f1 changed file names according to new functor names 2007-11-23 14:52:45 +00:00
Michael Hemmer 5ccafa276d Factorization -> Factorize
Derivative    -> Derive
2007-11-23 14:46:45 +00:00
Andreas Meyer c1d1609af1 replaced CGAL_assertion( false* and CGAL_assertion( 0*
with CGAL_error/CGAL_error_msg
2007-11-08 00:27:20 +00:00
Andreas Meyer 6623d525eb * replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Sebastian Limbach c3ea038c64 output_benchmark member function changed so that a correct benchmark output, as expected by the Benchmark-parser, is produced (especially with non-integer coefficient types). 2007-09-27 08:15:22 +00:00
Sebastian Limbach 7b72fa54b4 output_benchmark member function added. Used by Polynomial::output_benchmark. 2007-09-27 08:14:12 +00:00
Sebastian Limbach a08024039b Corrected relative path to additional include directory for test suite to work correctly. 2007-08-02 14:46:28 +00:00
Sebastian Limbach 200d2ccd2a Removed unnecessary -I lines. 2007-08-02 11:49:25 +00:00
Sebastian Limbach 4106d96ac5 Modular_image_inv functor added for Modular_arithmetic tests to work correctly. 2007-08-01 09:51:00 +00:00
Sebastian Limbach 57aee53f54 debug-output removed 2007-06-08 06:53:40 +00:00
Sebastian Limbach 4987651960 Test adapted to renamed namespace 2007-06-04 10:59:58 +00:00
Sebastian Limbach b135ec8688 Test adapted to renamed namespace 2007-06-04 10:57:01 +00:00
Sebastian Limbach db9c441447 Internal namespace renamed. 2007-06-04 10:56:39 +00:00
Sebastian Limbach 0f1daece26 Internal namespace renamed. 2007-06-04 10:56:17 +00:00
Sebastian Limbach b9d2ff6507 Modular_traits for polynomials. 2007-06-04 10:55:54 +00:00
Sebastian Limbach b719178beb Contains may_have_common_factor and may_have_multiple_factor 2007-06-04 10:55:19 +00:00
Sebastian Limbach 34c36c5e94 Function moved to modular_filter.h 2007-06-04 10:54:44 +00:00
Sebastian Limbach 42b2e2c225 Internal namespace renamed. 2007-06-04 10:54:24 +00:00
Sebastian Limbach cfb6461d24 Internal namespace renamed. 2007-06-04 10:53:50 +00:00
Sebastian Limbach ea64681620 Internal namespace renamed. 2007-06-04 10:53:35 +00:00
Sebastian Limbach 4d01df4d4a Internal namespace renamed. 2007-06-04 10:53:15 +00:00
Sebastian Limbach a4d2341996 Modular_traits.h included. 2007-06-04 10:52:53 +00:00
Sebastian Limbach c011af691f Result type of Degree_vector changed.
Is_square_free functor added.
Namespace renaming
2007-06-04 10:52:13 +00:00
Michael Hemmer 9b080623dd ispell american 2007-05-30 10:39:07 +00:00
Michael Hemmer e9d8c473e5 added functor DegreeVector
computing the exponent vector of the inner most leading coefficient
2007-05-30 10:38:51 +00:00
Sebastian Limbach 08d98cc263 File moved to Polynomial package. 2007-04-11 07:43:55 +00:00
Sebastian Limbach ccecd82fcc Changed Is_convertible to Is_modularizable. 2007-03-30 11:52:13 +00:00
Sebastian Limbach 9f35b9d604 Changed Is_convertible to Is_modularizable. 2007-03-30 11:51:56 +00:00
Sebastian Limbach 666a2aeaec Removed the debug output. 2007-03-30 11:15:14 +00:00
Sebastian Limbach 29623a1c04 Structure of Polynomial_traits_d changed. A Polynomial_traits_d_base class now inherits from two base classes depending on the algebraic category of the innermost coefficient and the category of the polynomial respectively. 2007-03-30 11:14:39 +00:00
Andreas Meyer 41169fc270 * updated howtocite bibkeys for upcoming 3.3 release
* typo fixes/cosmetic changes
2007-03-29 17:40:13 +00:00
Sebastian Limbach aa77109926 Test for new Square_free_factorization functor added. 2007-03-28 14:08:23 +00:00
Sebastian Limbach 621175b6b4 New overloaded Square_free_factorization functor added which returns the factor alpha (see concept). 2007-03-28 14:07:58 +00:00
Sebastian Limbach 119a054e90 Divide factors by unit_part. 2007-03-28 14:06:56 +00:00
Sebastian Limbach 2cfc397069 Forward declarations of ALL functions of this file added to avoid problems with some compilers. 2007-03-28 10:37:04 +00:00
Michael Hemmer 1ffdb46cbc typo 2007-03-28 07:47:23 +00:00
Sebastian Limbach d452138069 Added own implementation of the Strict weak ordering predicate for std::sort in order to avoid problems with the sorting of "Exponent_vector"s. 2007-03-28 07:13:54 +00:00
Michael Hemmer edd25abb7d added operator, that is not computing a. 2007-03-27 11:21:25 +00:00
Michael Hemmer 73a89e36a5 readded Sqff_utcf
normal Sqff computes constant factor
2007-03-27 11:20:13 +00:00
Michael Hemmer 08614b43d1 rm SqffUtcf 2007-03-15 11:45:59 +00:00
Sebastian Limbach ba439afb79 Corrected CGAL::Sign call to CGAL::sign. 2007-03-15 10:03:46 +00:00
Sebastian Limbach 61cca793ad Removed unused parameter 'alpha' in Square_free_factorization functor call due to new interface. 2007-03-15 10:03:01 +00:00
Sebastian Limbach dba8c69b48 Removed unused parameter 'alpha' in filtered_square_free_factorization call due to new interface. 2007-03-15 10:01:00 +00:00
Sebastian Limbach 127f3e50eb Renamed 'Differentiate' functor and calls to 'Derivative' 2007-03-15 09:59:07 +00:00
Sebastian Limbach 64166597a5 Renamed 'Differentiate' functor and calls to 'Derivative' 2007-03-15 09:58:27 +00:00
Michael Hemmer 3339c6feca changed functor Differenziate to Derivative 2007-03-14 16:37:19 +00:00
Michael Hemmer 78d120b23b mv PolynomialTraits_d_Differentiate.tex PolynomialTraits_d_Derivative.tex 2007-03-14 16:35:40 +00:00
Michael Hemmer 253a3ec798 is not computing constant factor anymore 2007-03-14 16:34:05 +00:00
Sebastian Limbach 28b2b699cb Added reserve calls in constructors of Simple_matrix and Simple_vector to speed things up(?) 2007-03-13 12:02:39 +00:00
Sebastian Limbach 5a4e89f6f6 Test adapted to all the changes in Polynomial package. Especially different coefficient types get tested. 2007-03-13 09:03:27 +00:00
Sebastian Limbach 7da1275367 Polynomial_traits_d class modified. Now it has a hierachical structure to handle different algebraic categories of the innermost coefficient type. 2007-03-13 09:02:45 +00:00
Sebastian Limbach 56785560b9 Removed some commented-out code. 2007-03-13 09:01:20 +00:00
Sebastian Limbach 4c0235b80c Additional function content_ added for special Field-type coefficients handling. 2007-03-13 09:00:19 +00:00
Sebastian Limbach 90c04449c1 Replaced constant_factor calls by calls of univariate_content functor and removed some old, no longer needed functions. 2007-03-13 08:57:59 +00:00
Sebastian Limbach 4dc49a787a New file with all functions needed to compute square_free_factorization. 2007-03-13 08:55:16 +00:00
Sebastian Limbach 8168461e73 resultant.h added to provide needed functionality for resultant computation. Uses bezout_matrix.h and indirectly determinant.h. 2007-03-13 08:53:05 +00:00
Sebastian Limbach c7961f0249 bezout_matrix.h added for use with resultant.h for resultant computation. 2007-03-13 08:52:08 +00:00
Sebastian Limbach e9ef7f60db determinant.h added for use with bezout_matrix for resultant computation. 2007-03-13 08:51:33 +00:00
Sebastian Limbach b7e836a3f6 Innermost_coefficient_to_polynomial functor replaced by simple constructor call because functor does not exist. 2007-03-07 14:12:10 +00:00
Sebastian Limbach e981e87123 Bug fixed by placing the call to content_utcf before the div_utcf call. 2007-03-07 13:18:04 +00:00
Sebastian Limbach 73c1aeece0 Missing tests for new functors added. 2007-03-06 13:31:27 +00:00
Sebastian Limbach ea3d9da0ef Missing functors added according to documentation 2007-03-06 13:30:58 +00:00
Michael Hemmer 93c5765527 added creation variable 2007-03-02 08:49:12 +00:00
Michael Hemmer 228c5e7240 wrap up 2007-03-01 15:42:31 +00:00
Michael Hemmer 5ce46cbb8d typo 2007-03-01 14:02:59 +00:00
Michael Hemmer 062cc010df update PolynomialTraits_d 2007-03-01 13:49:08 +00:00
Michael Hemmer 78d02bcc37 added CGAL::Polynomial_traits_d 2007-03-01 13:25:28 +00:00
Michael Hemmer 2850498136 added SignAt IsZeroAt 2007-03-01 13:22:30 +00:00
Sebastian Limbach abc29aad51 Test adapted to new index from 0 to d-1 instead of 1 to d. 2007-03-01 13:03:36 +00:00
Sebastian Limbach 51605ad942 Construct_polynomial_d functor renamed to Construct_polynomial and all functors adapted to the new index concept with indices starting from 0 up to d-1. 2007-03-01 13:02:59 +00:00
Sebastian Limbach 74da68e595 Moved the functions to the INTERN_POLYNOMIAL namespace. 2007-02-28 16:24:56 +00:00
Sebastian Limbach 114e2e5bac Different functions moved from Polynomial.h to this file. 2007-02-28 16:13:24 +00:00
Sebastian Limbach 168ef1c3ea Operators moved from Polynomial.h to this file. 2007-02-28 16:12:57 +00:00
Sebastian Limbach 02fdfcee98 weak_upper_root_bound and sign_variation functions move to this file from Polynomial.h 2007-02-28 16:12:20 +00:00
Sebastian Limbach f2e210cf28 ipower.h and hgdelta_update.h included, since these functions are now placed in its own files. 2007-02-28 16:11:28 +00:00
Sebastian Limbach 1d2f40a956 ipower.h and hgdelta_update.h included, since these functions are now placed in its own files. 2007-02-28 16:11:03 +00:00
Sebastian Limbach a3f5593439 ipower function from Polynomial.h is now located in this separate file. 2007-02-28 16:10:11 +00:00
Sebastian Limbach 44e4adcbb7 hgdelta_update function from Polynomial.h is now located in this separate file. 2007-02-28 16:09:53 +00:00
Sebastian Limbach 4ac28b0e44 Coercion_traits from Polynomial.h is now located in this separate file. 2007-02-28 16:09:29 +00:00
Sebastian Limbach 800ed22258 Elements moved to different (new) files. 2007-02-28 16:08:53 +00:00
Sebastian Limbach 3284cfb317 polynomial_utils.h included, since canonicalize-function is now located there. 2007-02-28 16:08:23 +00:00
Sebastian Limbach b23b94abfb Changed includes because of moved files. 2007-02-28 13:07:02 +00:00
Sebastian Limbach 81a46d3735 Moved some files 2007-02-28 11:37:19 +00:00
Michael Hemmer efd2255b96 added GetCoefficient
added GetInnermostCoefficient
2007-02-28 10:23:09 +00:00
Michael Hemmer beb571583e added functor Move
added functor InnermostLeadingCoefficient
2007-02-28 09:45:43 +00:00
Michael Hemmer 55236edba3 added InnermostLeadingCoefficient 2007-02-28 09:04:55 +00:00
Michael Hemmer 58e7ef2cf5 ConstructPolynomial_d -> ConstructPolynomial 2007-02-28 08:13:54 +00:00
Michael Hemmer 458c4edb08 ConstructPolynomial_d -> ConstructPolynomial 2007-02-28 08:10:43 +00:00
Michael Hemmer 93a7039b53 replaced by files with full utcf name 2007-02-21 16:49:57 +00:00
Michael Hemmer e336edb541 changed varaibale rang from ( 1 -> d ) to (0 -> d-1)
fixed creation variables
2007-02-21 16:48:05 +00:00
Michael Hemmer b30858bbb2 added concept Polynomial_1 2007-02-20 13:55:36 +00:00
Andreas Fabri 7b727bf338 .C -> .cpp 2007-02-16 16:29:05 +00:00
Michael Hemmer c70e9ea4ce added split with respect to polynomial tool box 2007-02-08 09:02:05 +00:00
Michael Hemmer b07e9ea410 added some missing functors in the overview. 2007-02-08 08:53:01 +00:00
Laurent Saboret 9d0d302a87 Fixed svn properties of whole trunk 2006-12-18 09:37:55 +00:00
Michael Hemmer dfafbcb520 added Functor Degree_vector 2006-12-17 13:20:39 +00:00
Michael Hemmer 3ba74da77c rm use of abs in gcd 2006-12-17 13:20:08 +00:00
Sylvain Pion 29d13841fb Uniformize the format. Add some missing/updates. 2006-12-17 11:58:21 +00:00
Michael Hemmer 49e6510714 moved todos in extra file: open.tex 2006-12-14 12:13:18 +00:00
Michael Hemmer 17c253034f added description.txt 2006-12-07 17:53:32 +00:00
Michael Hemmer 6a93b4dc0d added file maintainer 2006-12-07 17:52:41 +00:00
Michael Hemmer 164527701b first version of concept Polynomial_traits_d 2006-12-07 17:51:15 +00:00
Michael Hemmer 9bde28874f rm old Polynomial_traits
extracted some traits classes into extra files in subdir CGAL/Polynomial
2006-12-07 17:16:14 +00:00
Michael Hemmer a74dcdca9e first version of class Polynomial (from EXACUS)
added Polynomial_traits_d 
TODO: 
rm old Polynomial_traits
2006-12-07 13:46:43 +00:00
Michael Hemmer 2f26ff6db1 mv to branch CGAL_with_EXACUS 2006-10-20 14:54:21 +00:00