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), specified with a ModelTypeEnum enumeration value.

ModelCategory
 * The model category (e.g., reliability model), specified with a ModelCategoryEnum enumeration value.

ModelName
 * String. The model name.

ModelParams
 * Double. An array of parameter values.

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)