Skip to content
Symi Docs
Swift
On this page

Integral transforms

All four entries are eager dispatchers: a table of closed-form atoms fires first, then algebraic rules (linearity, shifts, scaling, derivative, convolution), and inputs neither layer recognises return the unevaluated transform node (composable via execute later). Unevaluated transform nodes can also be built directly through parse.

laplace_transform#

Explicit context

func laplaceTransform(
    target: UniffiExpression,
    timeVariable: String,
    frequencyVariable: String,
) -> UniffiExpression
Calling forms and variants

Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.laplaceTransform

func laplaceTransform(
    target: UniffiExpression,
    timeVariable: String,
    frequencyVariable: String,
) -> UniffiExpression

Forward Laplace transform F(s)=∫0∞f(t)e−st dtF(s) = \int_0^\infty f(t)e^{-st}\,dt.

A polynomial time moment is frequency differentiation: L{tnf(t)}(s)=(−1)ndndsnF(s)\mathcal{L}\{t^n f(t)\}(s) = (-1)^n \frac{d^n}{ds^n} F(s) for a literal positive integer n whenever FF itself closes, so L{t3sin⁡2t}=48s(s−2)(s+2)/(s2+4)4\mathcal{L}\{t^3 \sin 2t\} = 48 s (s-2)(s+2)/(s^2+4)^4. The moment has the same half-plane of convergence as f, so the rule adds no hypothesis. A symbolic order has no formable derivative and leaves the transform unevaluated.

inverse_laplace_transform#

Explicit context

func inverseLaplaceTransform(
    target: UniffiExpression,
    frequencyVariable: String,
    timeVariable: String,
) -> UniffiExpression

Inverse Laplace transform; rational inputs route through a partial-fraction reverse lookup.

fourier_transform#

Explicit context

func fourierTransform(
    target: UniffiExpression,
    timeVariable: String,
    frequencyVariable: String,
) -> UniffiExpression
Calling forms and variants

Variant using local assumptions — UniffiAssumptionScope method: UniffiAssumptionScope.fourierTransform

func fourierTransform(
    target: UniffiExpression,
    timeVariable: String,
    frequencyVariable: String,
) -> UniffiExpression

Forward Fourier transform in the angular-frequency convention F(ω)=∫f(t)e−iωt dtF(\omega) = \int f(t)e^{-i\omega t}\,dt.

inverse_fourier_transform#

Explicit context

func inverseFourierTransform(
    target: UniffiExpression,
    frequencyVariable: String,
    timeVariable: String,
) -> UniffiExpression

Inverse Fourier transform of the same convention.

Example#

Symi documentation · Swift