CModel Constructors

A parameterized constructor for the cModel class. (.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. The model types are part of 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. The table below shows the order of the parameters in the array, for each type of model.

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)