Module: Eigen::VectorConstructor

Included in:
VectorComplex, VectorDouble
Defined in:
lib/eigen.rb

Instance Method Summary collapse

Instance Method Details

#[](*args) ⇒ Object



160
161
162
163
164
# File 'lib/eigen.rb', line 160

def [](*args)
  ret = new(args.size)
  ret.__set_segment__(0, args.size, args)
  ret
end