Class: Liblinear::Array

Inherits:
Object
  • Object
show all
Defined in:
lib/liblinear/array.rb

Direct Known Subclasses

Double, Integer

Defined Under Namespace

Classes: Double, Integer

Instance Method Summary collapse

Instance Method Details

#decodeObject


7
8
9
# File 'lib/liblinear/array.rb', line 7

def decode
  self.class.decode(@array, @size)
end

#deleteObject


11
12
13
# File 'lib/liblinear/array.rb', line 11

def delete
  self.class.delete(@array)
end

#swigObject


3
4
5
# File 'lib/liblinear/array.rb', line 3

def swig
  @array
end