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.NumExperimental.AnalysisTable Class Reference

Generation of tables of analysis pooints. More...

Static Public Member Functions

static void CalculateGridUnitFactors (int numElements, bool centered, double growthFactor, double scalingFactor, ref List< double > factors)
 Calculates factors for a table of values between two points, and stores them to factors. More...
 
static void CalculateIntervalLenghts (List< double > nodes, ref List< double > lengths)
 Calculates lengths of subsequent intervals defined by the first list, and stores it to the second list. More...
 
static void CalculateIntervalLenghRatios (List< double > nodes, ref List< double > lengthRatios)
 Calculates length ratios between subsequent intervals defined by the first list, ans stores it to the second list. More...
 
static void ExampleTableFactors ()
 Examples for calculating table factors. More...
 

Detailed Description

Generation of tables of analysis pooints.

$A Igor Apr10;

Member Function Documentation

static void IG.NumExperimental.AnalysisTable.CalculateGridUnitFactors ( int  numElements,
bool  centered,
double  growthFactor,
double  scalingFactor,
ref List< double >  factors 
)
inlinestatic

Calculates factors for a table of values between two points, and stores them to factors.

Parameters
numElementsNumber of sampling points (elements). It should be greater than 1.
centeredif 0 then factors run from 0 to 1 (for a table is from the specified starting till hte end point), otherwise factors run from -1 to 1 (for tables centered in the starting point, ending in the end point and starting in the reflected end point across the start point).
growthFactorFactor by which length of successive intervals is increases to obtain table with intervals growing in geometric order. If the specified factor is 0 then it is set to 1.
scalingfactoradditional factor by which each factor is mutiplied. If centered!=0 and growthfactor>1 then intervals fall from -1 to 0 and grow from 0 to 1.
factorsOuptput - list where factors are stored.

$A Igor Apr10; TODO: replace all references of this method by GridGenerator1dBase.CalculateGridUnitFactors()!

References IG.Num.GridGenerator1dBase.CalculateGridUnitFactors().

static void IG.NumExperimental.AnalysisTable.CalculateIntervalLenghts ( List< double >  nodes,
ref List< double >  lengths 
)
inlinestatic

Calculates lengths of subsequent intervals defined by the first list, and stores it to the second list.

Parameters
nodesList containing nodes that define intervals.
lengthsList where interval lengths are stored.

TODO: replace all references of this method by GridGenerator1dBase.CalculateIntervalLenghts()!

References IG.Num.GridGenerator1dBase.CalculateIntervalLenghts().

static void IG.NumExperimental.AnalysisTable.CalculateIntervalLenghRatios ( List< double >  nodes,
ref List< double >  lengthRatios 
)
inlinestatic

Calculates length ratios between subsequent intervals defined by the first list, ans stores it to the second list.

Parameters
nodesList containing nodes that define intervals.
lengthRatiosList where interval length ratios are stored. This list has two elements less than the original list.

TODO: replace all references of this method by GridGenerator1dBase.CalculateIntervalLenghRatios()!

References IG.Num.GridGenerator1dBase.CalculateIntervalLenghRatios().

static void IG.NumExperimental.AnalysisTable.ExampleTableFactors ( )
inlinestatic

Examples for calculating table factors.

TODO: replace all references of this method by GridGenerator1dBase.ExampleTableFactors()!

References IG.Num.GridGenerator1dBase.ExampleTableFactors().


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