Class: CArray::Fusion::Op

Inherits:
Struct
  • Object
show all
Defined in:
lib/carray/fusion.rb

Overview

One value per node, in evaluation order; the last is the result.

Op    an operation, reading the nodes named in `args`
Leaf  an array, the `index`-th of plan.leaves
Const a scalar written into the expression

Instance Attribute Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



23
24
25
# File 'lib/carray/fusion.rb', line 23

def args
  @args
end

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



23
24
25
# File 'lib/carray/fusion.rb', line 23

def body
  @body
end

#data_typeObject

Returns the value of attribute data_type

Returns:

  • (Object)

    the current value of data_type



23
24
25
# File 'lib/carray/fusion.rb', line 23

def data_type
  @data_type
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



23
24
25
# File 'lib/carray/fusion.rb', line 23

def kind
  @kind
end

#maskObject

Returns the value of attribute mask

Returns:

  • (Object)

    the current value of mask



23
24
25
# File 'lib/carray/fusion.rb', line 23

def mask
  @mask
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



23
24
25
# File 'lib/carray/fusion.rb', line 23

def name
  @name
end

#trappingObject

Returns the value of attribute trapping

Returns:

  • (Object)

    the current value of trapping



23
24
25
# File 'lib/carray/fusion.rb', line 23

def trapping
  @trapping
end