class Yadriggy::C::CType::FloatCArray

Array of floating point numbers available only in C.

@see FloatArray

Public Instance Methods

[](*indexes) click to toggle source
# File lib/yadriggy/c/ctype.rb, line 103
def [](*indexes)
  typedecl foreign: Float
  check_range(indexes)
  raise 'FloatCArray is not available in Ruby' unless @debug
end
[]=(*indexes) click to toggle source
# File lib/yadriggy/c/ctype.rb, line 109
def []=(*indexes)
  typedecl foreign: Void
  check_range(indexes[0, indexes.size - 1])
  raise 'FloatCArray is not available in Ruby' unless @debug
end
type() click to toggle source
# File lib/yadriggy/c/ctype.rb, line 99
def type()
  RubyClass::Float
end