Version: dev

sweep_dimension

Stable type · Document types

Tier: stable · Kind: type · Topic: Document types

JuliaTypeScriptPythonRustGo
not exportednot exportednot exportedSweepDimensionSweepDimension

Julia

Julia does not export this type.

TypeScript

TypeScript does not export this type.

Python

Python does not export this type.

Rust

pub struct SweepDimension {
    pub parameter: String,
    pub values: Option<Vec<f64>>,
    pub range: Option<SweepRange>,
}

One axis of a ParameterSweep (schema SweepDimension): exactly one of values / range is present.

Source · Rust docs

Go

type SweepDimension struct {
	Parameter string      `json:"parameter"`
	Values    []float64   `json:"values,omitempty"`
	Range     *SweepRange `json:"range,omitempty"`
}

SweepDimension is one axis of a parameter sweep; exactly one of Values or Range is set.

Source · Go docs