/usr/lib/perl5/PDL/GSLSF/TRIG.pm is in pdl 1:2.007-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 | #
# GENERATED WITH PDL::PP! Don't modify!
#
package PDL::GSLSF::TRIG;
@EXPORT_OK = qw( PDL::PP gsl_sf_sin PDL::PP gsl_sf_cos PDL::PP gsl_sf_hypot PDL::PP gsl_sf_complex_sin PDL::PP gsl_sf_complex_cos PDL::PP gsl_sf_complex_logsin PDL::PP gsl_sf_lnsinh PDL::PP gsl_sf_lncosh PDL::PP gsl_sf_polar_to_rect PDL::PP gsl_sf_rect_to_polar PDL::PP gsl_sf_angle_restrict_symm PDL::PP gsl_sf_angle_restrict_pos PDL::PP gsl_sf_sin_err PDL::PP gsl_sf_cos_err );
%EXPORT_TAGS = (Func=>[@EXPORT_OK]);
use PDL::Core;
use PDL::Exporter;
use DynaLoader;
@ISA = ( 'PDL::Exporter','DynaLoader' );
push @PDL::Core::PP, __PACKAGE__;
bootstrap PDL::GSLSF::TRIG ;
=head1 NAME
PDL::GSLSF::TRIG - PDL interface to GSL Special Functions
=head1 DESCRIPTION
This is an interface to the Special Function package present in the GNU Scientific Library.
=head1 SYNOPSIS
=cut
=head1 FUNCTIONS
=cut
=head2 gsl_sf_sin
=for sig
Signature: (double x(); double [o]y(); double [o]e())
=for ref
Sin(x) with GSL semantics.
=for bad
gsl_sf_sin does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_sin = \&PDL::gsl_sf_sin;
=head2 gsl_sf_cos
=for sig
Signature: (double x(); double [o]y(); double [o]e())
=for ref
Cos(x) with GSL semantics.
=for bad
gsl_sf_cos does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_cos = \&PDL::gsl_sf_cos;
=head2 gsl_sf_hypot
=for sig
Signature: (double x(); double xx(); double [o]y(); double [o]e())
=for ref
Hypot(x,xx) with GSL semantics.
=for bad
gsl_sf_hypot does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_hypot = \&PDL::gsl_sf_hypot;
=head2 gsl_sf_complex_sin
=for sig
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
=for ref
Sin(z) for complex z
=for bad
gsl_sf_complex_sin does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_complex_sin = \&PDL::gsl_sf_complex_sin;
=head2 gsl_sf_complex_cos
=for sig
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
=for ref
Cos(z) for complex z
=for bad
gsl_sf_complex_cos does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_complex_cos = \&PDL::gsl_sf_complex_cos;
=head2 gsl_sf_complex_logsin
=for sig
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
=for ref
Log(Sin(z)) for complex z
=for bad
gsl_sf_complex_logsin does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_complex_logsin = \&PDL::gsl_sf_complex_logsin;
=head2 gsl_sf_lnsinh
=for sig
Signature: (double x(); double [o]y(); double [o]e())
=for ref
Log(Sinh(x)) with GSL semantics.
=for bad
gsl_sf_lnsinh does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_lnsinh = \&PDL::gsl_sf_lnsinh;
=head2 gsl_sf_lncosh
=for sig
Signature: (double x(); double [o]y(); double [o]e())
=for ref
Log(Cos(x)) with GSL semantics.
=for bad
gsl_sf_lncosh does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_lncosh = \&PDL::gsl_sf_lncosh;
=head2 gsl_sf_polar_to_rect
=for sig
Signature: (double r(); double t(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
=for ref
Convert polar to rectlinear coordinates.
=for bad
gsl_sf_polar_to_rect does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_polar_to_rect = \&PDL::gsl_sf_polar_to_rect;
=head2 gsl_sf_rect_to_polar
=for sig
Signature: (double x(); double y(); double [o]r(); double [o]t(); double [o]re(); double [o]te())
=for ref
Convert rectlinear to polar coordinates. return argument in range [-pi, pi].
=for bad
gsl_sf_rect_to_polar does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_rect_to_polar = \&PDL::gsl_sf_rect_to_polar;
=head2 gsl_sf_angle_restrict_symm
=for sig
Signature: (double [o]y())
=for ref
Force an angle to lie in the range (-pi,pi].
=for bad
gsl_sf_angle_restrict_symm does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_angle_restrict_symm = \&PDL::gsl_sf_angle_restrict_symm;
=head2 gsl_sf_angle_restrict_pos
=for sig
Signature: (double [o]y())
=for ref
Force an angle to lie in the range [0,2 pi).
=for bad
gsl_sf_angle_restrict_pos does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_angle_restrict_pos = \&PDL::gsl_sf_angle_restrict_pos;
=head2 gsl_sf_sin_err
=for sig
Signature: (double x(); double dx(); double [o]y(); double [o]e())
=for ref
Sin(x) for quantity with an associated error.
=for bad
gsl_sf_sin_err does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_sin_err = \&PDL::gsl_sf_sin_err;
=head2 gsl_sf_cos_err
=for sig
Signature: (double x(); double dx(); double [o]y(); double [o]e())
=for ref
Cos(x) for quantity with an associated error.
=for bad
gsl_sf_cos_err does not process bad values.
It will set the bad-value flag of all output piddles if the flag is set for any of the input piddles.
=cut
*gsl_sf_cos_err = \&PDL::gsl_sf_cos_err;
;
=head1 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.
=cut
# Exit with OK status
1;
|