LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst::afw::math::detail::gpu::LinearInterp Struct Reference

#include <CudaLanczos.h>

Public Member Functions

 LinearInterp (SPoint2 par_o, SVec2 par_deltaX)
 difference of neighboring values of the function (the gradient) More...
 
SPoint2 Interpolate (int subX)
 Calculates a value of the interpolation function at subX. More...
 

Public Attributes

SPoint2 o
 
SVec2 deltaX
 defines the value at the origin More...
 

Detailed Description

Used for linear interpolation of a 2D function Z -> R*R

This class just defines a line which can be used to interpolate a segment of a function.

It does not specify which part of the function is interpolated.

Definition at line 127 of file CudaLanczos.h.

Constructor & Destructor Documentation

lsst::afw::math::detail::gpu::LinearInterp::LinearInterp ( SPoint2  par_o,
SVec2  par_deltaX 
)
inline

difference of neighboring values of the function (the gradient)

Definition at line 132 of file CudaLanczos.h.

132 : o(par_o), deltaX(par_deltaX) {};
SVec2 deltaX
defines the value at the origin
Definition: CudaLanczos.h:130

Member Function Documentation

SPoint2 lsst::afw::math::detail::gpu::LinearInterp::Interpolate ( int  subX)
inline

Calculates a value of the interpolation function at subX.

Definition at line 135 of file CudaLanczos.h.

136  {
137  return MovePoint(o, VecMul(deltaX,subX) );
138  }
SPoint2 MovePoint(SPoint2 p, SVec2 v)
Definition: CudaLanczos.h:94
SVec2 VecMul(SVec2 v, double m)
Definition: CudaLanczos.h:90
SVec2 deltaX
defines the value at the origin
Definition: CudaLanczos.h:130

Member Data Documentation

SVec2 lsst::afw::math::detail::gpu::LinearInterp::deltaX

defines the value at the origin

Definition at line 130 of file CudaLanczos.h.

SPoint2 lsst::afw::math::detail::gpu::LinearInterp::o

Definition at line 129 of file CudaLanczos.h.


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