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



317
318
319
# File 'lib/BOAST/Operators.rb', line 317

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

.intr_name_ARMObject



313
314
315
# File 'lib/BOAST/Operators.rb', line 313

def intr_name_ARM
  return "vmul"
end

.intr_name_X86Object



309
310
311
# File 'lib/BOAST/Operators.rb', line 309

def intr_name_X86
  return "mul"
end

.symbolObject



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

def symbol
  return "*"
end