Open3D (C++ API)  0.17.0
Tri.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 
15 // See documentation for `core::Tensor::Triu`.
16 void Triu(const Tensor& A, Tensor& output, const int diagonal = 0);
17 
18 // See documentation for `core::Tensor::Tril`.
19 void Tril(const Tensor& A, Tensor& output, const int diagonal = 0);
20 
21 // See documentation for `core::Tensor::Triul`.
22 void Triul(const Tensor& A,
23  Tensor& upper,
24  Tensor& lower,
25  const int diagonal = 0);
26 
27 } // namespace core
28 } // namespace open3d
void Triul(const Tensor &A, Tensor &upper, Tensor &lower, const int diagonal)
Definition: Tri.cpp:67
void Tril(const Tensor &A, Tensor &output, const int diagonal)
Definition: Tri.cpp:51
void Triu(const Tensor &A, Tensor &output, const int diagonal)
Definition: Tri.cpp:35
Definition: PinholeCameraIntrinsic.cpp:16