Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(0)  |  Derive(4)  |  Import(6)

src/s/y/sympy-HEAD/sympy/matrices/dense.py   sympy(Download)
from sympy.utilities.decorator import doctest_depends_on
 
from sympy.matrices.matrices import (MatrixBase,
    ShapeError, a2idx, classof)
 
class DenseMatrix(MatrixBase):
 
    is_MatrixExpr = False
 
    _op_priority = 10.01
class MutableDenseMatrix(DenseMatrix, MatrixBase):
    @classmethod
    def _new(cls, *args, **kwargs):
        rows, cols, flat_list = cls._handle_creation_inputs(*args, **kwargs)
        self = object.__new__(cls)

src/s/y/sympy-0.7.5/sympy/matrices/dense.py   sympy(Download)
from sympy.utilities.decorator import doctest_depends_on
 
from sympy.matrices.matrices import (MatrixBase,
    ShapeError, a2idx, classof)
 
class DenseMatrix(MatrixBase):
 
    is_MatrixExpr = False
 
    _op_priority = 10.01
class MutableDenseMatrix(DenseMatrix, MatrixBase):
    @classmethod
    def _new(cls, *args, **kwargs):
        rows, cols, flat_list = cls._handle_creation_inputs(*args, **kwargs)
        self = object.__new__(cls)

src/s/y/sympy-HEAD/sympy/physics/quantum/gate.py   sympy(Download)
from sympy.physics.quantum.dagger import Dagger
 
from sympy.matrices.matrices import MatrixBase
 
__all__ = [

src/s/y/sympy-HEAD/sympy/matrices/immutable.py   sympy(Download)
from sympy.core.sympify import converter as sympify_converter
 
from sympy.matrices.matrices import MatrixBase
from sympy.matrices.dense import DenseMatrix
from sympy.matrices.sparse import SparseMatrix, MutableSparseMatrix

src/s/y/sympy-HEAD/sympy/interactive/printing.py   sympy(Download)
    if IPython.__version__ >= '0.11':
        from sympy.core.basic import Basic
        from sympy.matrices.matrices import MatrixBase
        printable_types = [Basic, MatrixBase,  float, tuple, list, set,
                frozenset, dict] + list(integer_types)

src/s/y/sympy-0.7.5/sympy/matrices/immutable.py   sympy(Download)
from sympy.core.sympify import converter as sympify_converter
 
from sympy.matrices.matrices import MatrixBase
from sympy.matrices.dense import DenseMatrix
from sympy.matrices.sparse import SparseMatrix, MutableSparseMatrix