isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
isce3::cuda::core::gpuBasis Class Reference

Simple class to store three-dimensional basis vectors. More...

#include <gpuBasis.h>

Public Member Functions

CUDA_HOSTDEV gpuBasis ()
 Default constructor.
 
CUDA_HOSTDEV gpuBasis (double *x0, double *x1, double *x2)
 Constructor with basis vectors. More...
 
CUDA_HOST gpuBasis (const isce3::core::Basis &basis)
 Constructor from CPU Basis. More...
 
CUDA_DEV void combine (double *vec, double *res)
 Combine the basis with given weights. More...
 

Public Attributes

double x0 [3]
 
double x1 [3]
 
double x2 [3]
 

Detailed Description

Simple class to store three-dimensional basis vectors.

Constructor & Destructor Documentation

CUDA_HOSTDEV isce3::cuda::core::gpuBasis::gpuBasis ( double *  x0,
double *  x1,
double *  x2 
)
inline

Constructor with basis vectors.

CUDA_HOST isce3::cuda::core::gpuBasis::gpuBasis ( const isce3::core::Basis basis)
inline

Constructor from CPU Basis.

Member Function Documentation

CUDA_DEV void isce3::cuda::core::gpuBasis::combine ( double *  vec,
double *  res 
)
inline

Combine the basis with given weights.

Parameters
[in]vec3D vector to use as weights
[out]res3D vector output

\[ res = \sum_{i=0}^2 vec[i] \cdot x_i \]


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

Generated for ISCE3.0 by doxygen 1.8.5.