Version: dev

param_slot

Stable type · Other

Tier: stable · Kind: type · Topic: Other

JuliaTypeScriptPythonRustGo
ParamSlotnot exportednot exportedParamSlotnot exported

Julia

struct ParamSlot
ParamSlot(name::String, default::Union{Nothing, Float64})
ParamSlot(name, default)
ParamSlot

One entry of a program’s parameter vector (parameters ): the flattened parameter name and its declared default (nothing when it declares none).

Source

TypeScript

TypeScript does not export this type.

Python

Python does not export this type.

Rust

pub struct ParamSlot {
    pub name: String,
    pub default: Option<f64>,
}

One positional parameter of a program: p[k] is RhsProgram::parameters``[k].

Source · Rust docs

Go

Go does not export this type.