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>