Open3D (C++ API)  0.18.0
SVD.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 
17 void SVD(const Tensor& A, Tensor& U, Tensor& S, Tensor& VT);
18 
19 #ifdef BUILD_CUDA_MODULE
20 void SVDCUDA(const void* A_data,
21  void* U_data,
22  void* S_data,
23  void* VT_data,
24  void* superb_data,
25  int64_t m,
26  int64_t n,
27  Dtype dtype,
28  const Device& device);
29 #endif
30 
31 void SVDCPU(const void* A_data,
32  void* U_data,
33  void* S_data,
34  void* VT_data,
35  void* superb_data,
36  int64_t m,
37  int64_t n,
38  Dtype dtype,
39  const Device& device);
40 
41 } // namespace core
42 } // namespace open3d
void SVDCPU(const void *A_data, void *U_data, void *S_data, void *VT_data, void *superb_data, int64_t m, int64_t n, Dtype dtype, const Device &device)
Definition: SVDCPU.cpp:15
void SVDCUDA(const void *A_data, void *U_data, void *S_data, void *VT_data, void *superb_data, int64_t m, int64_t n, Dtype dtype, const Device &device)
Definition: SVDCUDA.cpp:16
void SVD(const Tensor &A, Tensor &U, Tensor &S, Tensor &VT)
Definition: SVD.cpp:17
Definition: PinholeCameraIntrinsic.cpp:16