CModel Constructors

A parameterized constructor for the cModel class. (VisualBasic.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 parameter values. (Required)

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