Example: Function call: quadratic(matrix_5).
matrix_5:
x1 |
x2 |
x3 |
x4 |
scenario_benchmark |
11 7 |
3 2 |
2 6 |
0 16 |
9 1 |
The matrix_5 is in file matrix_5.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).
Quadratic function is calculated at point_1:
component_name |
value |
x1 x2 x3 x4 |
1 1 1 1 |
The point point_1 is in file point_1.txt (see, PSG Point).
To calculate quadratic at point_1 run problem in file problem_quadratic.txt (see, Calculate Problem):
calculate
Point: point_1
Value:
quadratic(matrix_5)
Value of quadratic(matrix_5) at point_1 equals 57
Files problem_quadratic.txt, matrix_5.txt, and point_1.txt are in folder .\Aorda\PSG\Examples\Functions\quadratic_test.