Re: calling Legendre function

From: Erkcan Ozcan <erkcan.ozcan_at_cern.ch>
Date: Fri, 18 Mar 2011 05:59:02 +0000


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 - 06:59:12 CET

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