Navigation

  • index
  • modules |
  • next |
  • previous |
  • SymPy 1.6.2 documentation »
  • SymPy Modules Reference »
  • Tensor

Tensor¶

A module to manipulate symbolic objects with indices including tensors

Contents¶

  • N-dim array
    • Examples
      • Products and contractions
      • Derivatives by array
    • Classes
      • ImmutableDenseNDimArray
      • ImmutableSparseNDimArray
      • MutableDenseNDimArray
      • MutableSparseNDimArray
    • Functions
      • derive_by_array()
      • permutedims()
      • tensorcontraction()
      • tensorproduct()
  • Indexed Objects
    • Examples
    • Idx
      • Idx.label
      • Idx.lower
      • Idx.upper
    • Indexed
      • Indexed.base
      • Indexed.indices
      • Indexed.ranges
      • Indexed.rank
      • Indexed.shape
    • IndexedBase
      • IndexedBase.label
      • IndexedBase.offset
      • IndexedBase.shape
      • IndexedBase.strides
  • Methods
    • get_contraction_structure()
    • get_indices()
  • Tensor
    • TensorIndexType
    • TensorIndex
    • TensorHead
      • TensorHead.commutes_with()
    • TensExpr
      • TensExpr.get_matrix()
      • TensExpr.replace_with_arrays()
    • TensAdd
      • TensAdd.canon_bp()
      • TensAdd.contract_metric()
    • TensMul
      • TensMul.canon_bp()
      • TensMul.contract_metric()
      • TensMul.get_free_indices()
      • TensMul.get_indices()
      • TensMul.perm2tensor()
      • TensMul.sorted_components()
      • TensMul.split()
    • canon_bp()
    • riemann_cyclic_replace()
    • riemann_cyclic()
    • TensorSymmetry
      • TensorSymmetry.direct_product()
      • TensorSymmetry.fully_symmetric()
      • TensorSymmetry.no_symmetry()
      • TensorSymmetry.riemann()
    • tensorsymmetry()
    • TensorType
    • _TensorManager
      • _TensorManager.clear()
      • _TensorManager.comm_i2symbol()
      • _TensorManager.comm_symbols2i()
      • _TensorManager.get_comm()
      • _TensorManager.set_comm()
      • _TensorManager.set_comms()
  • Tensor Operators
    • PartialDerivative

Logo

Table of Contents

  • Tensor
    • Contents

Previous topic

Stats

Next topic

N-dim array

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • next |
  • previous |
  • SymPy 1.6.2 documentation »
  • SymPy Modules Reference »
  • Tensor
© Copyright 2024 SymPy Development Team. Last updated on Jan 30, 2024. Created using Sphinx 5.3.0.