Re: [LON-CAPA-users] Hyperbolic Trig Function Problem

2020-01-29 Thread Harding, Gene L
7:39 PM To: Discussion list for LON-CAPA users Subject: Re: [LON-CAPA-users] Hyperbolic Trig Function Problem Have you considered tried calling on tanh(x) in Maxima using &cas('maxima', ) instead of using &tanh(x)? Justin -- Justin Gray Senior Lecturer | Department of

Re: [LON-CAPA-users] Hyperbolic Trig Function Problem

2020-01-29 Thread Raeburn, Stuart
Gene, In a LON-CAPA script block a call to &tanh() will use the tanh() function provided by Math::Cephes, which only supports real numbers. The Math::Cephes::Complex package, which does support complex numbers, has a ctanh() function, but Math::Cephes::Complex is not currently available within

Re: [LON-CAPA-users] Hyperbolic Trig Function Problem

2020-01-29 Thread Justin Gray
Have you considered tried calling on tanh(x) in Maxima using &cas('maxima', ) instead of using &tanh(x)? Justin -- *Justin Gray* Senior Lecturer | Department of Mathematics Simon Fraser University | SCK 10531 University Dr., Burnaby, B.C. V5A 1S6 T: 778.782.4237 Simon Fraser University is