param_slot
Stable type · Other
Tier: stable · Kind: type · Topic: Other
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
ParamSlot | not exported | not exported | ParamSlot | not 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).
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].
Go
Go does not export this type.