CModel Constructors

A parameterized constructor for the cModel class. (VB.NET only)

Syntax
cModel(ModelType, ModelCategory, ModelName, ModelParams)

Parameters
ModelType
 * The type of model (e.g., 2-parameter Weibull). Can be any ModelTypeEnum constant. (Required)

ModelCategory
 * The model category (e.g., reliability model). Can be any ModelCategoryEnum constant. (Required)

ModelName
 * String. The model name. (Required)

ModelParams
 * Double. An array of the model's parameters. (Optional)

Example
VB.NET ModelParams(1) ModelParams(0) = 1 ModelParams(1) = 100 newModel cModel(ModelTypeEnum.Weibull2,ModelCategoryEnum.Reliability,, ModelParams) newModel cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability,, 1, 100)