<< nisp_productsa Test Functions nisp_sumsa >>

NISP >> NISP > Test Functions > nisp_sum

nisp_sum

Returns the value of the sum function

Calling Sequence

y = nisp_sum ( x , a )

Parameters

a:

a (nx+1)-by-1 or 1-by-(nx+1) matrix of doubles, where nx is the number of parameters

x:

a np-by-nx matrix of doubles, where np is the number of experiments.

y:

a np-by-1 matrix of doubles

Description

This function returns the value of the Sum function.

This function is defined by

where X(i) are random variables with mean mu(i) and standard variation sigma(i), for i=1,2,...,nx.

Examples

// With p=4 parameters and np=2 experiments.
x = [
1 2 3 4
5 6 7 8
];
a = [5 6 7 8 9]';
y = nisp_sum (x,a)
expected = [
79
183
];

Authors

Bibliography

"Sensitivity analysis in practice", Saltelli, Tarantolla, Compolongo, Ratto, Wiley, 2004

"An importance quantification technique in uncertainty analysis for computer models", Ishigami, Homma, 1990, Proceedings of the ISUMA'90. First international symposium on uncertainty modelling and Analysis, University of Maryland, USA, pp. 398-403.


Report an issue
<< nisp_productsa Test Functions nisp_sumsa >>