mathConstantInputs top-level constant

List<MathInputTemplate> const mathConstantInputs

Implementation

const mathConstantInputs = <MathInputTemplate>[
  MathInputTemplate('pi', r'\pi', r'\pi'),
  MathInputTemplate('e', 'e', 'e'),
  MathInputTemplate('ln2', r'\ln2', r'\ln\left(2\right)'),
  MathInputTemplate('ln10', r'\ln10', r'\ln\left(10\right)'),
  MathInputTemplate('log2e', r'\log_2e', r'\log_{2}\left(e\right)'),
  MathInputTemplate('log10e', r'\log_{10}e', r'\log_{10}\left(e\right)'),
  MathInputTemplate('sqrt2', r'\sqrt{2}', r'\sqrt{2}'),
  MathInputTemplate('sqrt1_2', r'\frac{1}{\sqrt{2}}', r'\frac{1}{\sqrt{2}}'),
];