Method: NVector.cindgen

Defined in:
lib/nmatrix/shortcuts.rb

.cindgen(n) ⇒ Object

call-seq:

cindgen(n) -> NVector

Returns a complex NVector. Equivalent to seq(n, :complex64).

  • Arguments :

    • n -> Size of the sequence.

  • Returns :

    • NVector filled with n integers of dtype :complex64.



1060
1061
1062
# File 'lib/nmatrix/shortcuts.rb', line 1060

def cindgen(n)
  NVector.seq(n, :complex64)
end