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

Go to the source code of this file.

Namespaces

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

Macros

#define DISPATCH_LINALG_DTYPE_TO_TEMPLATE(DTYPE, ...)
 

Functions

void cloudViewer::core::OPEN3D_LAPACK_CHECK (CLOUDVIEWER_CPU_LINALG_INT info, const std::string &msg)
 

Macro Definition Documentation

◆ DISPATCH_LINALG_DTYPE_TO_TEMPLATE

#define DISPATCH_LINALG_DTYPE_TO_TEMPLATE (   DTYPE,
  ... 
)
Value:
[&] { \
if (DTYPE == cloudViewer::core::Float32) { \
using scalar_t = float; \
return __VA_ARGS__(); \
} else if (DTYPE == cloudViewer::core::Float64) { \
using scalar_t = double; \
return __VA_ARGS__(); \
} else { \
utility::LogError("Unsupported data type."); \
} \
}()
#define LogError(...)
Definition: Logging.h:60
const Dtype Float64
Definition: Dtype.cpp:43
const Dtype Float32
Definition: Dtype.cpp:42

Definition at line 23 of file LinalgUtils.h.