Sha256: 09971cfa0ed235dc6ddf8a8b085aba7fb9e584d1e7bfffbf1fc9d924a53dd8cb
Contents?: true
Size: 879 Bytes
Versions: 15
Compression:
Stored size: 879 Bytes
Contents
# frozen_string_literal: true require_relative "ternary_function" module Plurimath module Math module Function class Limits < TernaryFunction def to_mathml_without_math_tag underover = Utility.ox_element("munderover") value_array = [] value_array << parameter_one&.to_mathml_without_math_tag value_array << parameter_two&.to_mathml_without_math_tag value_array << parameter_three&.to_mathml_without_math_tag Utility.update_nodes(underover, value_array) end def to_latex first_value = parameter_one&.to_latex second_value = "{#{parameter_two.to_latex}}" if parameter_two third_value = "{#{parameter_three.to_latex}}" if parameter_three "#{first_value}\\#{class_name}_#{second_value}^#{third_value}" end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems