Skip to content
Masahiro TANAKA edited this page Oct 8, 2019 · 6 revisions

ndarray attribute

numpy numo-narray
ndarray.__array_finalize__ no plan (internal)
ndarray.__array_priority__ no plan (internal)
ndarray.__array_wrap__ no plan (internal)

numpy.ndarray attribute

numpy numo-narray
numpy.ndarray.__abs__ Numo::DComplex#abs
numpy.ndarray.__add__ Numo::NArray#+
numpy.ndarray.__and__ Numo::NArray#&
numpy.ndarray.__contains__ nary.eq(item).any?
numpy.ndarray.__div__ Numo::NArray#/
numpy.ndarray.__divmod__ Numo::NArray#divmod
numpy.ndarray.__eq__ Numo::NArray#==
numpy.ndarray.__float__
numpy.ndarray.__floordiv__
numpy.ndarray.__ge__ Numo::NArray#ge
numpy.ndarray.__getitem__ Numo::NArray#[]
numpy.ndarray.__getslice__ Numo::NArray#[]
numpy.ndarray.__gt__ Numo::NArray#gt
numpy.ndarray.__hex__
numpy.ndarray.__iadd__ +=
numpy.ndarray.__iand__ &=
numpy.ndarray.__idiv__ /=
numpy.ndarray.__ifloordiv__
numpy.ndarray.__ilshift__ <<=
numpy.ndarray.__imod__ %=
numpy.ndarray.__imul__ *=
numpy.ndarray.__int__
numpy.ndarray.__invert__ Numo::NArray#~
numpy.ndarray.__ior__ |=
numpy.ndarray.__ipow__ **=
numpy.ndarray.__irshift__ >>=
numpy.ndarray.__isub__ -=
numpy.ndarray.__itruediv__
numpy.ndarray.__ixor__ ^=
numpy.ndarray.__le__ Numo::NArray#le
numpy.ndarray.__len__ Numo::NArray#size, length
numpy.ndarray.__long__
numpy.ndarray.__lshift__ Numo::NArray#<<
numpy.ndarray.__lt__ Numo::NArray#lt
numpy.ndarray.__mod__ Numo::NArray#%
numpy.ndarray.__mul__ Numo::NArray#*
numpy.ndarray.__ne__ !=
numpy.ndarray.__neg__ Numo::NArray#-@
numpy.ndarray.__nonzero__ Numo::Bit#where (flat indexing)
numpy.ndarray.__oct__
numpy.ndarray.__or__ Numo::NArray#|
numpy.ndarray.__pos__ +@
numpy.ndarray.__pow__ Numo::NArray#**
numpy.ndarray.__repr__
numpy.ndarray.__rshift__ Numo::NArray#>>
numpy.ndarray.__setitem__ Numo::NArray#[]=
numpy.ndarray.__setslice__
numpy.ndarray.__str__
numpy.ndarray.__sub__ Numo::NArray#-
numpy.ndarray.__truediv__
numpy.ndarray.__xor__ Numo::NArray#^
numpy.ndarray.base
numpy.ndarray.ctypes
numpy.ndarray.data
numpy.ndarray.dtype Numo::NArray#class
numpy.ndarray.flags
numpy.ndarray.flat (no iterator)
numpy.ndarray.imag Numo::NArray#imag
numpy.ndarray.itemsize Numo::NArray#byte_size
numpy.ndarray.nbytes nary.byte_size * nary.size
numpy.ndarray.ndim Numo::NArray#ndim
numpy.ndarray.real Numo::NArray#real
numpy.ndarray.shape Numo::NArray#shape
numpy.ndarray.size Numo::NArray#size
numpy.ndarray.strides
numpy.ndarray.T Numo::NArray#transpose

numpy.ndarray method

numpy numo-narray
numpy.ndarray.__array__
numpy.ndarray.__array_wrap__
numpy.ndarray.__copy__ Numo::NArray#clone, #dup
numpy.ndarray.__deepcopy__ Marshal.load(Marshal.dump(nary))
numpy.ndarray.__reduce__
numpy.ndarray.__setstate__
numpy.ndarray.all Numo::Bit#all?
numpy.ndarray.any Numo::Bit#any?
numpy.ndarray.argmax Numo::NArray#argmax, Numo::NArray#max_index
numpy.ndarray.argmin Numo::NArray#argmin, Numo::NArray#min_index
numpy.ndarray.argpartition
numpy.ndarray.argsort Numo::NArray#sort_index
numpy.ndarray.astype Numo::NArray#cast_to
numpy.ndarray.byteswap Numo::NArray#swap_byte
numpy.ndarray.choose
numpy.ndarray.clip Numo::NArray#clip
numpy.ndarray.compress
numpy.ndarray.conj Numo::DComplex#conj
numpy.ndarray.conjugate Numo::DFloat#conj
numpy.ndarray.copy Numo::NArray#clone, #dup
numpy.ndarray.cumprod Numo::NArray#cumprod
numpy.ndarray.cumsum Numo::NArray#cumsum
numpy.ndarray.diagonal Numo::NArray#diagonal
numpy.ndarray.dot Numo::NArray#dot
numpy.ndarray.dump Numo::NArray#marshal_dump
numpy.ndarray.dumps Numo::NArray#marshal_dump
numpy.ndarray.fill Numo::NArray#fill
numpy.ndarray.flatten Numo::NArray#flatten
numpy.ndarray.getfield
numpy.ndarray.item Numo::NArray#[]
numpy.ndarray.itemset Numo::NArray#[]=
numpy.ndarray.max Numo::NArray#max
numpy.ndarray.mean Numo::NArray#mean
numpy.ndarray.min Numo::NArray#min
numpy.ndarray.newbyteorder NArray#to_host, #to_swapped, #to_network, #to_vacs
numpy.ndarray.nonzero Numo::Bit#where (flat indexing)
numpy.ndarray.partition
numpy.ndarray.prod Numo::NArray#prod
numpy.ndarray.ptp Numo::NArray#ptp
numpy.ndarray.put nary[ind] = val (flat indexing)
numpy.ndarray.ravel
numpy.ndarray.repeat Numo::NArray#repeat
numpy.ndarray.reshape Numo::NArray#reshape
numpy.ndarray.resize
numpy.ndarray.round Numo::NArray#round
numpy.ndarray.searchsorted
numpy.ndarray.setfield
numpy.ndarray.setflags
numpy.ndarray.sort Numo::NArray#sort
numpy.ndarray.squeeze
numpy.ndarray.std Numo::NArray#stddev
numpy.ndarray.sum Numo::NArray#sum
numpy.ndarray.swapaxes Numo::NArray#swapaxes
numpy.ndarray.take
numpy.ndarray.tobytes Numo::NArray#to_binary
numpy.ndarray.tofile open(file,"w").write(nary.to_binary)
numpy.ndarray.tolist Numo::NArray#to_a
numpy.ndarray.tostring Numo::NArray#to_binary
numpy.ndarray.trace
numpy.ndarray.transpose Numo::NArray#transpose
numpy.ndarray.var Numo::NArray#transpose
numpy.ndarray.view Numo::NArray#view

numpy.ndarray static method

numpy numo-narray
numpy.ndarray.__new__ Numo::NArray.new