ParameterExpression¶
-
class
ParameterExpression
(symbol_map, expr)[source]¶ Bases:
object
ParameterExpression class to enable creating expressions of Parameters.
Create a new
ParameterExpression
.Not intended to be called directly, but to be instantiated via operations on other
Parameter
orParameterExpression
objects.- Parameters
symbol_map (Dict[Parameter, [ParameterExpression, float, or int]]) – Mapping of
Parameter
instances to thesympy.Symbol
serving as their placeholder in expr.expr (sympy.Expr) – Expression of
sympy.Symbol
s.
Methods
Arccos of a ParameterExpression
Arcsin of a ParameterExpression
Arctan of a ParameterExpression
Assign one parameter to a value, which can either be numeric or another parameter expression.
Binds the provided set of parameters to their corresponding values.
Return the conjugate.
Cosine of a ParameterExpression
Exponential of a ParameterExpression
Get the derivative of a parameter expression w.r.t.
Return whether the expression is real
Logarithm of a ParameterExpression
Sine of a ParameterExpression
Returns a new Expression with replacement Parameters.
Tangent of a ParameterExpression
Attributes
-
parameters
¶ Returns a set of the unbound Parameters in the expression.
- Return type
Set