Open3D (C++ API)  0.17.0
Inverse.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include "open3d/core/Tensor.h"
11 
12 namespace open3d {
13 namespace core {
14 
16 void Inverse(const Tensor& A, Tensor& output);
17 
18 void InverseCPU(void* A_data,
19  void* ipiv_data,
20  void* output_data,
21  int64_t n,
22  Dtype dtype,
23  const Device& device);
24 
25 #ifdef BUILD_CUDA_MODULE
26 void InverseCUDA(void* A_data,
27  void* ipiv_data,
28  void* output_data,
29  int64_t n,
30  Dtype dtype,
31  const Device& device);
32 #endif
33 
34 } // namespace core
35 } // namespace open3d
void InverseCPU(void *A_data, void *ipiv_data, void *output_data, int64_t n, Dtype dtype, const Device &device)
Definition: InverseCPU.cpp:15
void Inverse(const Tensor &A, Tensor &output)
Computes A^{-1} with LU factorization, where A is a N x N square matrix.
Definition: Inverse.cpp:18
void InverseCUDA(void *A_data, void *ipiv_data, void *output_data, int64_t n, Dtype dtype, const Device &device)
Definition: InverseCUDA.cpp:16
Definition: PinholeCameraIntrinsic.cpp:16