Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
qutip / core / data / base.pxd
Size: Mime:
#cython: language_level=3

cdef extern from "src/intdtype.h":
    # cython is smart enough to understand this int can be 32 or 64 bits.
    ctypedef int idxint
    cdef int _idxint_size

cdef int idxint_DTYPE

cdef class Data:
    cdef readonly (idxint, idxint) shape
    cpdef object to_array(self)
    cpdef double complex trace(self)
    cpdef Data adjoint(self)
    cpdef Data conj(self)
    cpdef Data transpose(self)
    cpdef Data copy(self)