isce3 0.25.0
Loading...
Searching...
No Matches
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.
 
CUDA_HOST gpuBasis (const isce3::core::Basis &basis)
 Constructor from CPU Basis.
 
CUDA_DEV void combine (double *vec, double *res)
 Combine the basis with given weights.
 

Public Attributes

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

Detailed Description

Simple class to store three-dimensional basis vectors.

Member Function Documentation

◆ combine()

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.13.2.