simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

atan2.js (327B)


      1 export var atan2Docs = {
      2   name: 'atan2',
      3   category: 'Trigonometry',
      4   syntax: ['atan2(y, x)'],
      5   description: 'Computes the principal value of the arc tangent of y/x in radians.',
      6   examples: ['atan2(2, 2) / pi', 'angle = 60 deg in rad', 'x = cos(angle)', 'y = sin(angle)', 'atan2(y, x)'],
      7   seealso: ['sin', 'cos', 'tan']
      8 };