def to_type(dest)
      if dimension == 0 and variables.empty?
        target = typecode.to_type dest
        target.new(simplify.get).simplify
      else
        key = "to_#{dest.to_s.downcase}"
        Hornetseye::ElementWise( proc { |x| x.to_type dest }, key,
                                 proc { |t| t.to_type dest } ).new(self).force
      end
    end
def to_type(dest)
      if dimension == 0 and variables.empty?
        target = typecode.to_type dest
        target.new(simplify.get).simplify
      else
        key = "to_#{dest.to_s.downcase}"
        Hornetseye::ElementWise( proc { |x| x.to_type dest }, key,
                                 proc { |t| t.to_type dest } ).new(self).force
      end
    end
Convert array elements to different element type

 @param [Class] dest Element type to convert to.

 @return [Node] Array based on the different element type.