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
Michael Hemmer
65d67a3591
move Wang traits spec into Sqrt_extension
2010-05-05 16:04:03 +00:00
Michael Hemmer
08220653fc
went into AST
2010-05-05 16:00:25 +00:00
Michael Hemmer
7622de47d7
rm comments
2010-05-05 15:20:34 +00:00
Michael Hemmer
a6d6b78d52
rm comment
2010-05-05 15:19:28 +00:00
Michael Hemmer
0d2cb98390
move Get_arithmetic_kernel specializations into correct packages
2010-05-05 14:19:26 +00:00
Michael Hemmer
995594696e
extend constructor from iterator range such that it allwos int, ICoeff and Coeff
...
-This lie, and those below, will be ignored--
M Test/_test_polynomial_traits_d.h
M Polynomial_traits_d.h
2010-04-30 11:37:33 +00:00
Michael Hemmer
49e547c7db
rm cout
2010-04-30 07:00:55 +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
3f748c9055
remove some unnecessary function overloads
2010-04-22 11:20:50 +00:00
Michael Hemmer
028e6132d9
-Wall -pedantic -Wno-long-long -Wstrict-overflow=0
2010-04-21 16:20:47 +00:00
Michael Hemmer
d057a419f3
fixed wrong fwd declarations
2010-04-20 09:43:03 +00:00
Michael Hemmer
cd719b5db5
rename internal gcd/gcd_utcf to gcd_/gcd_utcf_
2010-04-19 12:29:57 +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
Eric Berberich
3458ca869d
added this->
2010-03-31 08:09:52 +00:00
Michael Hemmer
a29fd3130f
added missing include
2010-03-16 14:49:49 +00:00
Sylvain Pion
85dc12f2a7
Remove empty lines at beginning and end of files
...
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Laurent Rineau
6e1b0d9e98
Merged revisions 53794,53805,53807,53812,53818 via svnmerge from
...
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch
........
r53794 | spion | 2010-01-26 11:02:56 +0100 (Tue, 26 Jan 2010) | 6 lines
Undo revision 53764, since it triggered problems in the Surface_mesher test-suite
(probably a bug there, but it's a bit late to investigate before 3.6-beta) :
Improve locate() reproducibility. (backport of trunk's revision 53763).
........
r53805 | spion | 2010-01-26 17:09:59 +0100 (Tue, 26 Jan 2010) | 9 lines
Backport trunk revisions 53799 and 53804 :
Make locate() deterministic using Boost RNGs.
The previous approach using a local CGAL::Random failed because it still uses a
global state through drand48()...
Replace CGAL::Random by Boost RNG (with geometric distribution)
in the hierarchy as well, to avoid global state sharing issues.
........
r53807 | penarand | 2010-01-26 19:32:31 +0100 (Tue, 26 Jan 2010) | 3 lines
set RS compilation flag in Mac OS when using g++<4.3
........
r53812 | penarand | 2010-01-27 09:32:13 +0100 (Wed, 27 Jan 2010) | 3 lines
removed extra ';' from _test_polynomial_traits_d.h
........
r53818 | lrineau | 2010-01-27 14:43:08 +0100 (Wed, 27 Jan 2010) | 8 lines
Merge from trunk:
| ------------------------------------------------------------------------
| r53811 | afabri | 2010-01-27 09:20:18 +0100 (Wed, 27 Jan 2010) | 1 line
|
| Switch from CGAL::Random to boost::rand48 as T3 did so
| ------------------------------------------------------------------------
........
2010-01-27 13:44:08 +00:00
Eric Berberich
ae85488225
removed old remark (authorized commit by LR)
2010-01-16 16:31:25 +00:00
Luis Peñaranda
4281b587da
Remove a few "warning: extra ';'" with g++ -pedantic
2009-11-26 10:07:09 +00:00
Laurent Rineau
83912b2952
Massive fix of svn:keywords properties, and $URL$ keyword.
2009-10-20 08:59:26 +00:00
Sarah Schäffer
065953e070
fixed faulty include in Polynomial/square_free_factorize
2009-10-13 12:15:10 +00:00
Sylvain Pion
8573fe26ce
Rename CGALi to internal.
2009-08-24 17:10:04 +00:00
Michael Hemmer
babfc092c6
impr performance of resultant
2009-08-23 13:35:23 +00:00
Michael Hemmer
4ec40e2b15
improved version for Functors: Degree, Monomial_representation
2009-08-17 07:30:10 +00:00
Michael Hemmer
fc9fdd585c
add impl of Is_zero, not using default
2009-08-17 07:29:36 +00:00
Michael Hemmer
3923e6a15d
improved lexx compare
2009-08-17 07:28:32 +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 Hemmer
3ce4884475
minor
2009-04-29 13:55:06 +00:00
Michael Kerber
daee6a4622
Updated code and doc
2009-03-27 17:30:16 +00:00
Michael Kerber
b040a513e9
Included Macro to give error message 'at the right position'
2009-03-19 16:17:01 +00:00
Michael Kerber
0275835b15
Updated code wrt to new functionality
2009-03-16 17:51:52 +00:00
Michael Kerber
de64cc45c9
removed ancient comments
2009-03-12 15:29:27 +00:00
Eric Berberich
341721bb2c
make swap inline to avoid link error
2009-02-05 12:51:19 +00:00
Patrick Wenzlaff
17617a3023
added some consts
2009-01-30 14:29:09 +00:00
Patrick Wenzlaff
2b14070c77
restore original test (wrong commit)
2009-01-30 13:40:59 +00:00
Patrick Wenzlaff
33a9184a63
more generic version of the test in package Polynomial
...
TODO: finish test and merge back to package Polynomial
2009-01-30 13:31:53 +00:00
Michael Hemmer
c103879294
missing std::
2009-01-08 14:05:58 +00:00
Michael Hemmer
44c8db4efb
+#include <utility> // for std::make_pair
2009-01-08 12:41:44 +00:00
Michael Hemmer
a377c7ced2
don't inherit Exponent_vector from std::vector<int>
2009-01-04 16:05:03 +00:00
Michael Hemmer
cbe1f11828
Enforce IEEE double precision and to nearest before using modular arithmetic
2008-12-10 10:22:51 +00:00
Michael Hemmer
126edad147
rm include of unused subresultant.h
2008-12-09 13:52:17 +00:00
Michael Hemmer
ae070c2a1b
added missing includes
2008-12-09 13:35:51 +00:00
Michael Hemmer
5c48b93481
don't include unused files related to wang
2008-12-09 13:28:13 +00:00
Michael Hemmer
c354d605ab
replace use of AST_extended by AST as divides is in AST now.
2008-12-09 12:52:52 +00:00
Michael Hemmer
8785ddcecd
move function is_square_free into polynomial_utils.h
2008-12-09 12:47:45 +00:00
Michael Hemmer
e993d96b48
// subsresultants and sturm habicht
...
as they are not part of release 3.4
2008-12-09 11:05:44 +00:00
Michael Hemmer
5c7e230f33
fixed include guards
2008-12-09 10:48:07 +00:00
Andreas Fabri
a9aefab1c1
Added license headers
2008-12-06 21:18:27 +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
d3ea1a92b2
Help VC++ to find a function
2008-11-23 15:44:09 +00:00
Patrick Wenzlaff
d77ac2d143
removed some comments
2008-11-12 17:10:12 +00:00
Patrick Wenzlaff
2fd75a4c0d
some smaler changes
2008-11-12 17:04:25 +00:00
Patrick Wenzlaff
8788105a4e
Added generic Test for concept of Polynomial_traits_d
2008-11-12 10:15:31 +00:00
Michael Hemmer
5de8e376c0
added functor MonomialRepresentation
2008-11-11 14:25:47 +00:00
Patrick Wenzlaff
ee45a9c3e5
added some const to functors
2008-11-11 11:18:40 +00:00
Patrick Wenzlaff
0a86bbf89b
added const to some functor
2008-11-06 13:59:06 +00:00
Michael Hemmer
7be9f6ddfe
added gloabal function translate/scale with Coefficient_type for backward compatibility
2008-10-31 10:46:44 +00:00
Michael Hemmer
f363c34a5a
change arguement type of {translate|scale}{homogeneous} back to Innermost_coefficient_type
2008-10-31 10:31:30 +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
7520be8ebf
added functor PT::Permute
2008-10-30 15:26:43 +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
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
Eric Berberich
ee2bcceeb2
fixed include guards
2008-10-28 09:00:49 +00:00
Michael Hemmer
ef395a4992
mv CGAL/Polynomial/polynomial_utils.h CGAL/polynomial_utils.h
2008-10-28 08:36:59 +00:00
Michael Hemmer
d83a199818
CGALi::canonicalize_polynomial CGAL::canonicalize
...
implementation moved into functor
2008-10-28 08:26:34 +00:00
Michael Hemmer
2b8650c24a
change CGAL::CGALi::div_utcf to CGAL::integral_division_up_to_constant_factor
2008-10-27 15:43:20 +00:00
Andreas Fabri
79dce104b9
Try to disambuguate for VC8 (as suggested by Michael)
2008-10-23 17:50:38 +00:00
Michael Hemmer
2ae6fda863
Enforce IEEE double precision before using modular arithmetic
2008-10-22 08:55:03 +00:00
Eric Berberich
4c8c522f63
added new constructors for Exponent_vectors
2008-10-21 16:21:57 +00:00
Eric Berberich
29da681961
removed "coefficient"
2008-10-21 16:20:05 +00:00
Michael Hemmer
533adda23a
include modular_filter.h since used
2008-10-21 15:57:51 +00:00
Michael Hemmer
d702eef7b6
rm empty may_have_common_factor.h
2008-10-21 15:57:23 +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
Michael Hemmer
04d7225d14
public typedefs only within main base class, should help VC8
2008-10-14 16:20:51 +00:00
Eric Berberich
b1316d0abc
fixed header
2008-10-07 11:04:44 +00:00
Eric Berberich
d9fc6089e8
added coefficient
2008-10-06 18:45:52 +00:00
Eric Berberich
0598d13364
added partial substitutions
2008-10-05 16:04:35 +00:00
Eric Berberich
dec2d127ce
added fiel to collect functions for convenience
2008-10-05 09:15:57 +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
b6aa6d8644
apply modular filter to gcd functors
2008-09-26 14:52:49 +00:00
Michael Kerber
3d3328366e
Added include
2008-09-23 14:27:50 +00:00
Michael Kerber
c035b60be1
Moved to Algebraic_kernel_d package
2008-09-23 14:26:54 +00:00
Michael Hemmer
88a20ebf5f
RET::Sign -> RET::Sgn
2008-09-18 16:18:08 +00:00
Michael Hemmer
c78b05b739
rename Real_embeddable_traits::Sign Sgn
...
added RET::Boolean, RET::Sign, RET::Comparison_result
2008-09-18 15:35:55 +00:00
Michael Hemmer
a97a0b0591
Derive/Derivative -> Differentiate
2008-09-15 09:29:48 +00:00
Andreas Fabri
1cdce34274
specify default template argument only at the declaration
2008-09-11 19:04:52 +00:00
Michael Hemmer
cf7e170ec8
Modular_traits::Modular_image_inv -> Modular_image_representative
2008-09-09 12:54:08 +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
9fcd58c0db
square_free_factrorization -> square_free_factorize
2008-08-08 08:53:16 +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
33b8f3a06a
mv Real_embeddable_base to internal namespace
2008-08-06 07:13:21 +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
03efbda3cd
added resultatn algorithm for integral_domain.
...
Same as for UFD, but using Scalar_factor instead of Content.
2008-08-04 11:56:40 +00:00
Michael Hemmer
671d0af74e
use external Cached_extended_euclidean_algorithm
2008-07-31 14:52:00 +00:00
Michael Hemmer
c73406aa9c
rm flag CGAL_RESULTANT_USE_INTERPOLATE
2008-07-31 14:25:17 +00:00
Michael Hemmer
ff620d3430
reduced interface
2008-07-31 13:01:34 +00:00
Michael Hemmer
370dc20d74
propoer file name
2008-07-31 13:01:03 +00:00
Michael Hemmer
f494549b0c
CGALi::new_resultant -> CGALi::resultant
2008-07-31 09:35:22 +00:00
Michael Hemmer
acb79b6084
new_resultant implementation using interpolation.
2008-07-31 09:10:08 +00:00
Michael Hemmer
f0c21e20e8
Iterators are passed by value
2008-07-30 11:26:30 +00:00
Michael Hemmer
0063104dbd
added default constructor
2008-07-30 11:13:58 +00:00
Michael Hemmer
3905cfa807
mv Interpolator.h CGAL/Polynomial (for release)
2008-07-30 09:42:17 +00:00
Michael Hemmer
e8b3afa14b
disabled Interpolate in Polynomial_traits
...
- Diese und die folgenden Zeilen werden ignoriert --
M test/Polynomial/Polynomial_traits_d.cpp
M include/CGAL/Polynomial_traits_d.h
2008-07-30 09:36:42 +00:00
Michael Hemmer
9767860e06
mv to main include/CGAL
2008-07-30 09:24:28 +00:00
Michael Hemmer
aa5a72f179
rm useless functor Evaluate in PT<Polynomial_0>
2008-07-30 09:23:03 +00:00
Michael Hemmer
734595f223
fixed bug in constructor
2008-07-29 10:14:52 +00:00
Michael Hemmer
8143ec3d0c
cached extended euclidean algorithm
2008-07-29 10:13:22 +00:00
Michael Hemmer
b2b3651325
PolynomialTraits_d refines AlgebraicStructureTraits
2008-07-28 14:35:27 +00:00
Michael Kerber
c4c1076de1
prs-algorithms can also be used for genral Integral_domains (with division)
2008-07-28 10:31:48 +00:00
Michael Hemmer
dbeaa719ac
added constructor (int , int )
2008-07-25 15:48:42 +00:00
Michael Hemmer
1d3c2ce03e
fixed bug in Degree_vector
2008-07-25 15:47:48 +00:00
Michael Kerber
6734f571c8
Prevents compiler warning
2008-07-25 13:34:53 +00:00
Michael Hemmer
fdb3e7c2d1
added Polynomial_type_generator
2008-07-25 09:24:33 +00:00
Michael Hemmer
b2176a7002
fix bug in Shift
2008-07-25 09:23:51 +00:00
Michael Hemmer
72c7defb81
added interoperability with int and Inntermost_coefficient
2008-07-25 07:46:52 +00:00
Michael Hemmer
57af6f31c2
rm result_type from Sqff
2008-07-25 07:32:17 +00:00
Michael Hoffmann
90fa037030
Another two Binary_functions...
2008-07-24 05:50:55 +00:00
Michael Hoffmann
9dbb04cdea
Remove dependency on CGAL/functional -> replace Unary_function
...
and Binary_function by std:: counterparts.
2008-07-23 15:15:46 +00:00
Michael Kerber
f54753100a
Added forward
2008-07-22 13:44:30 +00:00
Michael Hemmer
e6b5312842
changes interface of Square_free_factorization and utcf version such that
...
output iterator uses std::pair, oi is returned.
2008-07-22 13:34:06 +00:00
Sylvain Pion
79864c0c8e
Remove Arity_tag.
2008-07-22 12:29:01 +00:00
Michael Hemmer
b67232dc3d
- Sign_at/Sign_at_homogeneous/Compare are Null_functor if
...
ICoeff is not RealEmbeddable
- simplified layout for tests
2008-07-22 08:25:53 +00:00
Michael Kerber
92a0d3cc1d
Added include
2008-07-22 06:57:30 +00:00
Michael Hemmer
c788e0182f
added Substitute(_homogeneous)
...
rm related operators from Evaluate
2008-07-17 15:52:15 +00:00
Michael Hemmer
1570772295
wrap up
...
added several TODOs
2008-07-16 14:07:28 +00:00
Michael Hemmer
96a229ad3c
added functor Divides, required by IntegralDomain
2008-07-16 09:45:36 +00:00
Ophir Setter
908f229fb9
fix compilation error in expensive assert
2008-07-10 11:02:47 +00:00
Michael Hemmer
83bd92972c
added Substitute + test
2008-07-02 07:56:33 +00:00
Michael Kerber
c86378c04e
a little bit of documentation
2008-07-01 16:04:31 +00:00
Michael Kerber
23562082ec
Moved functions from CGAL to CGAL::CGALi
2008-06-27 13:22:47 +00:00
Michael Kerber
239c86d7ca
Added functor Sturm_habicht_sequence_with_cofactors in Polynomial_traits
2008-06-27 10:17:54 +00:00
Michael Kerber
5af98f25dc
Moved code to compute subresultants and sturm-habicht-sequences into Polynomial-package
2008-06-27 10:03:35 +00:00
Michael Kerber
6794adacb8
New functors for subresultants and sturm-habicht-sequences
2008-06-27 10:02:52 +00:00
Michael Kerber
bbbee0317a
renamed polynomial_subresultants->polynomial_subresultant_matrix (more specific)
2008-06-26 12:37:54 +00:00
Michael Kerber
2a960fd908
Extended Simple_matrix-class (it's still simple though)
2008-06-26 12:35:04 +00:00
Michael Hemmer
8cdd64235c
rm wrong fwd of gcd in namespace CGAL
2008-05-20 07:19:32 +00:00
Michael Hemmer
6fd78e1dcd
rm warning for ;;
2008-05-16 07:47:45 +00:00
Michael Hemmer
56dd45d2b7
avoid casts in evaluate
2008-05-13 13:56:16 +00:00