Sha256: 8dcd6fb6f47fdf2d8187bee3504c1742798a1e512f001e344debb532b32197cb

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

require_relative "unary_function"

module Plurimath
  module Math
    module Function
      class Gcd < UnaryFunction
        def validate_function_formula
          false
        end

        def to_omml_without_math_tag
          [r_element("gcd"), omml_value]
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plurimath-0.3.9 lib/plurimath/math/function/gcd.rb
plurimath-0.3.8 lib/plurimath/math/function/gcd.rb