LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst::afw::image::pixel::variance_plus< T1 > Struct Template Reference

Calculate the variance when we add (or subtract) two Pixels. More...

#include <Pixel.h>

Public Member Functions

T1 operator() (T1 const &, T1 const &, T1 const &vx, T1 const &vy) const
 
T1 operator() (T1 const &, T1 const &, T1 const &vx) const
 

Detailed Description

template<typename T1>
struct lsst::afw::image::pixel::variance_plus< T1 >

Calculate the variance when we add (or subtract) two Pixels.

Note
We provide a single-operand version for when the right-hand-side of an expression is a scalar, not a masked pixel,

Definition at line 51 of file Pixel.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename T1 >
T1 lsst::afw::image::pixel::variance_plus< T1 >::operator() ( T1 const &  ,
T1 const &  ,
T1 const &  vx,
T1 const &  vy 
) const
inline

Definition at line 393 of file Pixel.h.

393 { return vx + vy; }

◆ operator()() [2/2]

template<typename T1 >
T1 lsst::afw::image::pixel::variance_plus< T1 >::operator() ( T1 const &  ,
T1 const &  ,
T1 const &  vx 
) const
inline

Definition at line 395 of file Pixel.h.

395 { return vx; }

The documentation for this struct was generated from the following file: