Residue of a function (residue)
Residue of an expression at a point.
How to write it
residue(f, x = a)
- f
- The expression or function to work on. Takes an expression.
- x = a
- The variable and the point. Takes a variable set to a value.
Examples
residue(1/(x (x - 1)), x = 0)In the solver,
Open in the solverresidue(1/(x (x - 1)), x = 0)gives-1.
Related functions
- total_diff
Total derivative of an expression with respect to a variable.
- numeric_integrate
Approximate a definite integral numerically.
- certified_value
An enclosure of a definite integral or a closed constant, with radius at most 10^-digits.
- limit
Limit of an expression as a variable approaches a point.
- curl
Curl of a vector field in three variables.
- laplacian
Laplacian of an expression: the sum of its second partial derivatives.