IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
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... | |
Generation of tables of analysis pooints.
$A Igor Apr10;
|
inlinestatic |
Calculates factors for a table of values between two points, and stores them to factors.
numElements | Number of sampling points (elements). It should be greater than 1. |
centered | if 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). |
growthFactor | Factor 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. |
scalingfactor | additional 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. |
factors | Ouptput - list where factors are stored. |
$A Igor Apr10; TODO: replace all references of this method by GridGenerator1dBase.CalculateGridUnitFactors()!
References IG.Num.GridGenerator1dBase.CalculateGridUnitFactors().
|
inlinestatic |
Calculates lengths of subsequent intervals defined by the first list, and stores it to the second list.
nodes | List containing nodes that define intervals. |
lengths | List where interval lengths are stored. |
TODO: replace all references of this method by GridGenerator1dBase.CalculateIntervalLenghts()!
References IG.Num.GridGenerator1dBase.CalculateIntervalLenghts().
|
inlinestatic |
Calculates length ratios between subsequent intervals defined by the first list, ans stores it to the second list.
nodes | List containing nodes that define intervals. |
lengthRatios | List 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().
|
inlinestatic |
Examples for calculating table factors.
TODO: replace all references of this method by GridGenerator1dBase.ExampleTableFactors()!
References IG.Num.GridGenerator1dBase.ExampleTableFactors().