Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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 or ParameterExpression objects.

প্যারামিটার
  • symbol_map (Dict[Parameter, [ParameterExpression, float, or int]]) -- Mapping of Parameter instances to the sympy.Symbol serving as their placeholder in expr.

  • expr (sympy.Expr) -- Expression of sympy.Symbol s.

Methods

arccos

Arccos of a ParameterExpression

arcsin

Arcsin of a ParameterExpression

arctan

Arctan of a ParameterExpression

assign

Assign one parameter to a value, which can either be numeric or another parameter expression.

bind

Binds the provided set of parameters to their corresponding values.

conjugate

Return the conjugate.

cos

Cosine of a ParameterExpression

exp

Exponential of a ParameterExpression

gradient

Get the derivative of a parameter expression w.r.t.

is_real

Return whether the expression is real

log

Logarithm of a ParameterExpression

sin

Sine of a ParameterExpression

subs

Returns a new Expression with replacement Parameters.

sympify

Return symbolic expression as a raw Sympy or Symengine object.

tan

Tangent of a ParameterExpression

Attributes

parameters

Returns a set of the unbound Parameters in the expression.