Module: CArray::DataTypeNewConstructor

Included in:
Boolean, Complex128, Complex64, Fixlen, Float32, Float64, Int16, Int32, Int64, Int8, Object, UInt16, UInt32, UInt64, UInt8
Defined in:
lib/carray/construct.rb,
lib/carray/construct.rb

Instance Method Summary collapse

Instance Method Details

#new(*shape) ⇒ Object



365
366
367
# File 'lib/carray/construct.rb', line 365

def new (*shape)
  CArray.new(self::DataType, shape)
end