I don't think that repo up to date. The current PDL CPAN devel release has
this to say:
pdldoc Constants
NAME
PDL::Constants -- basic compile time constants for PDL
DESCRIPTION
This module is used to define compile time constant values for PDL. It
uses the constant module for simplicity and availability. We'll need to
sort out exactly which constants make sense but PI and E seem to be
fundamental.
SYNOPSIS
use PDL::Constants qw(PI E);
print 'PI is ' . PI . \n;
print 'E is ' . E . \n;
PI
The ratio of a circle's circumference to its diameter
DEGRAD
The The number of degrees of arc per radian (180/PI)
E
The base of the natural logarithms or Euler's number
I
The imaginary unit, I*I == -1
J
The imaginary unit for engineers, J*J == -1
COPYRIGHT LICENSE
Copyright 2010 Chris Marshall (chm at cpan dot org).
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
On Sat, Dec 20, 2014 at 5:26 PM, mraptor mrap...@gmail.com wrote:
Which one PDL use for trig functions : radians or degrees
And is there functions for conversion ?
The docs is very terse on this ...
There is some constant mentioned in PDL::Constants DEGRAD, but I dont
see it in the source.
https://github.com/dkogan/PDL/blob/master/Basic/Constants.pm
thanks
---| http://ifni.co
___
Perldl mailing list
Perldl@jach.hawaii.edu
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
___
Perldl mailing list
Perldl@jach.hawaii.edu
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl