Template Function lsst::afw::image::pixel::plus

Function Documentation

template<typename ExprT1, typename ExprT2>
ExprT1 lsst::afw::image::pixel::plus(ExprT1 &lhs, ExprT2 const &rhs, float covariance)

Like operator+(), but assume that covariance’s 2*alpha*sqrt(vx*vy)

Parameters
  • lhs: Left hand value

  • rhs: Right hand value

  • covariance: Assume that covariance is 2*alpha*sqrt(vx*vy) (if variances are known)