Class: BOAST::Multiplication

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

Class Method Summary collapse

Methods inherited from BasicBinaryOperator

to_s

Methods inherited from Operator

convert, get_vector_name

Class Method Details

.basic_usage(arg1, arg2) ⇒ Object



306
307
308
# File 'lib/BOAST/Operators.rb', line 306

def basic_usage(arg1, arg2)
  return "(#{arg1}) * (#{arg2})" 
end

.intr_name_ARMObject



302
303
304
# File 'lib/BOAST/Operators.rb', line 302

def intr_name_ARM
  return "vmul"
end

.intr_name_X86Object



298
299
300
# File 'lib/BOAST/Operators.rb', line 298

def intr_name_X86
  return "mul"
end

.symbolObject



294
295
296
# File 'lib/BOAST/Operators.rb', line 294

def symbol
  return "*"
end