Sign in

    zhaoyuanjuns/moonbit_extractor/interpolation does not have a README file

    EquilibriumTable

    pub(all) struct EquilibriumTable {
    relation : LinearTable
    } derive(Eq,
    Debug
    )

    Validated equilibrium relation y*(x) backed by measured points.

    EquilibriumTable::local_distribution_coefficient

    fn EquilibriumTable::local_distribution_coefficient(self : EquilibriumTable, x : Double) -> Double raise
    ExtractionError

    EquilibriumTable::x_at

    Find x for a monotone increasing equilibrium table.

    Extrapolation

    pub(all) enum Extrapolation {
    Reject
    Clamp
    Linear
    } derive(Eq,
    Debug
    )

    LinearTable

    pub(all) struct LinearTable {
    xs : Array[Double]
    ys : Array[Double]
    extrapolation : Extrapolation
    } derive(Eq,
    Debug
    )

    Validated one-dimensional piecewise-linear table.

    LinearTable::evaluate

    LinearTable::integrate

    fn LinearTable::integrate(self : LinearTable, from~ : Double, to~ : Double) -> Double raise
    ExtractionError

    Integrate the piecewise-linear curve using exact trapezoids per segment.

    LinearTable::lower

    fn LinearTable::lower(self : LinearTable) -> Double

    LinearTable::slope_at

    LinearTable::upper

    fn LinearTable::upper(self : LinearTable) -> Double

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io