Scroll to navigation

TRIG(3pm) User Contributed Perl Documentation TRIG(3pm)

NAME

PDL::GSLSF::TRIG - PDL interface to GSL Special Functions

DESCRIPTION

This is an interface to the Special Function package present in the GNU Scientific Library.

FUNCTIONS

gsl_sf_sin

  Signature: (double x(); double [o]y(); double [o]e())

Sin(x) with GSL semantics.

gsl_sf_sin does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_cos

  Signature: (double x(); double [o]y(); double [o]e())

Cos(x) with GSL semantics.

gsl_sf_cos does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_hypot

  Signature: (double x(); double xx(); double [o]y(); double [o]e())

Hypot(x,xx) with GSL semantics.

gsl_sf_hypot does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_complex_sin

  Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())

Sin(z) for complex z

gsl_sf_complex_sin does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_complex_cos

  Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())

Cos(z) for complex z

gsl_sf_complex_cos does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_complex_logsin

  Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())

Log(Sin(z)) for complex z

gsl_sf_complex_logsin does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_lnsinh

  Signature: (double x(); double [o]y(); double [o]e())

Log(Sinh(x)) with GSL semantics.

gsl_sf_lnsinh does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_lncosh

  Signature: (double x(); double [o]y(); double [o]e())

Log(Cos(x)) with GSL semantics.

gsl_sf_lncosh does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_polar_to_rect

  Signature: (double r(); double t(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())

Convert polar to rectlinear coordinates.

gsl_sf_polar_to_rect does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_rect_to_polar

  Signature: (double x(); double y(); double [o]r(); double [o]t(); double [o]re(); double [o]te())

Convert rectlinear to polar coordinates. return argument in range [-pi, pi].

gsl_sf_rect_to_polar does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_angle_restrict_symm

  Signature: (double [o]y())

Force an angle to lie in the range (-pi,pi].

gsl_sf_angle_restrict_symm does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_angle_restrict_pos

  Signature: (double [o]y())

Force an angle to lie in the range [0,2 pi).

gsl_sf_angle_restrict_pos does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_sin_err

  Signature: (double x(); double dx(); double [o]y(); double [o]e())

Sin(x) for quantity with an associated error.

gsl_sf_sin_err does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

gsl_sf_cos_err

  Signature: (double x(); double dx(); double [o]y(); double [o]e())

Cos(x) for quantity with an associated error.

gsl_sf_cos_err does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

AUTHOR

This file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it> All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file.

The GSL SF modules were written by G. Jungman.

2023-06-17 perl v5.36.0