STIR
6.2.0
|
Declaration of stir::integrate_discrete_function function. More...
#include "stir/common.h"
#include <vector>
#include <iostream>
#include <cstring>
#include <iomanip>
#include <fstream>
#include "stir/numerics/integrate_discrete_function.inl"
Go to the source code of this file.
Namespaces | |
stir | |
Namespace for the STIR library (and some/most of its applications) | |
Functions | |
template<typename elemT > | |
elemT | stir::integrate_discrete_function (const std::vector< elemT > &coordinates, const std::vector< elemT > &values, const int interpolation_order=1) |
numerical integration of a 1D functionThis is a simple integral implementation using rectangular (=0) or trapezoidal (=1) approximation. It currently integrates over the complete range specified. More... | |
Declaration of stir::integrate_discrete_function function.