"Fossies" - the Fresh Open Source Software Archive

Member "PDL-2.080/GENERATED/PDL/GSLSF/TRIG.pm" (28 May 2022, 8463 Bytes) of package /linux/misc/PDL-2.080.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "TRIG.pm" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.079_vs_2.080.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


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