Skip to content
Symi Docs
Rust

The Rust manual covers the recommended facade. The complete native crate is documented in the native Rust API reference.

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#

api::Session method

pub fn laplace_transform<'a, TimeType, FrequencyType>(
    &self,
    target: &Expression,
    time_variable: TimeType,
    frequency_variable: FrequencyType,
) -> Result<Expression, ApiError>
where
    TimeType: Into<VariableLike<'a>>,
    FrequencyType: Into<VariableLike<'a>>,
Calling forms and variants

api::Expression method: api::Expression::laplace_transform

pub fn laplace_transform<'a, TimeType, FrequencyType>(
    &self,
    time_variable: TimeType,
    frequency_variable: FrequencyType,
) -> Result<Expression, ApiError>
where
    TimeType: Into<VariableLike<'a>>,
    FrequencyType: Into<VariableLike<'a>>,

Variant using local assumptions — api::AssumptionScope method: api::AssumptionScope::laplace_transform

pub fn laplace_transform<'a, TimeType, FrequencyType>(
    &self,
    target: &Expression,
    time_variable: TimeType,
    frequency_variable: FrequencyType,
) -> Result<Expression, ApiError>
where
    TimeType: Into<VariableLike<'a>>,
    FrequencyType: Into<VariableLike<'a>>,

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#

api::Session method

pub fn inverse_laplace_transform<'a, FrequencyType, TimeType>(
    &self,
    target: &Expression,
    frequency_variable: FrequencyType,
    time_variable: TimeType,
) -> Result<Expression, ApiError>
where
    FrequencyType: Into<VariableLike<'a>>,
    TimeType: Into<VariableLike<'a>>,
Calling forms

api::Expression method: api::Expression::inverse_laplace_transform

pub fn inverse_laplace_transform<'a, FrequencyType, TimeType>(
    &self,
    frequency_variable: FrequencyType,
    time_variable: TimeType,
) -> Result<Expression, ApiError>
where
    FrequencyType: Into<VariableLike<'a>>,
    TimeType: Into<VariableLike<'a>>,

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

fourier_transform#

api::Session method

pub fn fourier_transform<'a, TimeType, FrequencyType>(
    &self,
    target: &Expression,
    time_variable: TimeType,
    frequency_variable: FrequencyType,
) -> Result<Expression, ApiError>
where
    TimeType: Into<VariableLike<'a>>,
    FrequencyType: Into<VariableLike<'a>>,
Calling forms and variants

api::Expression method: api::Expression::fourier_transform

pub fn fourier_transform<'a, TimeType, FrequencyType>(
    &self,
    time_variable: TimeType,
    frequency_variable: FrequencyType,
) -> Result<Expression, ApiError>
where
    TimeType: Into<VariableLike<'a>>,
    FrequencyType: Into<VariableLike<'a>>,

Variant using local assumptions — api::AssumptionScope method: api::AssumptionScope::fourier_transform

pub fn fourier_transform<'a, TimeType, FrequencyType>(
    &self,
    target: &Expression,
    time_variable: TimeType,
    frequency_variable: FrequencyType,
) -> Result<Expression, ApiError>
where
    TimeType: Into<VariableLike<'a>>,
    FrequencyType: Into<VariableLike<'a>>,

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#

api::Session method

pub fn inverse_fourier_transform<'a, FrequencyType, TimeType>(
    &self,
    target: &Expression,
    frequency_variable: FrequencyType,
    time_variable: TimeType,
) -> Result<Expression, ApiError>
where
    FrequencyType: Into<VariableLike<'a>>,
    TimeType: Into<VariableLike<'a>>,
Calling forms

api::Expression method: api::Expression::inverse_fourier_transform

pub fn inverse_fourier_transform<'a, FrequencyType, TimeType>(
    &self,
    frequency_variable: FrequencyType,
    time_variable: TimeType,
) -> Result<Expression, ApiError>
where
    FrequencyType: Into<VariableLike<'a>>,
    TimeType: Into<VariableLike<'a>>,

Inverse Fourier transform of the same convention.

Example#

This family is not part of the recommended symi::api facade in this release. Call it through the native modules in the native Rust API reference.