|
isce3 0.25.0
|
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] |
Simple class to store three-dimensional basis vectors.
|
inline |
Combine the basis with given weights.
| [in] | vec | 3D vector to use as weights |
| [out] | res | 3D vector output |
\[ res = \sum_{i=0}^2 vec[i] \cdot x_i \]
1.13.2.