pops-core  0.9
PoPS (Pest or Pathogen Spread) Model Core C++ library
Classes | Namespaces | Functions
raster.hpp File Reference
#include <iostream>
#include <cmath>
#include <algorithm>
#include <stdexcept>
#include <initializer_list>
#include <type_traits>
Include dependency graph for raster.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pops::Raster< Number, Index >
 Representation of a raster image. More...
 

Namespaces

 pops
 

Functions

template<class InputIt1 , class InputIt2 , class BinaryOperation >
BinaryOperation pops::for_each_zip (InputIt1 first1, InputIt1 last1, InputIt2 first2, BinaryOperation f)
 Iterate over two ranges and apply a binary function which modifies the first parameter. More...
 
template<typename LeftNumber , typename RightNumber , typename ResultNumber = typename std::common_type<LeftNumber, RightNumber>::type>
Raster< ResultNumber > pops::operator+ (const Raster< LeftNumber > &lhs, const Raster< RightNumber > &rhs)
 
template<typename LeftNumber , typename RightNumber , typename ResultNumber = typename std::common_type<LeftNumber, RightNumber>::type>
Raster< ResultNumber > pops::operator- (const Raster< LeftNumber > &lhs, const Raster< RightNumber > &rhs)
 
template<typename LeftNumber , typename RightNumber , typename ResultNumber = typename std::common_type<LeftNumber, RightNumber>::type>
Raster< ResultNumber > pops::operator* (const Raster< LeftNumber > &lhs, const Raster< RightNumber > &rhs)
 
template<typename LeftNumber , typename RightNumber , typename ResultNumber = typename std::common_type<LeftNumber, RightNumber>::type>
Raster< ResultNumber > pops::operator/ (const Raster< LeftNumber > &lhs, const Raster< RightNumber > &rhs)