Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Algebraic curves with non-integer coefficients

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Algebraic curves with non-integer coefficients


Chronological Thread 
  • From: Eric Berberich <>
  • To:
  • Subject: Re: [cgal-discuss] Algebraic curves with non-integer coefficients
  • Date: Mon, 08 Jun 2015 17:13:47 +0300

real numbers are not possible ...

for rational: convert your input polynomial to an integral one by multiplying with the common denominator of all coefficients ... this keeps the zero-set of the bivariate input polynomial (aka 'the curve') unchanged

On 6/8/15 16:35, Lee Croft wrote:
Hello,

I have a question regarding arrangements with algebraic curves defined by
bi-variate polynomial equations. I have found that it is possible to create
such arrangements using the Arr_algebraic_segment_traits_2 class, however
the class is templated to take a coefficient and according to the
documentation, it can only take one of three types, leda::integer,
CORE::BigInt, or an instance of CGAL::Sqrt_extension instantiated with an
integral type. The application that I am making involves the use of
polynomials which are not guaranteed to have integer coefficients. Is there
any way to allow for rational or real numbers to be used instead or is there
another traits class that I could use instead to achieve this?

Thank you,
Lee



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Algebraic-curves-with-non-integer-coefficients-tp4660902.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page