Simulation & Probabilistic Analysis SDK
Add Distribution Fitting & Simulation Features to Your Applications

SPA SDK Help HomeLearn More About the SPA SDK

SPADataSet.NumPoints (property, read-only)

Description

Returns the number of data points in a data set.

Syntax

object.NumPoints

Return Value

(Long) - the number of data points.

Example

Sub Test()
  Dim dataSet As New SPADataSet
  SPAApplication.Initialize

  ' specify the data
  data(0) = 1.5
  data(1) = 3.2
  data(2) = 9.6
  data(3) = 4.1
  data(4) = 7.8

  ' assign the data
  dataSet.Assign(SPADomainContinuous, SPADataSample, data, empty) 

  MsgBox "The sample size is " & dataSet.NumPoints
End Sub
  
Copyright © MathWave Technologies
www.mathwave.com