simple-squiggle

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

arg.js (296B)


      1 export var argDocs = {
      2   name: 'arg',
      3   category: 'Complex',
      4   syntax: ['arg(x)'],
      5   description: 'Compute the argument of a complex value. If x = a+bi, the argument is computed as atan2(b, a).',
      6   examples: ['arg(2 + 2i)', 'atan2(3, 2)', 'arg(2 + 3i)'],
      7   seealso: ['re', 'im', 'conj', 'abs']
      8 };