Re: calling Legendre function

From: <nguler_at_jlab.org>
Date: Fri, 18 Mar 2011 16:20:41 -0400


Thanks,
I got it working under CINT. Compilation with ACLiC fails though. I am good for now until I decide to extend the code and need to start using compiled version. But then I will have options like boost etc.. Thanks for pointing out the obvious, which reminded me that I had to load the libraries..
Best regards, - Nevzat

> Hi Nevzat,
>
> I know I am writing the obvious, but have you tried the following?
>
> gSystem->Load("libMathMore")
> ROOT::Math::legendre( ... )
>
> I think for this to work, you must have compiled ROOT with mathmore enabled.
>
> Cheers,
> e.
>
> On 18 Mar 2011, at 00:17, <nguler_at_jlab.org>
> <nguler_at_jlab.org> wrote:
>
>> Dear root users,
>> I could not figure out how to call Legendre functions in a code, without
>> using
>> TF1 object. I don't want to plot it or use it in a fit, I just want to use
>> it
>> in a calculation such that:
>>
>> S(x) = A1*Legendre(1,x) + A2*Legendre(2,x) + ...
>>
>> I appreciate your guidance.
>> Thank you,
>>
>> - Nevzat Guler
>> (757) 553-8318
>>
>
> --
>
> In case they are not written explicitly, please be aware that my greetings and
> farewell are inherently implied in this email.
>
> V. Erkcan Özcan, PhD
> Assistant Professor
> Bogazici University
> Department of Physics
>
>
>
>

Received on Fri Mar 18 2011 - 21:20:55 CET

This archive was generated by hypermail 2.2.0 : Fri Mar 18 2011 - 23:50:01 CET