Module: R::ExpBinOp
Instance Method Summary collapse
-
#coerce(numeric) ⇒ Object
————————————————————————————–.
-
#exec_bin_oper(operator, other_object) ⇒ Object
————————————————————————————–.
Instance Method Details
#coerce(numeric) ⇒ Object
45 46 47 |
# File 'lib/R_interface/ruby_extensions.rb', line 45 def coerce(numeric) [R::RubyExpression.build_bin_exp(numeric), self] end |
#exec_bin_oper(operator, other_object) ⇒ Object
36 37 38 39 |
# File 'lib/R_interface/ruby_extensions.rb', line 36 def exec_bin_oper(operator, other_object) R::Support.exec_function(R::Support.create_bin_expr(operator), self, other_object) end |