# Re: NURBS evaluation toolkit in Ruby

**URL:** <https://www.ruby-forum.com/t/re-nurbs-evaluation-toolkit-in-ruby/97177>\
**Category:** Ruby\
**Created:** [January 25, 2006, 12:45pm UTC](https://www.ruby-forum.com/t/re-nurbs-evaluation-toolkit-in-ruby/97177 "2006-01-25T12:45:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [January 25, 2006, 12:45pm UTC](https://www.ruby-forum.com/t/re-nurbs-evaluation-toolkit-in-ruby/97177/1 "2006-01-25T12:45:43Z")

</div>

Hello,

splines being polynomials  
(use a transform for trigonometric splines to achieve that),  
you could have a look at

\_[http://www.math.kobe-u.ac.jp/~kodama/tips-RubyPoly.html\_](http://www.math.kobe-u.ac.jp/~kodama/tips-RubyPoly.html_)  
([Polynomial class for Ruby](http://www.math.kobe-u.ac.jp/~kodama/tips-RubyPoly.html))

You can deal with polynomials in several variables (class  
PolynomialM) having rational coefficients or  
meromorphic functions (quotients of two polynomials, even  
in many variables), although the cancellation  
of common factors sometimes needs some additional work.  
There is a method substitute for evaluating these at different  
values for the individual variables.

Best regards,

Axel
