Difference between revisions of "CModel Constructors"

From ReliaWiki
Jump to navigation Jump to search
Line 10: Line 10:
 
:''ModelCategory'': The model category (e.g., reliability model), specified with a [[ModelCategoryEnum]] value.
 
:''ModelCategory'': The model category (e.g., reliability model), specified with a [[ModelCategoryEnum]] value.
 
:''ModelName'': The model name.
 
:''ModelName'': The model name.
:''ModelParams'': An array of parameter values. The parameters should be specified as described in [[Parameter Arrays]].
+
:''ModelParams()'': An array of parameter values. The parameters should be specified as described in [[Parameter Arrays]].

Revision as of 22:11, 20 February 2014


Constructors for the WeibullDataSet class.

Syntax

  • WeibullDataSet() Creates a new WeibullDataSet object with an empty data set name.
  • WeibullDataSet( ModelTypeAs ModelTypeEnum, ModelCategory As ModelCategoryEnum, ModelName As String,ParamArray ModelParams()As Double) Creates a new WeibullDataSet object with the user-specified data set name.

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. The parameters should be specified as described in Parameter Arrays.