m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.7 KiB

6 months ago
  1. """ A module which handles Matrix Expressions """
  2. from .slice import MatrixSlice
  3. from .blockmatrix import BlockMatrix, BlockDiagMatrix, block_collapse, blockcut
  4. from .companion import CompanionMatrix
  5. from .funcmatrix import FunctionMatrix
  6. from .inverse import Inverse
  7. from .matadd import MatAdd
  8. from .matexpr import MatrixExpr, MatrixSymbol, matrix_symbols
  9. from .matmul import MatMul
  10. from .matpow import MatPow
  11. from .trace import Trace, trace
  12. from .determinant import Determinant, det, Permanent, per
  13. from .transpose import Transpose
  14. from .adjoint import Adjoint
  15. from .hadamard import hadamard_product, HadamardProduct, hadamard_power, HadamardPower
  16. from .diagonal import DiagonalMatrix, DiagonalOf, DiagMatrix, diagonalize_vector
  17. from .dotproduct import DotProduct
  18. from .kronecker import kronecker_product, KroneckerProduct, combine_kronecker
  19. from .permutation import PermutationMatrix, MatrixPermute
  20. from .sets import MatrixSet
  21. from .special import ZeroMatrix, Identity, OneMatrix
  22. __all__ = [
  23. 'MatrixSlice',
  24. 'BlockMatrix', 'BlockDiagMatrix', 'block_collapse', 'blockcut',
  25. 'FunctionMatrix',
  26. 'CompanionMatrix',
  27. 'Inverse',
  28. 'MatAdd',
  29. 'Identity', 'MatrixExpr', 'MatrixSymbol', 'ZeroMatrix', 'OneMatrix',
  30. 'matrix_symbols', 'MatrixSet',
  31. 'MatMul',
  32. 'MatPow',
  33. 'Trace', 'trace',
  34. 'Determinant', 'det',
  35. 'Transpose',
  36. 'Adjoint',
  37. 'hadamard_product', 'HadamardProduct', 'hadamard_power', 'HadamardPower',
  38. 'DiagonalMatrix', 'DiagonalOf', 'DiagMatrix', 'diagonalize_vector',
  39. 'DotProduct',
  40. 'kronecker_product', 'KroneckerProduct', 'combine_kronecker',
  41. 'PermutationMatrix', 'MatrixPermute',
  42. 'Permanent', 'per'
  43. ]