Open3D (C++ API)
0.19.0
Toggle main menu visibility
Loading...
Searching...
No Matches
cpp
open3d
core
linalg
LeastSquares.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - Open3D: www.open3d.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 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
LeastSquares
(
const
Tensor
& A,
const
Tensor
& B,
Tensor
& X);
17
18
#ifdef BUILD_CUDA_MODULE
19
void
LeastSquaresCUDA
(
void
* A_data,
20
void
* B_data,
21
int64_t m,
22
int64_t n,
23
int64_t k,
24
Dtype
dtype,
25
const
Device
& device);
26
#endif
27
28
#ifdef BUILD_SYCL_MODULE
29
void
LeastSquaresSYCL
(
void
* A_data,
30
void
* B_data,
31
int64_t m,
32
int64_t n,
33
int64_t k,
34
Dtype
dtype,
35
const
Device
& device);
36
#endif
37
38
void
LeastSquaresCPU
(
void
* A_data,
39
void
* B_data,
40
int64_t m,
41
int64_t n,
42
int64_t k,
43
Dtype
dtype,
44
const
Device
& device);
45
46
}
// namespace core
47
}
// namespace open3d
Tensor.h
open3d::core::Device
Definition
Device.h:18
open3d::core::Dtype
Definition
Dtype.h:20
open3d::core::Tensor
Definition
Tensor.h:32
open3d::core
Definition
AdvancedIndexing.cpp:15
open3d::core::LeastSquaresSYCL
void LeastSquaresSYCL(void *A_data, void *B_data, int64_t m, int64_t n, int64_t k, Dtype dtype, const Device &device)
Definition
LeastSquaresSYCL.cpp:19
open3d::core::LeastSquaresCUDA
void LeastSquaresCUDA(void *A_data, void *B_data, int64_t m, int64_t n, int64_t k, Dtype dtype, const Device &device)
Definition
LeastSquaresCUDA.cpp:24
open3d::core::LeastSquares
void LeastSquares(const Tensor &A, const Tensor &B, Tensor &X)
Solve AX = B with QR decomposition. A is a full-rank m x n matrix (m >= n).
Definition
LeastSquares.cpp:17
open3d::core::LeastSquaresCPU
void LeastSquaresCPU(void *A_data, void *B_data, int64_t m, int64_t n, int64_t k, Dtype dtype, const Device &device)
Definition
LeastSquaresCPU.cpp:15
open3d
Definition
PinholeCameraIntrinsic.cpp:16
Generated by
1.17.0