Difference between revisions of "CModel Constructors"

From ReliaWiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}{{DISPLAYTITLE:cModel Constructors}}
{{Template:APIClass|cModel_Class|cModel}}{{DISPLAYTITLE:cModel Constructors}}
Constructors for the [[cModel_Class|cModel]] class.
Constructors for the [[cModel_Class|cModel]] class.

Revision as of 16:29, 6 March 2014

Constructors for the cModel class.


  • cModel() Creates an empty model (use SetModel method to set the model name, type, category and parameters).
  • cModel( ModelTypeAs ModelTypeEnum, ModelCategory As ModelCategoryEnum, ModelName As String,ParamArray ModelParams()As Double) Creates a new model using the provided model type, category, name and parameters.


ModelType: The type of model (e.g., 2-parameter Weibull), specified with a ModelTypeEnum value.
ModelCategory: The model category (e.g., reliability model), specified with a ModelCategoryEnum value.
ModelName: The model name.
ModelParams(): An array of parameter values.