Class: UnaryOperator

Inherits:
Operator show all
Defined in:
lib/mdarray/operators.rb

Direct Known Subclasses

FastUnaryOperator, RubyUnaryOperator

Instance Attribute Summary

Attributes inherited from Operator

#arity, #exec_type, #fmap, #force_type, #helper, #name, #other_args, #post_condition, #pre_condition, #type

Instance Method Summary collapse

Methods inherited from Operator

#exec

Constructor Details

#initialize(name, exec_type, force_type = nil, pre_condition = nil, post_condition = nil) ⇒ UnaryOperator





265
266
267
268
# File 'lib/mdarray/operators.rb', line 265

def initialize(name, exec_type, force_type = nil, pre_condition = nil, 
               post_condition = nil)
  super(name, 1, exec_type, force_type, pre_condition, post_condition)
end