Open3D (C++ API)  0.12.0
Namespaces | Macros | Functions
LinalgUtils.h File Reference

(313315d (Wed Dec 23 23:39:47 2020 -0800))

#include <memory>
#include <string>
#include "open3d/core/Dtype.h"
#include "open3d/core/MemoryManager.h"
#include "open3d/core/linalg/LinalgHeadersCPU.h"
#include "open3d/core/linalg/LinalgHeadersCUDA.h"
#include "open3d/utility/Console.h"

Go to the source code of this file.

Namespaces

 open3d
 
 open3d::core
 

Macros

#define DISPATCH_LINALG_DTYPE_TO_TEMPLATE(DTYPE, ...)
 

Functions

void open3d::core::OPEN3D_LAPACK_CHECK (OPEN3D_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 == open3d::core::Dtype::Float32) { \
using scalar_t = float; \
return __VA_ARGS__(); \
} else if (DTYPE == open3d::core::Dtype::Float64) { \
using scalar_t = double; \
return __VA_ARGS__(); \
} else { \
utility::LogError("Unsupported data type."); \
} \
}()
void LogError(const char *format, const Args &... args)
Definition: Console.h:176
static const Dtype Float32
Definition: Dtype.h:42
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample playback_handle k4a_logging_message_cb_t void min_level device_handle k4a_imu_sample_t timeout_in_ms capture_handle capture_handle capture_handle image_handle float
Definition: K4aPlugin.cpp:465
static const Dtype Float64
Definition: Dtype.h:43