Class: BOAST::Different

Inherits:
Operator show all
Defined in:
lib/BOAST/Operators.rb

Class Method Summary collapse

Methods inherited from Operator

convert, get_vector_name, inspect

Methods included from PrivateStateAccessor

private_boolean_state_accessor, private_state_accessor

Class Method Details

.basic_usage(arg1, arg2) ⇒ Object



219
220
221
222
# File 'lib/BOAST/Operators.rb', line 219

def Different.basic_usage(arg1, arg2)
  return "#{arg1} /= #{arg2}" if lang == FORTRAN
  return "#{arg1} != #{arg2}"
end

.to_s(arg1, arg2, return_type) ⇒ Object



215
216
217
# File 'lib/BOAST/Operators.rb', line 215

def Different.to_s(arg1, arg2, return_type)
  return basic_usage(arg1, arg2)
end