-
Notifications
You must be signed in to change notification settings - Fork 43
Numo vs numpy
Kozo Nishida edited this page Jun 4, 2016
·
20 revisions
numo-narray (DataType = DFloat, Int64 etc.) | numpy |
---|---|
Numo::DataType[start..end] / #seq, #indgen | numpy.arange |
Numo::DataType#reshape | numpy.reshape |
Numo::DataType.zeros | numpy.zeros |
Numo::DataType[start..end] / #seq, #indgen | numpy.linspace |
Numo::DataType#shape | numpy.ndarray.shape |
Numo::DataType#ndim | numpy.ndarray.ndim |
not yet | numpy.meshgrid |
Numo::DataType#size | numpy.ndarray.size |
Numo::DataType.ones | numpy.ones |
Numo::DataType.new | numpy.empty |
Numo::DataType#rand | numpy.random |
Numo::DataType#dot | numpy.dot |
Numo::DataType#sum | numpy.sum(axis=0) |
Numo::DataType#min | numpy.min(axis=1) |
not yet | numpy.cumsum(axis=1) |
Numo::NMath.exp | numpy.exp |
Numo::NMath.sqrt | numpy.sqrt |
not yet | numpy.fromfunction |
not yet | numpy.hsplit |
Numo::DataType#copy | numpy.copy |
numpy.corrcoef | |
numpy.cov | |
numpy.nonzero |