Documentation moved.
This entry is now part of the unified function reference. Open the unified page →
Function
src/index.ts:841nerdamer.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
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();