sympy の API リファレンス
sympy (sympy/sympy) の公開 API 400 件 —— クラス 219、関数 66、メソッド 115。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: sympy/sympy
| 種別 | 件数 |
|---|---|
| クラス | 219 |
| 関数 | 66 |
| メソッド | 115 |
API 一覧
func
bin.get_sympy.path_hack()Hack sys.path to import correct (local) sympy.
func
release.github_release.query_GitHub(url, username=None, password=None, token=None, data=None, OTP=None, headers=None, params=None, files=None)Query GitHub API.
func
release.github_release.release_files(version)Returns the list of local release files
func
release.github_release.table(version)Make an html table of the downloads.
func
release.update_docs.run(*cmdline, **kwargs)Run subprocess with cwd in sympy_doc
class
sympy.algebras.quaternion.QuaternionProvides basic quaternion operations.
method
sympy.algebras.quaternion.Quaternion.add(other:SExpr | Quaternion) -> QuaternionAdds quaternions.
method
sympy.algebras.quaternion.Quaternion.axis() -> QuaternionReturns $\mathbf{Ax}(q)$, the axis of the quaternion $q$.
method
sympy.algebras.quaternion.Quaternion.exp() -> QuaternionReturns the exponential of $q$, given by $e^q$.
method
sympy.algebras.quaternion.Quaternion.from_Matrix(elements:Matrix | Sequence[SExpr]) -> QuaternionReturns quaternion from elements of a column vector`.
method
sympy.algebras.quaternion.Quaternion.index_vector() -> QuaternionReturns the index vector of the quaternion.
method
sympy.algebras.quaternion.Quaternion.integrate(*symbols:SymbolLimits) -> QuaternionComputes integration of quaternion.
method
sympy.algebras.quaternion.Quaternion.inverse() -> QuaternionReturns the inverse of the quaternion.
method
sympy.algebras.quaternion.Quaternion.log()Returns the logarithm of the quaternion, given by $\log q$.
method
sympy.algebras.quaternion.Quaternion.mul(other:SExpr | Quaternion) -> QuaternionMultiplies quaternions.
method
sympy.algebras.quaternion.Quaternion.norm() -> ExprReturns the norm of the quaternion.
method
sympy.algebras.quaternion.Quaternion.normalize() -> QuaternionReturns the normalized form of the quaternion.
method
sympy.algebras.quaternion.Quaternion.orthogonal(other:Quaternion) -> bool | NoneReturns the orthogonality of two quaternions.
method
sympy.algebras.quaternion.Quaternion.pow(p:int) -> QuaternionFinds the pth power of the quaternion.
method
sympy.algebras.quaternion.Quaternion.pow_cos_sin(p:int) -> QuaternionComputes the pth power in the cos-sin form.
method
sympy.algebras.quaternion.Quaternion.scalar_part() -> ExprReturns scalar part($\mathbf{S}(q)$) of the quaternion q.
method
sympy.algebras.quaternion.Quaternion.set_norm(norm:SExpr | None) -> NoneSets norm of an already instantiated quaternion.
method
sympy.algebras.quaternion.Quaternion.to_Matrix(vector_only:bool=False) -> MatrixReturns elements of quaternion as a column vector.
class
sympy.assumptions.ask.AssumptionKeysThis class contains all the supported keys by ``ask``.
class
sympy.assumptions.assume.AppliedPredicateThe class of expressions resulting from applying ``Predicate`` to the arguments.
method
sympy.assumptions.assume.AppliedPredicate.function()Return the predicate.
class
sympy.assumptions.assume.PredicateBase class for mathematical predicates.
method
sympy.assumptions.assume.Predicate.register(*types, **kwargs)Register the signature to the handler.
class
sympy.assumptions.assume.UndefinedPredicatePredicate without handler.
func
sympy.assumptions.assume.assuming(*assumptions)Context manager for assumptions.
class
sympy.assumptions.cnf.ANDA low-level implementation for And
class
sympy.assumptions.cnf.CNFClass to represent CNF of a Boolean expression.
class
sympy.assumptions.cnf.EncodedCNFClass for encoding the CNF expression.
class
sympy.assumptions.cnf.LiteralThe smallest element of a CNF object.
class
sympy.assumptions.cnf.ORA low-level implementation for Or
func
sympy.assumptions.facts.get_known_facts(x=None)Facts between unary predicates.
func
sympy.assumptions.facts.get_matrix_facts(x=None)Facts between unary matrix predicates.
func
sympy.assumptions.facts.get_number_facts(x=None)Facts between unary number predicates.
func
sympy.assumptions.handlers.matrices.BM_elements(predicate, expr, assumptions)Block Matrix elements.
func
sympy.assumptions.handlers.matrices.MS_elements(predicate, expr, assumptions)Matrix Slice elements.
class
sympy.assumptions.predicates.calculus.FinitePredicateFinite number predicate.
class
sympy.assumptions.predicates.calculus.InfinitePredicateInfinite number predicate.
class
sympy.assumptions.predicates.calculus.NegativeInfinitePredicateNegative infinity predicate.
class
sympy.assumptions.predicates.calculus.PositiveInfinitePredicatePositive infinity predicate.
class
sympy.assumptions.predicates.common.CommutativePredicateCommutative predicate.
class
sympy.assumptions.predicates.common.IsTruePredicateGeneric predicate.
class
sympy.assumptions.predicates.matrices.ComplexElementsPredicateComplex elements matrix predicate.
class
sympy.assumptions.predicates.matrices.DiagonalPredicateDiagonal matrix predicate.
class
sympy.assumptions.predicates.matrices.FullRankPredicateFullrank matrix predicate.
class
sympy.assumptions.predicates.matrices.IntegerElementsPredicateInteger elements matrix predicate.
class
sympy.assumptions.predicates.matrices.InvertiblePredicateInvertible matrix predicate.
class
sympy.assumptions.predicates.matrices.LowerTriangularPredicateLower triangular matrix predicate.
class
sympy.assumptions.predicates.matrices.NormalPredicateNormal matrix predicate.
class
sympy.assumptions.predicates.matrices.OrthogonalPredicateOrthogonal matrix predicate.
class
sympy.assumptions.predicates.matrices.PositiveDefinitePredicatePositive definite matrix predicate.
class
sympy.assumptions.predicates.matrices.RealElementsPredicateReal elements matrix predicate.
class
sympy.assumptions.predicates.matrices.SingularPredicateSingular matrix predicate.
class
sympy.assumptions.predicates.matrices.SquarePredicateSquare matrix predicate.
class
sympy.assumptions.predicates.matrices.SymmetricPredicateSymmetric matrix predicate.
class
sympy.assumptions.predicates.matrices.TriangularPredicateTriangular matrix predicate.
class
sympy.assumptions.predicates.matrices.UnitTriangularPredicateUnit triangular matrix predicate.
class
sympy.assumptions.predicates.matrices.UnitaryPredicateUnitary matrix predicate.
class
sympy.assumptions.predicates.matrices.UpperTriangularPredicateUpper triangular matrix predicate.
class
sympy.assumptions.predicates.ntheory.CompositePredicateComposite number predicate.
class
sympy.assumptions.predicates.ntheory.EvenPredicateEven number predicate.
class
sympy.assumptions.predicates.ntheory.OddPredicateOdd number predicate.
class
sympy.assumptions.predicates.ntheory.PrimePredicatePrime number predicate.
class
sympy.assumptions.predicates.order.ExtendedNegativePredicateNegative extended real number predicate.
class
sympy.assumptions.predicates.order.ExtendedNonNegativePredicateNonnegative extended real number predicate.
class
sympy.assumptions.predicates.order.ExtendedNonPositivePredicateNonpositive extended real number predicate.
class
sympy.assumptions.predicates.order.ExtendedNonZeroPredicateNonzero extended real number predicate.
class
sympy.assumptions.predicates.order.ExtendedPositivePredicatePositive extended real number predicate.
class
sympy.assumptions.predicates.order.NegativePredicateNegative number predicate.
class
sympy.assumptions.predicates.order.NonNegativePredicateNonnegative real number predicate.
class
sympy.assumptions.predicates.order.NonPositivePredicateNonpositive real number predicate.
class
sympy.assumptions.predicates.order.NonZeroPredicateNonzero real number predicate.
class
sympy.assumptions.predicates.order.PositivePredicatePositive real number predicate.
class
sympy.assumptions.predicates.order.ZeroPredicateZero number predicate.
class
sympy.assumptions.predicates.sets.AlgebraicPredicateAlgebraic number predicate.
class
sympy.assumptions.predicates.sets.AntihermitianPredicateAntihermitian predicate.
class
sympy.assumptions.predicates.sets.ComplexPredicateComplex number predicate.
class
sympy.assumptions.predicates.sets.ExtendedRealPredicateExtended real predicate.
class
sympy.assumptions.predicates.sets.HermitianPredicateHermitian predicate.
class
sympy.assumptions.predicates.sets.ImaginaryPredicateImaginary number predicate.
class
sympy.assumptions.predicates.sets.IntegerPredicateInteger predicate.
class
sympy.assumptions.predicates.sets.IrrationalPredicateIrrational number predicate.
class
sympy.assumptions.predicates.sets.NonIntegerPredicateNon-integer extended real predicate.
class
sympy.assumptions.predicates.sets.RationalPredicateRational number predicate.
class
sympy.assumptions.predicates.sets.RealPredicateReal number predicate.
class
sympy.assumptions.predicates.sets.TranscendentalPredicateTranscendental number predicate.
func
sympy.assumptions.refine.refine_Pow(expr, assumptions)Handler for instances of Pow.
func
sympy.assumptions.refine.refine_abs(expr, assumptions)Handler for the absolute value.
func
sympy.assumptions.refine.refine_atan2(expr, assumptions)Handler for the atan2 function.
func
sympy.assumptions.refine.refine_exp(expr, assumptions)Handler for exponential functions.
func
sympy.assumptions.refine.refine_im(expr, assumptions)Handler for imaginary part.
func
sympy.assumptions.refine.refine_matrixelement(expr, assumptions)Handler for symmetric part.
func
sympy.assumptions.refine.refine_re(expr, assumptions)Handler for real part.
func
sympy.assumptions.refine.refine_sign(expr, assumptions)Handler for sign.
func
sympy.assumptions.refine.refine_sin_cos(expr, assumptions)Handler for sin and cos functions.
class
sympy.assumptions.relation.binrel.BinaryRelationBase class for all binary relational predicates.
class
sympy.assumptions.relation.equality.EqualityPredicateBinary predicate for $=$.
class
sympy.assumptions.relation.equality.GreaterThanPredicateBinary predicate for $>=$.
class
sympy.assumptions.relation.equality.LessThanPredicateBinary predicate for $<=$.
class
sympy.assumptions.relation.equality.StrictGreaterThanPredicateBinary predicate for $>$.
class
sympy.assumptions.relation.equality.StrictLessThanPredicateBinary predicate for $<$.
class
sympy.assumptions.relation.equality.UnequalityPredicateBinary predicate for $\neq$.
func
sympy.assumptions.satask.find_symbols(pred)Find every :obj:`~.Symbol` in *pred*.
class
sympy.assumptions.sathandlers.ClassFactRegistryRegister handlers against classes.
class
sympy.calculus.accumulationbounds.AccumulationBoundsAn accumulation bounds.
func
sympy.calculus.singularities.singularities(expression:Expr | complex, symbol:Symbol | Basic, domain:Set | None=None) -> set[Symbol]Find singularities of a given function.
class
sympy.categories.baseclasses.CategoryAn (abstract) category.
method
sympy.categories.baseclasses.Category.name()Returns the name of this category.
class
sympy.categories.baseclasses.CompositeMorphismRepresents a morphism which is a composition of other morphisms.
class
sympy.categories.baseclasses.DiagramRepresents a diagram in a certain category.
method
sympy.categories.baseclasses.Diagram.premises()Returns the premises of this diagram.
class
sympy.categories.baseclasses.IdentityMorphismRepresents an identity morphism.
class
sympy.categories.baseclasses.MorphismThe base class for any morphism in an abstract category.
method
sympy.categories.baseclasses.Morphism.codomain()Returns the codomain of the morphism.
method
sympy.categories.baseclasses.Morphism.domain()Returns the domain of the morphism.
class
sympy.categories.baseclasses.NamedMorphismRepresents a morphism which has a name.
method
sympy.categories.baseclasses.NamedMorphism.name()Returns the name of the morphism.
class
sympy.categories.baseclasses.ObjectThe base class for any kind of object in an abstract category.
class
sympy.codegen.approximations.SeriesApproxApproximates functions by expanding them as a series.
class
sympy.codegen.approximations.SumApproxApproximates sum by neglecting small terms.
class
sympy.codegen.ast.AssignmentRepresents variable assignment for code generation.
class
sympy.codegen.ast.AssignmentBaseAbstract base class for Assignment and AugmentedAssignment.
class
sympy.codegen.ast.AugmentedAssignmentBase class for augmented assignments.
class
sympy.codegen.ast.BreakTokenRepresents 'break' in C/Python ('exit' in Fortran).
class
sympy.codegen.ast.CodeBlockRepresents a block of code.
class
sympy.codegen.ast.CommentRepresents a comment.
class
sympy.codegen.ast.ComplexTypeRepresents a complex floating point number.
class
sympy.codegen.ast.ElementElement in (a possibly N-dimensional) array.
class
sympy.codegen.ast.FloatBaseTypeRepresents a floating point number type.
class
sympy.codegen.ast.FloatTypeRepresents a floating point type with fixed bit width.
method
sympy.codegen.ast.FloatType.max()Maximum value representable.
method
sympy.codegen.ast.FloatType.tiny()The minimum positive normalized value.
class
sympy.codegen.ast.ForRepresents a 'for-loop' in the code.
class
sympy.codegen.ast.FunctionCallRepresents a call to a function in the code.
class
sympy.codegen.ast.FunctionDefinitionRepresents a function definition in the code.
class
sympy.codegen.ast.IntBaseTypeInteger base type, contains no size information.
class
sympy.codegen.ast.PointerRepresents a pointer.
class
sympy.codegen.ast.PrintRepresents print command in the code.
class
sympy.codegen.ast.QuotedStringRepresents a string which should be printed with quotes.
class
sympy.codegen.ast.RaisePrints as 'raise ...' in Python, 'throw ...' in C++
class
sympy.codegen.ast.ReturnRepresents a return command in the code.
class
sympy.codegen.ast.ScopeRepresents a scope in the code.
class
sympy.codegen.ast.SignedIntTypeRepresents a signed integer type.
class
sympy.codegen.ast.StreamRepresents a stream.
class
sympy.codegen.ast.StringSymPy object representing a string.
class
sympy.codegen.ast.TokenBase class for the AST types.
class
sympy.codegen.ast.TypeRepresents a type.
class
sympy.codegen.ast.UnsignedIntTypeRepresents an unsigned integer type.
class
sympy.codegen.ast.VariableRepresents a variable.
method
sympy.codegen.ast.Variable.deduced(symbol, value=None, attrs=Tuple(), cast_check=True)Alt.
class
sympy.codegen.ast.WhileRepresents a 'for-loop' in the code.
func
sympy.codegen.ast.aug_assign(lhs, op, rhs)Create 'lhs op= rhs'.
class
sympy.codegen.cfunctions.CbrtRepresents the cube root function.
class
sympy.codegen.cfunctions.SqrtRepresents the square root function.
class
sympy.codegen.cfunctions.exp2Represents the exponential function with base two.
class
sympy.codegen.cfunctions.expm1Represents the exponential function minus one.
class
sympy.codegen.cfunctions.fmaRepresents "fused multiply add".
class
sympy.codegen.cfunctions.hypotRepresents the hypotenuse function.
class
sympy.codegen.cfunctions.log10Represents the logarithm function with base ten.
class
sympy.codegen.cfunctions.log1pRepresents the natural logarithm of a number plus one.
class
sympy.codegen.cfunctions.log2Represents the logarithm function with base two.
class
sympy.codegen.cnodes.CommaOperatorRepresents the comma operator in C
class
sympy.codegen.cnodes.LabelLabel for use with e.g.
class
sympy.codegen.cnodes.gotoRepresents goto in C
class
sympy.codegen.cnodes.structRepresents a struct in C
class
sympy.codegen.cnodes.unionRepresents a union in C
class
sympy.codegen.cxxnodes.usingRepresents a 'using' statement in C++
class
sympy.codegen.fnodes.ArrayConstructorRepresents an array constructor.
class
sympy.codegen.fnodes.DoRepresents a Do loop in in Fortran.
class
sympy.codegen.fnodes.ExtentRepresents a dimension extent.
class
sympy.codegen.fnodes.FortranReturnAST node explicitly mapped to a fortran "return".
class
sympy.codegen.fnodes.ImpliedDoLoopRepresents an implied do loop in Fortran.
class
sympy.codegen.fnodes.ModuleRepresents a module in Fortran.
class
sympy.codegen.fnodes.ProgramRepresents a 'program' block in Fortran.
class
sympy.codegen.fnodes.SubroutineRepresents a subroutine in Fortran.
class
sympy.codegen.fnodes.SubroutineCallRepresents a call to a subroutine in Fortran.
class
sympy.codegen.fnodes.cmplxFortran complex conversion function.
class
sympy.codegen.fnodes.dsignFortran sign intrinsic for double precision arguments.
class
sympy.codegen.fnodes.isignFortran sign intrinsic for integer arguments.
class
sympy.codegen.fnodes.kindFortran kind function.
class
sympy.codegen.fnodes.literal_dpFortran double precision real literal
class
sympy.codegen.fnodes.literal_spFortran single precision real literal
class
sympy.codegen.fnodes.mergeFortran merge function
class
sympy.codegen.fnodes.useRepresents a use statement in Fortran.
class
sympy.codegen.fnodes.use_renameRepresents a renaming in a use statement in Fortran.
class
sympy.codegen.matrix_nodes.MatrixSolveRepresents an operation to solve a linear matrix equation.
class
sympy.codegen.numpy_nodes.amaxMaximum value along an axis.
class
sympy.codegen.numpy_nodes.aminMinimum value along an axis.
class
sympy.codegen.numpy_nodes.logaddexpLogarithm of the sum of exponentiations of the inputs.
class
sympy.codegen.numpy_nodes.maximumElement-wise maximum of array elements.
class
sympy.codegen.numpy_nodes.minimumElement-wise minimum of array elements.
class
sympy.codegen.pynodes.NumExprEvaluaterepresents a call to :class:`numexpr`s :func:`evaluate`
class
sympy.codegen.rewriting.OptimizationAbstract base class for rewriting optimization.
class
sympy.codegen.rewriting.ReplaceOptimRewriting optimization calling replace on expressions.
func
sympy.codegen.rewriting.optimize(expr, optimizations)Apply optimizations to an expression.
class
sympy.codegen.scipy_nodes.cosm1Minus one plus cosine of x, i.e.
class
sympy.codegen.scipy_nodes.powm1Minus one plus x to the power of y, i.e.
class
sympy.combinatorics.free_groups.FreeGroupFree group with finite or infinite number of generators.
method
sympy.combinatorics.free_groups.FreeGroup.is_abelian()Returns if the group is Abelian.
method
sympy.combinatorics.free_groups.FreeGroup.order()Return the order of the free group.
class
sympy.combinatorics.free_groups.FreeGroupElementUsed to create elements of FreeGroup.
method
sympy.combinatorics.free_groups.FreeGroupElement.is_independent(word)See Also ======== is_dependent
method
sympy.combinatorics.free_groups.FreeGroupElement.prod(words:Iterable[C]) -> CReturn the product of an iterable of words from the same free group.
class
sympy.combinatorics.galois.S1TransitiveSubgroupsNames for the transitive subgroups of S1.
class
sympy.combinatorics.galois.S2TransitiveSubgroupsNames for the transitive subgroups of S2.
class
sympy.combinatorics.galois.S3TransitiveSubgroupsNames for the transitive subgroups of S3.
class
sympy.combinatorics.galois.S4TransitiveSubgroupsNames for the transitive subgroups of S4.
class
sympy.combinatorics.galois.S5TransitiveSubgroupsNames for the transitive subgroups of S5.
class
sympy.combinatorics.galois.S6TransitiveSubgroupsNames for the transitive subgroups of S6.
func
sympy.combinatorics.generators.alternating(n:int) -> Iterator[Permutation]Generates the alternating group of order n, An.
func
sympy.combinatorics.generators.cyclic(n:int) -> Iterator[Permutation]Generates the cyclic group of order n, Cn.
func
sympy.combinatorics.generators.dihedral(n:int) -> Iterator[Permutation]Generates the dihedral group of order 2n, Dn.
func
sympy.combinatorics.generators.rubik(n:int) -> list[Permutation]Return permutations for an nxn Rubik's cube.
func
sympy.combinatorics.generators.symmetric(n:int) -> Iterator[Permutation]Generates the symmetric group of order n, Sn.
func
sympy.combinatorics.graycode.bin_to_gray(bin_list:str) -> strConvert from binary coding to gray coding.
func
sympy.combinatorics.graycode.get_subset_from_bitstring(super_set:list[T], bitstring:str) -> list[T]Gets the subset defined by the bitstring.
func
sympy.combinatorics.graycode.gray_to_bin(bin_list:str) -> strConvert from Gray coding to binary coding.
func
sympy.combinatorics.graycode.graycode_subsets(gray_code_set:list[T]) -> Iterator[list[T]]Generates the subsets as enumerated by a Gray code.
func
sympy.combinatorics.graycode.random_bitstring(n:int) -> strGenerates a random bitlist of length n.
func
sympy.combinatorics.group_numbers.groups_count(n)Number of groups of order `n`.
func
sympy.combinatorics.group_numbers.is_abelian_number(n) -> boolCheck whether `n` is an abelian number.
func
sympy.combinatorics.group_numbers.is_cyclic_number(n) -> boolCheck whether `n` is a cyclic number.
func
sympy.combinatorics.group_numbers.is_nilpotent_number(n) -> boolCheck whether `n` is a nilpotent number.
class
sympy.combinatorics.homomorphisms.GroupHomomorphismA class representing group homomorphisms.
method
sympy.combinatorics.homomorphisms.GroupHomomorphism.image()Compute the image of `self`.
method
sympy.combinatorics.homomorphisms.GroupHomomorphism.kernel()Compute the kernel of `self`.
class
sympy.combinatorics.partitions.IntegerPartitionThis class represents an integer partition.
method
sympy.combinatorics.partitions.IntegerPartition.conjugate()Computes the conjugate partition of itself.
class
sympy.combinatorics.partitions.PartitionThis class represents an abstract partition.
method
sympy.combinatorics.partitions.Partition.rank()Gets the rank of a partition.
class
sympy.combinatorics.pc_groups.CollectorReferences ========== ..
method
sympy.combinatorics.pc_groups.Collector.depth(element)Return the depth of a given element.
method
sympy.combinatorics.pc_groups.Collector.map_relation(w)Return a conjugate relation.
method
sympy.combinatorics.pc_groups.Collector.pc_relators()Return the polycyclic presentation.
class
sympy.combinatorics.perm_groups.PermutationGroupThe class defining a Permutation group.
method
sympy.combinatorics.perm_groups.PermutationGroup.derived_subgroup()Compute the derived subgroup.
method
sympy.combinatorics.perm_groups.PermutationGroup.is_abelian()Test if the group is Abelian.
method
sympy.combinatorics.perm_groups.PermutationGroup.is_nilpotent()Test if the group is nilpotent.
method
sympy.combinatorics.perm_groups.PermutationGroup.is_solvable()Test if the group is solvable.
method
sympy.combinatorics.perm_groups.PermutationGroup.random(af=False)Return a random group element
method
sympy.combinatorics.perm_groups.PermutationGroup.schreier_sims()Schreier-Sims algorithm.
class
sympy.combinatorics.perm_groups.SymmetricPermutationGroupThe class defining the lazy form of SymmetricGroup.
class
sympy.combinatorics.permutations.AppliedPermutationA permutation applied to a symbolic variable.
class
sympy.combinatorics.polyhedron.PolyhedronRepresents the polyhedral symmetry group (PSG).
method
sympy.combinatorics.polyhedron.Polyhedron.array_form()Return the indices of the corners.
method
sympy.combinatorics.polyhedron.Polyhedron.corners()Get the corners of the Polyhedron.
method
sympy.combinatorics.polyhedron.Polyhedron.faces()Get the faces of the Polyhedron.
class
sympy.combinatorics.rewritingsystem.RewritingSystemA class implementing rewriting systems for `FpGroup`s.
class
sympy.combinatorics.rewritingsystem_fsm.StateA representation of a state managed by a ``StateMachine``.
class
sympy.combinatorics.subsets.SubsetRepresents a basic subset object.
method
sympy.combinatorics.subsets.Subset.iterate_binary(k)This is a helper function.
method
sympy.combinatorics.subsets.Subset.rank_binary()Computes the binary ordered rank.
method
sympy.combinatorics.subsets.Subset.size()Gets the size of the subset.
method
sympy.combinatorics.subsets.Subset.superset()Gets the superset of the subset.
method
sympy.combinatorics.subsets.Subset.superset_size()Returns the size of the superset.
func
sympy.combinatorics.tensor_can.bsgs_direct_product(base1, gens1, base2, gens2, signed=True)Direct product of two BSGS.
class
sympy.concrete.expr_with_intlimits.ExprWithIntLimitsSuperclass for Product and Sum.
class
sympy.concrete.expr_with_intlimits.ReorderErrorException raised when trying to reorder dependent limits.
class
sympy.concrete.expr_with_limits.AddWithLimitsRepresents unevaluated oriented additions.
class
sympy.concrete.products.ProductRepresents unevaluated products.
func
sympy.concrete.products.product(*args, **kwargs)Compute the product.
class
sympy.concrete.summations.SumRepresents unevaluated summation.
method
sympy.concrete.summations.Sum.is_convergent()Checks for the convergence of a Sum.
class
sympy.core._print_helpers.PrintableThe default implementation of printing for SymPy classes.
class
sympy.core.add.AddExpression representing addition operation for algebraic group.
method
sympy.core.add.Add.as_coeff_Add(rational=False, deps=None) -> tuple[Number, Expr]Efficiently extract the coefficient of a summation.
method
sympy.core.add.Add.as_real_imag(deep=True, **hints)Return a tuple representing a complex number.
method
sympy.core.add.Add.as_two_terms()Return head and tail of self.
func
sympy.core.assumptions.assumptions(expr, _check=None)return the T/F assumptions of ``expr``
class
sympy.core.basic.AtomA parent class for atomic things.
class
sympy.core.basic.BasicBase class for all SymPy objects.
method
sympy.core.basic.Basic.args() -> tuple[Basic, ...]Returns a tuple of arguments of 'self'.
method
sympy.core.basic.Basic.assumptions0()Return object `type` assumptions.
method
sympy.core.basic.Basic.class_key() -> tuple[int, int, str]Nice order of classes.
method
sympy.core.basic.Basic.count(query)Count the number of matching subexpressions.
method
sympy.core.basic.Basic.free_symbols() -> set[Basic]Return from the atoms of self those which are free symbols.
method
sympy.core.basic.Basic.fromiter(args, **assumptions)Create a new object from an iterable.
method
sympy.core.basic.Basic.func()The top-level function in an expression.
method
sympy.core.basic.Basic.has(*patterns)Test whether any subexpression matches any of the patterns.
method
sympy.core.basic.Basic.match(pattern, old=False)Pattern matching.
method
sympy.core.basic.Basic.refine(assumption=True)See the refine function in sympy.assumptions
method
sympy.core.basic.Basic.replace(query, value, map=False, simultaneous=True, exact=None) -> BasicReplace matching subexpressions of ``self`` with ``value``.
method
sympy.core.basic.Basic.rewrite(*deep=True, *args, **hints)Rewrite *self* using a defined rule.
method
sympy.core.basic.Basic.simplify(**kwargs) -> BasicSee the simplify function in sympy.simplify
method
sympy.core.basic.Basic.sort_key(order=None)Return a sort key.
func
sympy.core.basic.Basic.walk(rv, F)Apply ``F`` to args and then to result.
method
sympy.core.basic.Basic.xreplace(rule)Replace occurrences of objects within the expression.
func
sympy.core.cache.cached_property(func)Decorator to cache property method
func
sympy.core.cache.lazy_function(module:str, name:str) -> CallableCreate a lazy proxy for a function in a module.
class
sympy.core.containers.DictWrapper around the builtin dict object.
method
sympy.core.containers.Dict.get(key, default=None)Returns the value for key if the key is in the dictionary.
method
sympy.core.containers.Dict.keys()Returns the list of the dict's keys.
method
sympy.core.containers.Dict.values()Returns the list of the dict's values.
class
sympy.core.containers.TupleWrapper around the builtin tuple object.
method
sympy.core.containers.Tuple.kind()The kind of a Tuple instance.
method
sympy.core.containers.Tuple.tuple_count(value) -> intReturn number of occurrences of value.
class
sympy.core.core.RegistryBase class for registry objects.
class
sympy.core.coreerrors.BaseCoreErrorBase class for core related exceptions.
class
sympy.core.coreerrors.NonCommutativeExpressionRaised when expression didn't have commutative property.
func
sympy.core.decorators.sympify_method_args(cls:type[T1]) -> type[T1]Decorator for a class with methods that sympify arguments.
class
sympy.core.evalf.EvalfMixinMixin class adding evalf capability.
func
sympy.core.evalf.N(x, n=15, **options)Calls x.evalf(n, \*\*options).
func
sympy.core.evalf.add_terms(terms:list, prec:int, target_prec:int) -> tuple[MPF_TUP | SCALED_ZERO_TUP | None, int | None]Helper for evalf_add.
func
sympy.core.evalf.chop_parts(value:TMP_RES, prec:int) -> TMP_RESChop off tiny real or complex parts.
func
sympy.core.evalf.evalf(x:Expr, prec:int, options:OPT_DICT) -> TMP_RESEvaluate the ``Expr`` instance, ``x`` to a binary precision of ``prec``.
func
sympy.core.evalf.evalf_subs(prec:int, subs:dict) -> dictChange all Float entries in `subs` to have precision prec.
func
sympy.core.evalf.evalf_trig(v:Expr, prec:int, options:OPT_DICT) -> TMP_RESThis function handles sin , cos and tan of complex arguments.
func
sympy.core.evalf.fastlog(x:MPF_TUP | None) -> int | AnyFast approximation of log2(x) for an mpf value tuple x.
func
sympy.core.evalf.get_complex_part(expr:Expr, no:int, prec:int, options:OPT_DICT) -> TMP_RESno = 0 for real part, no = 1 for imaginary part
func
sympy.core.evalf.is_int_reim(x)Check for integer or integer + I*integer.
class
sympy.core.expr.AtomicExprA parent class for object which are both atoms and Exprs.
class
sympy.core.expr.ExprBase class for algebraic expressions.
method
sympy.core.expr.Expr.apart(x=None, **args)See the apart function in sympy.polys
method
sympy.core.expr.Expr.as_coeff_Add(rational=False) -> tuple['Number', Expr]Efficiently extract the coefficient of a summation.
method
sympy.core.expr.Expr.as_coeff_exponent(x) -> tuple[Expr, Expr]``c*x**e -> c,e`` where x can be any symbolic expression.
method
sympy.core.expr.Expr.as_coeff_mul(*deps, **kwargs) -> tuple[Expr, tuple[Expr, ...]]Return the tuple (c, args) where self is written as a Mul, ``m``.
method
sympy.core.expr.Expr.as_coefficient(expr:Expr) -> Expr | NoneExtracts symbolic coefficient at the given expression.
method
sympy.core.expr.Expr.as_expr(*gens)Convert a polynomial to a SymPy expression.
method
sympy.core.expr.Expr.as_numer_denom() -> tuple[Expr, Expr]Return the numerator and the denominator of an expression.
method
sympy.core.expr.Expr.as_ordered_terms(order=None, data:Literal[False]=False) -> list[Expr]Transform an expression to an ordered list of terms.
method
sympy.core.expr.Expr.as_terms() -> tuple[list[tuple[Expr, Any]], list[Expr]]Transform an expression to a list of terms.
method
sympy.core.expr.Expr.aseries(x=None, n=6, bound=0, hir=False)Asymptotic Series expansion of self.
method
sympy.core.expr.Expr.cancel(*gens, **args)See the cancel function in sympy.polys
method
sympy.core.expr.Expr.combsimp()See the combsimp function in sympy.simplify
method
sympy.core.expr.Expr.conjugate()Returns the complex conjugate of 'self'.
method
sympy.core.expr.Expr.expand(deep=True, modulus=None, power_base=True, power_exp=True, mul=True, log=True, multinomial=True, basic=True, **hints) -> ExprExpand an expression using hints.
func
sympy.core.expr.Expr.find(l, sub, first=True)Find where list sub appears in list l.
method
sympy.core.expr.Expr.gammasimp()See the gammasimp function in sympy.simplify
method
sympy.core.expr.Expr.getO() -> Expr | NoneReturns the additive O(..) symbol if there is one, else None.
method
sympy.core.expr.Expr.getn()Returns the order of the expression.
method
sympy.core.expr.Expr.limit(x, xlim, dir='+')Compute limit x->xlim.
method
sympy.core.expr.Expr.normal()Return the expression as a fraction.
method
sympy.core.expr.Expr.powsimp(*args, **kwargs)See the powsimp function in sympy.simplify
method
sympy.core.expr.Expr.radsimp(**kwargs)See the radsimp function in sympy.simplify
method
sympy.core.expr.Expr.ratsimp()See the ratsimp function in sympy.simplify
method
sympy.core.expr.Expr.removeO() -> ExprRemoves the additive O(..) symbol if there is one
method
sympy.core.expr.Expr.round(n=None)Return x rounded to the given decimal place.
method
sympy.core.expr.Expr.taylor_term(n, x, *previous_terms)General method for the taylor term.
method
sympy.core.expr.Expr.together(*args, **kwargs)See the together function in sympy.polys
method
sympy.core.expr.Expr.trigsimp(**args)See the trigsimp function in sympy.simplify
func
sympy.core.expr.Expr.yield_lseries(s)Return terms of lseries one at a time.
class
sympy.core.expr.UnevaluatedExprExpression that is not evaluated unless released.
class
sympy.core.exprtools.FactorsEfficient representation of ``f_1*f_2*...*f_n``.
method
sympy.core.exprtools.Factors.as_expr()Return the underlying expression.
method
sympy.core.exprtools.Factors.gcd(other)Return Factors of ``gcd(self, other)``.
method
sympy.core.exprtools.Factors.mul(other)Return Factors of ``self * other``.
method
sympy.core.exprtools.Factors.quo(other)Return numerator Factor of ``self / other``.
class
sympy.core.exprtools.TermEfficient representation of ``coeff*(numer/denom)``.
func
sympy.core.exprtools.decompose_power(expr:Expr) -> tuple[Expr, int]Decompose power into symbolic base and integer exponent.
method
sympy.core.facts.Prover.process_rule(a, b)process a -> b rule
class
sympy.core.facts.TautologyDetected(internal) Prover uses it for reporting detected tautology
class
sympy.core.function.ApplicationBase class for applied functions.
class
sympy.core.function.BadSignatureErrorRaised when a Lambda is created with an invalid signature
class
sympy.core.function.DefinedFunctionBase class for defined functions like ``sin``, ``cos``, ...
class
sympy.core.function.DerivativeCarries out differentiation of the given expression with respect to symbols.
class
sympy.core.function.FunctionBase class for applied mathematical functions.
class
sympy.core.function.FunctionClassBase class for function classes.
method
sympy.core.function.Lambda.expr()The return value of the function
class
sympy.core.function.SubsRepresents unevaluated substitutions of an expression.
method
sympy.core.function.Subs.variables()The variables to be evaluated
class
sympy.core.function.UndefSageHelperHelper to facilitate Sage conversion.
class
sympy.core.function.UndefinedFunctionThe (meta)class of undefined functions.
func
sympy.core.function.diff(f, *symbols, **kwargs)Differentiate f with respect to symbols.
func
sympy.core.function.expand_mul(expr, deep=True)Wrapper around expand that only uses the mul hint.
func
sympy.core.intfunc.igcd(*args)Computes nonnegative integer greatest common divisor.
func
sympy.core.intfunc.ilcm(*args)Computes integer least common multiple.
class
sympy.core.kind.KindBase class for kinds.
class
sympy.core.kind.KindMetaMetaclass for ``Kind``.
class
sympy.core.logic.LogicLogical expression
func
sympy.core.logic.fuzzy_and(args)Return True (all True), False (any False) or None.
func
sympy.core.logic.fuzzy_bool(x)Return True, False or None according to x.
func
sympy.core.logic.fuzzy_not(v:bool | None) -> bool | NoneNot in fuzzy logic Return None if `v` is None else `not v`.
func
sympy.core.logic.fuzzy_or(args)Or in fuzzy logic.
class
sympy.core.mod.ModRepresents a modulo operation on symbolic expressions.
class
sympy.core.mul.MulExpression representing multiplication operation for algebraic field.
method
sympy.core.mul.Mul.as_two_terms()Return head and tail of self.
func
sympy.core.mul.prod(a, start=1)Return product of elements of a.
class
sympy.core.numbers.AlgebraicNumberClass for representing algebraic numbers in SymPy.
method
sympy.core.numbers.AlgebraicNumber.as_poly(x=None)Create a Poly instance from ``self``.
method
sympy.core.numbers.AlgebraicNumber.is_aliased()Returns ``True`` if ``alias`` was set.
class
sympy.core.numbers.CatalanCatalan's constant.
class
sympy.core.numbers.ComplexInfinityComplex infinity.
class
sympy.core.numbers.EulerGammaThe Euler-Mascheroni constant.
class
sympy.core.numbers.Exp1The `e` constant.
class
sympy.core.numbers.FloatRepresent a floating-point number of arbitrary precision.
class
sympy.core.numbers.GoldenRatioThe golden ratio, `\phi`.
class
sympy.core.numbers.HalfThe rational number 1/2.
class
sympy.core.numbers.ImaginaryUnitThe imaginary unit, `i = \sqrt{-1}`.
class
sympy.core.numbers.InfinityPositive infinite quantity.
class
sympy.core.numbers.IntegerRepresents integer numbers of any size.
class
sympy.core.numbers.NaNNot a Number.
class
sympy.core.numbers.NegativeInfinityNegative infinite quantity.
class
sympy.core.numbers.NegativeOneThe number negative one.
class
sympy.core.numbers.NumberRepresents atomic numbers in SymPy.
method
sympy.core.numbers.Number.gcd(other)Compute GCD of `self` and `other`.
method
sympy.core.numbers.Number.lcm(other)Compute LCM of `self` and `other`.
この情報について
掲載しているシグネチャは sympy/sympy の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。