commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Gr├╝newaldt <bernh...@gruenewaldt.net>
Subject Re: [math] suggesting rational function and trigonometric functions classes
Date Thu, 19 Mar 2009 00:49:20 GMT
Hi Ted,

As you suggested I opened a ticket for this issue:

https://issues.apache.org/jira/browse/MATH-250

:)

- Bernhard

Ted Dunning schrieb:
> Reasoning purely by symmetry, doesn't it seem that where you are headed here
> is toward an extended rational polynomial class that handles rational
> polynomials of a base variable and simple functions of a base variable (such
> as trig functions, log and exp)?
> 
> If so, then having some kind of unified class would probably be a good
> thing.  You could pretty easily support the same functions as the current
> Polynomial class (derivative, multiply, add, negate and so on).  The
> question of log(-1) and sqrt(-1) is likely to come up, but if you add a
> convention for complaining about these, then you should be good to go.
> 
> The next step is to file a JIRA where discussions like this can have a home.
> 
> On Tue, Mar 17, 2009 at 9:01 AM, Bernhard Gr├╝newaldt <
> bernhard@gruenewaldt.net> wrote:
> 
>> Hi,
>>
>> I used already the classes of the analysis package:
>> http://commons.apache.org/math/userguide/analysis.html
>>
>> There is already a fine class for Polynomial Functions which can calculate
>> the derivation:
>>
>> PolynomialFunction.derivative()
>>
>>
>> I would like to suggest a class called "RationalFunction" which can do
>> almost the same but for (you guessed it) Rational Functions.
>>
>> Suggested methods are: derivative() , add(RationalFunction r), a.s.o.
>>
>> http://en.wikipedia.org/wiki/Rational_function
>>
>> If this is something which you would like to have I will start coding it
>> to provide a patch.
>>
>> The next thing is "Trigonometric Functions" and their derivatives:
>>
>>
>> http://en.wikipedia.org/wiki/Trigonometric_function_derivations#Derivatives_of_trigonometric_functions
>>
>> It would also be nice to have classes for that type of function.
>>
>>
>> - Bernhard
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message