Method: Steffi::Vector#initialize
- Defined in:
- lib/steffi/vector.rb
#initialize ⇒ Vector
Returns a new instance of Vector.
28 29 30 31 |
# File 'lib/steffi/vector.rb', line 28 def initialize @ptr = FFI::MemoryPointer.new Vector::Struct Igraph.vector_init ptr, 0 end |