Example: Function call: var_comp_neg(0.7,matrix_6).Parameter = 0.7 and matrix_6:

 

x1

x2

x3

x4

1

4

8

3

 

The matrix_6 is in file matrix_1.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).

VaR Component Negative 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 var_comp_neg at point_1 run problem in file problem_var_comp_neg.txt (see, Calculate Problem):

 

calculate

Point: point_1

Value:

 var_comp_neg(0.7, matrix_6)

 

Value of var_comp_neg(0.7, matrix_6) at point_1 equals -3.2

Files problem_var_comp_neg.txt, matrix_6.txt, and point_1.txt are in folder .\Aorda\PSG\Examples\Functions\var_comp_neg_test.