Add Distribution Fitting & Simulation Features to Your Applications |
||||||
SPA SDK Help Home • Learn More About the SPA SDK | ||||||
SPADistribution.CopyFrom (method)DescriptionCopies the distribution type, parameters, and other properties from another SPADistribution object. Syntax
object.CopyFrom(dist As SPADistribution)
Arguments
Example
Sub Test()
Dim dist1 As New SPADistribution
Dim dist2 As New SPADistribution
SPAApplication.Initialize
' specify the distribution type and parameters
dist1.Type = SPADistWeibull ' Weibull distribution
dist1.Param(0) = 1.5 ' alpha
dist1.Param(1) = 2 ' beta
' copy
Call dist2.CopyFrom(dist1)
End Sub
|
||||||
Copyright © MathWave Technologies www.mathwave.com |