Method: MDArray.rstring

Defined in:
lib/mdarray/creation.rb

.rstring(shape, storage = nil, layout = :row) ⇒ Object


Builds a string mdarray. Really builds an string array. Only exists to fix the Java-NetCDF issue described above.


Parameters:

  • shape (Array)

    the shape of the mdarray as a ruby array

  • storage (Array) (defaults to: nil)

    a ruby array with the initialization data



236
237
238
# File 'lib/mdarray/creation.rb', line 236

def self.rstring(shape, storage = nil, layout = :row)
  self.build("rstring", shape, storage, layout)
end