simple-squiggle

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

arg.js (422B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.argDocs = void 0;
      7 var argDocs = {
      8   name: 'arg',
      9   category: 'Complex',
     10   syntax: ['arg(x)'],
     11   description: 'Compute the argument of a complex value. If x = a+bi, the argument is computed as atan2(b, a).',
     12   examples: ['arg(2 + 2i)', 'atan2(3, 2)', 'arg(2 + 3i)'],
     13   seealso: ['re', 'im', 'conj', 'abs']
     14 };
     15 exports.argDocs = argDocs;