Example: Function call: entropyr(matrix_6).
matrix_6:
x1 |
x2 |
x3 |
x4 |
0.1 |
0.2 |
0.5 |
0.2 |
The matrix_6 is in file matrix_6.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).
Relative Entropy is calculated at point_1:
component_name |
value |
x1 x2 x3 x4 |
0.25 0.25 0.25 0.25 |
The point point_1 is in file point_1.txt (see, PSG Point).
To calculate entropyr at point_1 run problem in file problem_entropyr.txt (see, Calculate Problem):
calculate
Point: point_1
Value:
entropyr(matrix_6)
Value of entropyr(matrix_6) at point_1 equals 0.167358
Files problem_entropyr.txt, matrix_6.txt and point_1.txt are in folder .\Aorda\PSG\Examples\Functions\entropyr_test.