The standard trig functions use radians. To convert radians to degrees, divide by PI and multiply by 180. PDL::Constants includes PI and DEGRAD which may be of use. I usually cook the conversions up myself.
--Chris 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