Macaulay2 » Documentation
Packages » Oscillators :: getAngles
next | previous | forward | backward | up | index | toc

getAngles -- Compute angles from a list of solutions

Description

The function getAngles computes the angles from a list of solutions. Each solution is assumed to be a list of cosine and sine values for the angles. The function returns the angles in radians or degrees based on the Radians option.

i1 : getAngles(2, {{1, 0, 0, 1}, {0, 1, 1, 0}}, Radians => false)

o1 = {{0, 90}, {90, 0}}

o1 : List

See also

Ways to use getAngles:

  • getAngles(ZZ,List)

For the programmer

The object getAngles is a method function with options.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Oscillators/Documentation.m2:501:0.