Struct to hold calculated Sobol sensitivity indices.
More...
#include <sobol.h>
|
| double | getFirstOrder (size_t i) const |
| | Gets the first-order Sobol index for input parameter \( i \).
|
| |
| double | getTotalOrder (size_t i) const |
| | Gets the total-order Sobol index for input parameter \( i \).
|
| |
| double | getSecondOrder (size_t i, size_t j) const |
| | Gets the second-order Sobol index for interaction between parameters \( i \) and \( j \).
|
| |
|
| Eigen::VectorXd | firstOrder |
| | Vector storing the first-order (main effect) Sobol indices.
|
| |
| Eigen::VectorXd | totalOrder |
| | Vector storing the total-order Sobol indices.
|
| |
| Eigen::VectorXd | secondOrder |
| | Vector storing the second-order (interaction effect) Sobol indices (if computed).
|
| |
Struct to hold calculated Sobol sensitivity indices.
- Stores the resultant vectors for main effects, total effects, and optional interaction effects calculated from a variance-based sensitivity analysis.
◆ getFirstOrder()
| double cmp::sobol::SobolResults::getFirstOrder |
( |
size_t |
i | ) |
const |
|
inline |
Gets the first-order Sobol index for input parameter \( i \).
- Parameters
-
| i | Index of the input parameter. |
- Returns
- First-order Sobol index value \( S_i \).
- Exceptions
-
| std::out_of_range | If the requested index is out of bounds. |
◆ getSecondOrder()
| double cmp::sobol::SobolResults::getSecondOrder |
( |
size_t |
i, |
|
|
size_t |
j |
|
) |
| const |
|
inline |
Gets the second-order Sobol index for interaction between parameters \( i \) and \( j \).
- Computes the 1D flat index for the upper triangular portion (excluding diagonal) mapping \((i, j)\).
- Parameters
-
| i | Index of the first parameter. |
| j | Index of the second parameter. |
- Returns
- Second-order Sobol index value \( S_{ij} \).
- Exceptions
-
| std::logic_error | If second-order indices were not computed. |
| std::out_of_range | If indices exceed parameter bounds. |
| std::invalid_argument | If \( i = j \). |
◆ getTotalOrder()
| double cmp::sobol::SobolResults::getTotalOrder |
( |
size_t |
i | ) |
const |
|
inline |
Gets the total-order Sobol index for input parameter \( i \).
- Parameters
-
| i | Index of the input parameter. |
- Returns
- Total-order Sobol index value \( S_{Ti} \).
- Exceptions
-
| std::out_of_range | If the requested index is out of bounds. |
◆ firstOrder
| Eigen::VectorXd cmp::sobol::SobolResults::firstOrder |
Vector storing the first-order (main effect) Sobol indices.
◆ secondOrder
| Eigen::VectorXd cmp::sobol::SobolResults::secondOrder |
Vector storing the second-order (interaction effect) Sobol indices (if computed).
◆ totalOrder
| Eigen::VectorXd cmp::sobol::SobolResults::totalOrder |
Vector storing the total-order Sobol indices.
The documentation for this struct was generated from the following file: