LSST Applications g0603fd7c41+d727c1d375,g124d44cf3d+604aa34adb,g180d380827+5ffeb7c294,g1afd7665f7+eb25d4c773,g2079a07aa2+86d27d4dc4,g2305ad1205+89e8e9cf63,g2bbee38e9b+44a02a0554,g337abbeb29+44a02a0554,g33d1c0ed96+44a02a0554,g3a166c0a6a+44a02a0554,g3d1719c13e+9a7b30876f,g487adcacf7+719c5abdea,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+85bc5ede60,g858d7b2824+9a7b30876f,g991b906543+9a7b30876f,g99cad8db69+8994cf29ec,g9b9dfce982+0fdee8fa3c,g9ddcbc5298+9a081db1e4,ga1e77700b3+03d07e1c1f,gb0e22166c9+60f28cb32d,gb23b769143+9a7b30876f,gb3a676b8dc+e2510deafe,gb4b16eec92+8df1cf93fe,gba4ed39666+c2a2e4ac27,gbb8dafda3b+7edb7fc777,gbd998247f1+585e252eca,gc120e1dc64+79b8551dca,gc28159a63d+44a02a0554,gc3e9b769f7+20d5ea8805,gcf0d15dbbd+0fdee8fa3c,gdaeeff99f8+f9a426f77a,ge79ae78c31+44a02a0554,gee10cc3b42+585e252eca,w.2024.19
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst::afw::image::pixel::variance_multiplies< T1 > Struct Template Reference

Calculate the variance when we multiply two Pixels. More...

#include <Pixel.h>

Public Member Functions

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

Detailed Description

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

Calculate the variance when we multiply 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 376 of file Pixel.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 383 of file Pixel.h.

383{ return vx * y * y; }
int y
Definition SpanSet.cc:48

◆ operator()() [2/2]

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

Definition at line 377 of file Pixel.h.

377 {
378 T1 const x2 = x * x;
379 T1 const y2 = y * y;
380 return x2 * vy + y2 * vx;
381 }

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