Open3D (C++ API)
0.19.0
Toggle main menu visibility
Loading...
Searching...
No Matches
cpp
open3d
core
linalg
Solve.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
Solve
(
const
Tensor
& A,
const
Tensor
& B,
Tensor
& X);
17
18
void
SolveCPU
(
void
* A_data,
19
void
* B_data,
20
void
* ipiv_data,
21
int64_t n,
22
int64_t k,
23
Dtype
dtype,
24
const
Device
& device);
25
26
#ifdef BUILD_SYCL_MODULE
27
void
SolveSYCL
(
void
* A_data,
28
void
* B_data,
29
void
* ipiv_data,
30
int64_t n,
31
int64_t k,
32
Dtype
dtype,
33
const
Device
& device);
34
#endif
35
36
#ifdef BUILD_CUDA_MODULE
37
void
SolveCUDA
(
void
* A_data,
38
void
* B_data,
39
void
* ipiv_data,
40
int64_t n,
41
int64_t k,
42
Dtype
dtype,
43
const
Device
& device);
44
#endif
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::SolveCUDA
void SolveCUDA(void *A_data, void *B_data, void *ipiv_data, int64_t n, int64_t k, Dtype dtype, const Device &device)
Definition
SolveCUDA.cpp:20
open3d::core::SolveCPU
void SolveCPU(void *A_data, void *B_data, void *ipiv_data, int64_t n, int64_t k, Dtype dtype, const Device &device)
Definition
SolveCPU.cpp:15
open3d::core::SolveSYCL
void SolveSYCL(void *A_data, void *B_data, void *ipiv_data, int64_t n, int64_t k, Dtype dtype, const Device &device)
Definition
SolveSYCL.cpp:19
open3d::core::Solve
void Solve(const Tensor &A, const Tensor &B, Tensor &X)
Solve AX = B with LU decomposition. A is a square matrix.
Definition
Solve.cpp:22
open3d
Definition
PinholeCameraIntrinsic.cpp:16
Generated by
1.17.0