Documentation moved.
This entry is documented with its primary interface. Open the documentation →
Function
src/index.ts:1059nerdamer.laplace
nerdamer.laplace(expr: ExpressionInput, t: ExpressionInput, s: ExpressionInput): ExpressionComputes a symbolic Laplace transform from a time variable to a transform variable. The expression is expanded, linear sums are transformed term by term, constants independent of the time variable are extracted, and the remaining expression is matched against the transform table.
throws
core!UnexpectedInputError If t or s is not a plain variable.
Parameters
| Name | Type | Description |
|---|---|---|
expr | ExpressionInput | Time-domain expression. |
t | ExpressionInput | Plain time-domain variable. |
s | ExpressionInput | Plain transform-domain variable. |
Returns
Expression — The symbolic transform, or an unevaluated laplace(expr, t, s)
Expression when no table rule resolves the input.
Examples
laplace('sin(t)', 't', 's').text();