Commit Graph

210 Commits

Author SHA1 Message Date
Andreas Fabri 56deede019 Use CGAL_USE_TYPE 2014-07-11 09:49:55 +02:00
Sébastien Loriot 3cfc2e7efe using Exact_rational instead of Gmpq 2014-06-27 15:20:48 +02:00
Laurent Rineau c18c93023a More #include
When CORE_arithmetic_kernel and LEDA_arithmetic_kernel are used, then
one should have:
  #include <CGAL/CORE_arithmetic_kernel.h>
  #include <CGAL/LEDA_arithmetic_kernel.h>
2014-06-24 18:10:07 +02:00
Laurent Rineau 67a3824cec Change permissions of files created by Andreas 2013-10-04 16:57:11 +02:00
Andreas Fabri deef1a5fa2 unify names 2013-09-19 12:54:42 +02:00
Andreas Fabri 948b08d72d simplify tests 2013-09-19 12:53:33 +02:00
Andreas Fabri c3cce8a8fa remove unused typedefs and wrap in assertion_code() 2013-09-18 15:06:46 +02:00
Andreas Fabri 5a21045741 Split up Polynomial_traits_d.cpp in smaller testcases
as VC++ suffers from a combinatorial explosion
2013-09-18 14:55:03 +02:00
Sébastien Loriot 9fcf46e11a replace CGAL_[kernel/qpe/triangulation/]_assertion by assert in tests
this should be the case, following our guidelines.

using:
find */test/* -name '*.[hc]*' | xargs sed -i 's/CGAL_assertion/assert/g'
2013-03-21 10:50:55 +01:00
Andreas Fabri 0707d8b9be split the test 2013-03-05 15:30:09 +01:00
Andreas Fabri b0cffa4c7f ExponentVector is no BackInsertionSequence 2013-03-04 16:38:30 +01:00
Andreas Fabri 4720c7ad0a remove a typedef 2013-02-06 17:05:29 +01:00
Laurent Rineau 3b0cacdd2d Rename a test.
There was another target of the same name in ../../examples
2012-10-05 15:01:50 +00:00
Laurent Rineau 7e6972d819 Rename two tests to avoid conflicts
There was target name conflicts with
  test/Algebraic_foundations/Coercion_traits.cpp
and 
  test/Arithmetic_kernel/Get_arithmetic_kernel.cpp
2012-10-05 14:13:53 +00:00
Eric Berberich b306a5acaa added missing include 2012-06-27 12:27:41 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Philipp Möller 441ca3e68b square_free_factorize_utcf did not get evaluated in release mode and the test subsequently segfaulted 2011-11-21 17:11:50 +00:00
Guillaume Damiand a29c905ee0 Replace BOOST_STATIC_ASSERT by CGAL_static_assertion. 2011-08-31 14:30:07 +00:00
Sébastien Loriot 301b04954e update testsuite to avoid assert(false)
add a cout comments when nothing is tested (no arithmetic kernel)
update macro
2010-08-12 13:49:08 +00:00
Michael Hemmer c71989b406 use default Arithmetic kernel if present 2010-07-07 08:22:42 +00:00
Michael Hemmer 2280e4641d use default arithmetic kernel if present 2010-07-07 07:59:47 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Andreas Fabri 0d1c400bb4 Split up the function in orer to avoid ICE of VC++
(It seems that it still additionally needs /bigobj)
2010-05-19 07:57:16 +00:00
Michael Hemmer 0d2cb98390 move Get_arithmetic_kernel specializations into correct packages 2010-05-05 14:19:26 +00:00
Michael Hemmer 17cf111f69 make Polynomial explicit constructible from Coeff/ICoeff, which prevents bugs 2010-04-28 12:31:42 +00:00
Michael Hemmer 125fa88349 CGAL::diff, is deprecated 2010-04-23 07:54:50 +00:00
Michael Hemmer 028e6132d9 -Wall -pedantic -Wno-long-long -Wstrict-overflow=0 2010-04-21 16:20:47 +00:00
Michael Kerber e8e247ac50 Subresultants with cofactors now also work for equal degrees 2010-04-14 14:31:50 +00:00
Michael Kerber f131890356 Bugfix: New algorithm for subresultants with cofactors 2010-04-13 19:55:57 +00:00
Michael Hemmer 5799eaa704 added test for bug in polynomial_subresultants_with_cofactors 2010-03-16 15:58:10 +00:00
Michael Hemmer 87967d2416 missing include 2010-03-11 13:58:04 +00:00
Michael Hemmer 815eef72f2 add missing include 2010-02-18 15:45:24 +00:00
Michael Hemmer c9074430d3 change CGAL_HAVE_.. CGAL_HAS.. 2010-02-11 17:56:29 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Michael Hemmer 7eee2b6780 rename file 2009-08-17 07:09:30 +00:00
Michael Hemmer 8426e7f8e6 added missing functor adapting functions 2009-07-02 13:49:48 +00:00
Michael Hemmer 5806564c5d interface completion 2009-06-29 05:50:45 +00:00
Michael Hemmer 7e83de43ba mv is_square_free in namespace CGAL 2009-06-23 13:23:27 +00:00
Michael Kerber 1ab7859a3e Changes according to the reviews 2009-05-14 15:55:54 +00:00
Michael Kerber daee6a4622 Updated code and doc 2009-03-27 17:30:16 +00:00
Michael Kerber ceba3c0bd1 Call polynomial_subresultant_with_cofactors instead of internal function 2009-03-19 16:15:38 +00:00
Michael Kerber 0275835b15 Updated code wrt to new functionality 2009-03-16 17:51:52 +00:00
Michael Hemmer a377c7ced2 don't inherit Exponent_vector from std::vector<int> 2009-01-04 16:05:03 +00:00
Michael Hemmer 5c30e9d74f check for default arithmetic kernel 2008-12-10 16:40:45 +00:00
Michael Hemmer 2950427b2c fix includes 2008-12-10 11:12:19 +00:00
Andreas Fabri ad03ffc098 fatal error C1091: compiler limit: string exceeds 65535 bytes in length 2008-12-10 10:59:55 +00:00
Michael Hemmer 7d286cf414 Enforce IEEE double precision and to nearest before using modular arithmetic 2008-12-10 10:43:17 +00:00
Michael Hemmer 85ee2f262f Enforce IEEE double precision and to nearest before using modular arithmetic 2008-12-10 10:42:10 +00:00
Michael Hemmer 58b74585c0 enforce IEEE double precision and to nearest for modular arithmetic
--This line, and thcse below, will be ignored--

M    Interpolator.cpp
2008-12-10 10:32:15 +00:00
Michael Hemmer 6defe5068d this file is obsolete covered by more specific files 2008-12-09 14:22:25 +00:00
Michael Hemmer 959f0738a0 wrap up Test/_test_coercion_traits.h
move tests for binary functors into test for explicit interoperable 
as they are supposed to
2008-12-09 10:41:01 +00:00
Sylvain Pion af48d47506 Replace Protect_FPU_rounding<true> pfr(CGAL_FE_TONEAREST)
by Set_ieee_double_precision.
2008-12-03 21:42:28 +00:00
Andreas Fabri ae2f09ac0c break string up so that it is digestible by VC++ 2008-11-24 20:03:30 +00:00
Andreas Fabri 292ca2640d remove main() 2008-11-24 08:09:35 +00:00
Andreas Fabri dbf39bf4b5 Split Polynomial testsuit as VC++ is running out of heap space 2008-11-23 14:42:54 +00:00
Andreas Fabri 51ee5848db Try to help VC8 to disambiguate 2008-11-21 14:31:54 +00:00
Patrick Wenzlaff 21a9016258 some smaler changels 2008-11-12 16:59:06 +00:00
Patrick Wenzlaff 0e8de6f041 Is now working with the gerneric test of Polynomial_traits_d.
Found ../../include/CGAL/Test/_test_Polynonial_traits_d.h
2008-11-12 10:19:14 +00:00
Michael Hemmer 5de8e376c0 added functor MonomialRepresentation 2008-11-11 14:25:47 +00:00
Patrick Wenzlaff 7abc25aa2c added test for permute 2008-11-04 16:33:59 +00:00
Andreas Fabri 2f53442dc0 Help VC8 to disambiguate log 2008-11-04 09:12:58 +00:00
Andreas Fabri 9f6cdc6ff5 Help VC8 to disambiguate 2008-11-03 19:46:44 +00:00
Michael Hemmer a69bf8339d change argument type of {translate|scale}{homogeneous} back to Innermost_leading_coefficient 2008-10-31 10:29:31 +00:00
Michael Hemmer 5b4846e86a improve Get_monom_rep 2008-10-30 13:48:28 +00:00
Michael Hemmer c0575b449e changed behavior of Coercion_traits (see comments)
added test for Coercion_traits
2008-10-29 12:59:46 +00:00
Michael Hemmer 555ecfcf86 minor changes 2008-10-29 12:42:53 +00:00
Michael Hemmer 6d75a6c549 rm cout 2008-10-29 08:50:41 +00:00
Michael Hemmer 736b6ec141 more detailed test for CGAL::canonicalize 2008-10-29 08:49:24 +00:00
Michael Hemmer 9dddae93d0 test for PT::functors adapting functions 2008-10-28 18:52:58 +00:00
Michael Hemmer 8d38726141 added PT:: functor adapting functions 2008-10-28 18:43:04 +00:00
Michael Hemmer 813b342047 rm operator from univariate functors that would perturb order of variables 2008-10-28 11:16:12 +00:00
Michael Hemmer d83a199818 CGALi::canonicalize_polynomial CGAL::canonicalize
implementation moved into functor
2008-10-28 08:26:34 +00:00
Michael Hemmer 2ae6fda863 Enforce IEEE double precision before using modular arithmetic 2008-10-22 08:55:03 +00:00
Michael Hemmer 96fb756a7f clean up 2008-10-22 07:30:34 +00:00
Eric Berberich 4c8c522f63 added new constructors for Exponent_vectors 2008-10-21 16:21:57 +00:00
Michael Hemmer dad354cad1 set wrong rounding mode to test modular arithmetic 2008-10-21 16:16:41 +00:00
Eric Berberich 20efbd1472 removed coefficient test 2008-10-21 12:59:59 +00:00
Andreas Fabri a8c2502386 Enfore IEEE precision as Residue no lionger does it 2008-10-17 14:00:38 +00:00
Michael Hemmer 95180e4fdd rm std::vector specific constructors from Exponent_vector 2008-10-15 09:52:17 +00:00
Michael Hemmer 8e7bed8e6d added PT::Construct_cofficient_const_iterator_range
added PT::Construct_innermost_coefficient_const_iterator_range
rm according functors _begin/_end
2008-10-15 08:38:34 +00:00
Eric Berberich 1e3c02ce1a added tests for coefficient 2008-10-07 18:20:22 +00:00
Eric Berberich 4df4bd8dc4 tests for convenience functions 2008-10-05 09:16:27 +00:00
Michael Hemmer 59d4c2a691 added test for (Innermost)Coefficient_const_iterator 2008-10-02 12:36:27 +00:00
Michael Hemmer 74cd91c79b mv test for ICoeff const iterator to PT traits cpp 2008-10-02 12:35:44 +00:00
Michael Hemmer cd8e4bff2d Coefficient_[iterator|begin|end] -> Coefficient_const_[iterator|begin|end]
same for Innermost_coefficient
2008-10-02 09:29:43 +00:00
Michael Hemmer 9b9b356ab8 added test within sqff 2008-09-15 09:59:28 +00:00
Michael Hemmer a97a0b0591 Derive/Derivative -> Differentiate 2008-09-15 09:29:48 +00:00
Michael Hemmer 5f4f1961b4 fixed bug in interpolation of resultant
one should keep track of the right degrees .-)
2008-09-05 14:08:02 +00:00
Michael Hemmer a9ae7696e8 fix bug in get monom rep (was empty for the zero polynomial)
also fixed construction from monom rep, get zero polynomial for empty iterator range
2008-09-05 14:04:52 +00:00
Michael Hemmer c871ff20a9 added missing CT::Cast
added relavant test
2008-09-05 08:33:43 +00:00
Michael Hemmer 1360cb9e0e square_free_factorization -> square_free_factorize
----------
added Joachim von zur Gathen and J\"urgen Gerhard, 
Modern Computer Algebra, Cambridge University Press, 1999
2008-08-08 09:00:24 +00:00
Michael Hemmer 2f89408eaf PT:: Innermost_coefficient -> Innermost_coefficient_type
PT:: Coefficient -> Coefficient_type
2008-08-07 09:49:32 +00:00
Michael Hemmer cff191916d changed name: CGAL::Modular -> CGAL::Residue
chnaged filenames accordingly 
changed: Modular_traits::Modular_NT -> Modular_traits::Residue_type
2008-08-04 15:09:13 +00:00
Michael Hemmer 9fe83b2e17 rm warning for -DNDEBUG 2008-08-04 12:20:57 +00:00
Michael Hemmer 4a45b97fa2 content moved in CGAL/Polynomial/resultant.h 2008-07-31 14:26:33 +00:00
Michael Hemmer c73406aa9c rm flag CGAL_RESULTANT_USE_INTERPOLATE 2008-07-31 14:25:17 +00:00
Michael Hemmer acb79b6084 new_resultant implementation using interpolation. 2008-07-31 09:10:08 +00:00
Michael Hemmer 4a6cd183a4 not needed 2008-07-30 11:15:23 +00:00
Michael Hemmer 4133b5941f rm cout 2008-07-30 11:14:16 +00:00
Michael Hemmer 0063104dbd added default constructor 2008-07-30 11:13:58 +00:00