Attention

This function is available in C++ and Python only.

OEGridAvgVal

template<class GridType>
GridType OEGridAvgVal(const OEFixedGrid<GridType> &grid)

Returns the average value of the grid.

The following specializations exist for this template:

OEDoubleGridAvgVal

OESystem::OEGridAvgVal<double>

OEFloatGridAvgVal

OESystem::OEGridAvgVal<float>

OEIntGridAvgVal

OESystem::OEGridAvgVal<int>