CModel Constructors

Constructors for the cModel class.

Syntax

 * cModel
 * cModel( ModelType, ModelCategory, ModelName , ModelParams)

Parameters
 * ModelType: The type of model (e.g., 2-parameter Weibull), specified with a ModelTypeEnum value. Not that some models cannot be created through the API (i.e., some can be created only within the user interface of a Synthesis application).
 * ModelCategory: The model category (e.g., reliability model), specified with a ModelCategoryEnum value.
 * ModelName: The model name.
 * ModelParams: An array of parameter values.

Usage Example
Dim newParams(1) As Double newParams(0) = 1 newParams(1) = 100 Dim newModel As New cModel(ModelTypeEnum.Weibull2,    ModelCategoryEnum.Reliability, "NewModel1", newParams) Dim newModel As New cModel(ModelTypeEnum.Weibull2,    ModelCategoryEnum.Reliability, "NewModel1", 1, 100)