IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Num.ISampler Interface Reference

Interface representing sampling objects that produce a desired number of sampling points with a particular arrangement in space. More...

+ Inheritance diagram for IG.Num.ISampler:

Public Member Functions

void GetSamplingPoint (ref IVector samplingPoint)
 Creates the next sampling point and stores it to the specified vector. More...
 
void GetSamplingPoints (int numPoints, ref IVector[] samplingPoints)
 Creates the specified number of next sampling points and stores it to the specified array of vectors. More...
 

Properties

int SpaceDimension [get]
 

Detailed Description

Interface representing sampling objects that produce a desired number of sampling points with a particular arrangement in space.

$A Igor xx;

Member Function Documentation

void IG.Num.ISampler.GetSamplingPoint ( ref IVector  samplingPoint)

Creates the next sampling point and stores it to the specified vector.

Parameters
samplingPointVector where the generated sampling point is stored.

Implemented in IG.Num.SamplerUnitBallRandomFromCube, IG.Num.SamplerBoxRandomUniform, IG.Num.SamplerCubeRandomUniform, and IG.Num.SamplerBase.

Referenced by IG.Num.SamplerUnitBallRandomFromCube.TestSampleNorms(), and IG.Num.SamplerUnitBallRandomFromCube.TestSamplingSpeed().

void IG.Num.ISampler.GetSamplingPoints ( int  numPoints,
ref IVector[]  samplingPoints 
)

Creates the specified number of next sampling points and stores it to the specified array of vectors.

Parameters
samplingPointArray of vectors where the generated sampling points are stored.

In general, the storage array and its elements will be resized if necessary, in order to fit the number and dimension of sampling points.

Implemented in IG.Num.SamplerBase.

Property Documentation

int IG.Num.ISampler.SpaceDimension
get

The documentation for this interface was generated from the following file: