ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
SVD3x3.h File Reference
Include dependency graph for SVD3x3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  cloudViewer::core::linalg::kernel::un< scalar_t >
 

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::core
 
 cloudViewer::core::linalg
 
 cloudViewer::core::linalg::kernel
 

Macros

#define gone   1065353216
 
#define gsine_pi_over_eight   1053028117
 
#define gcosine_pi_over_eight   1064076127
 
#define gtiny_number   1.e-20
 
#define gfour_gamma_squared   5.8284273147583007813
 
#define __fadd_rn(x, y)   (x + y)
 
#define __fsub_rn(x, y)   (x - y)
 
#define __frsqrt_rn(x)   (1.0 / sqrt(x))
 
#define __dadd_rn(x, y)   (x + y)
 
#define __dsub_rn(x, y)   (x - y)
 
#define __drsqrt_rn(x)   (1.0 / sqrt(x))
 
#define __add_rn(x, y)   (x + y)
 
#define __sub_rn(x, y)   (x - y)
 
#define __rsqrt_rn(x)   (1.0 / sqrt(x))
 

Functions

template<typename scalar_t >
CLOUDVIEWER_DEVICE CLOUDVIEWER_FORCE_INLINE void cloudViewer::core::linalg::kernel::svd3x3 (const scalar_t *A_3x3, scalar_t *U_3x3, scalar_t *S_3x1, scalar_t *V_3x3)
 
template<>
CLOUDVIEWER_DEVICE CLOUDVIEWER_FORCE_INLINE void cloudViewer::core::linalg::kernel::svd3x3< double > (const double *A_3x3, double *U_3x3, double *S_3x1, double *V_3x3)
 
template<>
CLOUDVIEWER_DEVICE CLOUDVIEWER_FORCE_INLINE void cloudViewer::core::linalg::kernel::svd3x3< float > (const float *A_3x3, float *U_3x3, float *S_3x1, float *V_3x3)
 
template<typename scalar_t >
CLOUDVIEWER_DEVICE CLOUDVIEWER_FORCE_INLINE void cloudViewer::core::linalg::kernel::solve_svd3x3 (const scalar_t *A_3x3, const scalar_t *B_3x1, scalar_t *X_3x1)
 

Macro Definition Documentation

◆ __add_rn

#define __add_rn (   x,
 
)    (x + y)

Definition at line 70 of file SVD3x3.h.

◆ __dadd_rn

#define __dadd_rn (   x,
 
)    (x + y)

Definition at line 66 of file SVD3x3.h.

◆ __drsqrt_rn

#define __drsqrt_rn (   x)    (1.0 / sqrt(x))

Definition at line 68 of file SVD3x3.h.

◆ __dsub_rn

#define __dsub_rn (   x,
 
)    (x - y)

Definition at line 67 of file SVD3x3.h.

◆ __fadd_rn

#define __fadd_rn (   x,
 
)    (x + y)

Definition at line 62 of file SVD3x3.h.

◆ __frsqrt_rn

#define __frsqrt_rn (   x)    (1.0 / sqrt(x))

Definition at line 64 of file SVD3x3.h.

◆ __fsub_rn

#define __fsub_rn (   x,
 
)    (x - y)

Definition at line 63 of file SVD3x3.h.

◆ __rsqrt_rn

#define __rsqrt_rn (   x)    (1.0 / sqrt(x))

Definition at line 72 of file SVD3x3.h.

◆ __sub_rn

#define __sub_rn (   x,
 
)    (x - y)

Definition at line 71 of file SVD3x3.h.

◆ gcosine_pi_over_eight

#define gcosine_pi_over_eight   1064076127

Definition at line 42 of file SVD3x3.h.

◆ gfour_gamma_squared

#define gfour_gamma_squared   5.8284273147583007813

Definition at line 44 of file SVD3x3.h.

◆ gone

#define gone   1065353216

Definition at line 39 of file SVD3x3.h.

◆ gsine_pi_over_eight

#define gsine_pi_over_eight   1053028117

Definition at line 40 of file SVD3x3.h.

◆ gtiny_number

#define gtiny_number   1.e-20

Definition at line 43 of file SVD3x3.h.