Sage Modeling and Simulation Library

EmpiricalDistribution..::..Initialize Method (IModel, String, String, Guid, array<Double>[]()[][], array<Double>[]()[][], Type)

Initializes this EmpiricalDistribution in the context of the specified model. Requires execution against the Sage intialization protocol. Guids specified are those of other objects in the model which this object must interact during initialization.

Namespace:  Highpoint.Sage.Mathematics
Assembly:  Sage4 (in Sage4.dll)

Syntax


[InitializerAttribute]
public void Initialize(
	IModel model,
	string name,
	string description,
	Guid guid,
	double[] xVals,
	double[] yVals,
	Type interpolatorType
)

Parameters

model
Type: Highpoint.Sage.SimCore..::..IModel
The model that owns this EmpiricalDistribution and in whose context the initialization is being performed.
name
Type: String
The name of this EmpiricalDistribution.
description
Type: String
The description of this EmpiricalDistribution.
guid
Type: Guid
The GUID of this EmpiricalDistribution.
xVals
Type: array<Double>[]()[][]
The x values that make up the Cumulative Density Function of this EmpiricalDistribution.
yVals
Type: array<Double>[]()[][]
The y values that make up the Cumulative Density Function of this EmpiricalDistribution.
interpolatorType
Type: Type
The type of the interpolator that this EmpiricalDistribution should use.