class BOAST::Exponentiation

Public Class Methods

basic_usage(arg1, arg2) click to toggle source
# File lib/BOAST/Language/Operators.rb, line 206
def basic_usage(arg1, arg2)
  return "(#{arg1})**(#{arg2})" if lang == FORTRAN
  return "pow(#{arg1}, #{arg2})"
end
intr_symbol() click to toggle source
# File lib/BOAST/Language/Operators.rb, line 202
def intr_symbol
  return :POW
end
symbol() click to toggle source
# File lib/BOAST/Language/Operators.rb, line 198
def symbol
  return "**"
end