CModel Constructors: Difference between revisions

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


== Syntax ==
== Syntax ==
*WeibullDataSet()                                                {{APIComment|{{Template:WeibullDataSet_Constructors1.Cmt}}}}
*cModel()                                                {{APIComment|{{Template:WeibullDataSet_Constructors1.Cmt}}}}
*WeibullDataSet( ModelType{{APIPrefix|As ModelTypeEnum}}, ModelCategory {{APIPrefix|As ModelCategoryEnum}}, ModelName {{APIPrefix|As String}},{{APIPrefix|ParamArray}} ModelParams(){{APIPrefix|As Double}})                    {{APIComment|{{Template:WeibullDataSet_Constructors2.Cmt}}}}
*cModel( ModelType{{APIPrefix|As ModelTypeEnum}}, ModelCategory {{APIPrefix|As ModelCategoryEnum}}, ModelName {{APIPrefix|As String}},{{APIPrefix|ParamArray}} ModelParams(){{APIPrefix|As Double}})                    {{APIComment|{{Template:WeibullDataSet_Constructors2.Cmt}}}}


Parameters
Parameters

Revision as of 18:06, 21 February 2014


Constructors for the cModel class.

Syntax

  • cModel() Creates a new WeibullDataSet object with an empty data set name.
  • cModel( 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.