Class: Plurimath::Html::Constants

Inherits:
Object
  • Object
show all
Defined in:
lib/plurimath/html/constants.rb

Constant Summary collapse

PARENTHESIS =
{
  "(": :")",
  "{": :"}",
  "[": :"]",
}.freeze
UNARY_CLASSES =
%w[
  arcsin
  arccos
  arctan
  coth
  tanh
  sech
  csch
  sqrt
  ceil
  sinh
  cosh
  sin
  cos
  gcd
  csc
  abs
  vec
  exp
  sec
  tan
  cot
  lcm
  det
  ln
  lg
].freeze
SUB_SUP_CLASSES =
{
  "∏": :prod,
  "∑": :sum,
  log: :log,
  lim: :lim,
  "": :prod,
  "": :sum,
}.freeze