CModel Constructors

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

Syntax
cModel(ModelType, ModelCategory, ModelName, ModelParams)

Parameters
ModelType
 * Required. The type of model (e.g., 2-parameter Weibull). Can be any of the model types listed in the table below. These model types are obtained from the ModelTypeEnum.

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

ModelName
 * Required. String. The model name.

ModelParams
 * Required. Double. An array of the model's parameters.

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)