VPSimulationInputExtensions WithParameterSweep Method Virtual Photonics - VTS Library
Virtual Photonics
Method to perform parameter sweeps of data and create new SimulationInput with each data value in sweep.

Namespace: Vts.MonteCarlo.Extensions
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static IEnumerable<SimulationInput> WithParameterSweep(
	this IEnumerable<SimulationInput> input,
	IEnumerable<double> values,
	string inputParameterType
)

Parameters

input
Type: OnlineSystem.Collections.Generic IEnumerable SimulationInput 
base SimulationInput
values
Type: OnlineSystem.Collections.Generic IEnumerable OnlineDouble 
values to be used
inputParameterType
Type: OnlineSystem String
parameter identifier

Return Value

Type: OnlineIEnumerable SimulationInput 
updated IEnumerable of SimulationInput

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OnlineIEnumerable SimulationInput . When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also