WeibullDataSet.AddFailure: 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}}
{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}}


This function can be used with Weibull++ to insert a failure point.
{{Template:WeibullDataSet.AddFailure}}


== Method Syntax ==
== Method Syntax ==

Revision as of 17:04, 29 January 2014



AddFailure( Value As Double , NumberInGroup As Integer )

Method Syntax

AddFailure( Value As Double , NumberInGroup As Integer )

Parameters

Value The failure point in time.

NumberInGroup The number of units that failed at the Value time.

Usage Example

Declare the WeibullDataSet. See New WeibullDataSet for additional details.

       Dim WDS as New WeibullDataSet

Add values to the raw data.

       WDS.AddFailure(1, 1)
       WDS.AddFailure(2, 1)
       WDS.AddFailure(3, 1)