LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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 deltaX
defines the value at the origin
Definition: CudaLanczos.h:130
SVec2 VecMul(SVec2 v, double m)
Definition: CudaLanczos.h:90

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: