nk
1.0.0
C++ Numerical Computing Runtime
Toggle main menu visibility
Loading...
Searching...
No Matches
ordschur.hpp
Go to the documentation of this file.
1
3
// toolboxes/linalg/include/nk/linalg/ordschur.hpp
4
//
5
// Reorder Schur decomposition: [US, TS] = ordschur(U, T, select)
6
7
#pragma once
8
9
#include <memory_resource>
10
#include <string>
11
#include <tuple>
12
#include <vector>
13
#include <nk/value/value.hpp>
14
15
namespace
nk::linalg {
16
19
20
23
std::tuple<Value, Value>
ordschur
(
const
Value
&U,
const
Value
&T,
24
const
Value
&select,
25
std::pmr::memory_resource *mr =
nullptr
);
26
29
std::tuple<Value, Value>
ordschur
(
const
Value
&U,
const
Value
&T,
30
const
std::string &domain,
31
std::pmr::memory_resource *mr =
nullptr
);
32
33
35
}
// namespace nk::linalg
nk::Value
Core MATLAB-compatible multidimensional array and scalar value type.
Definition
value.hpp:61
nk::linalg::ordschur
std::tuple< Value, Value > ordschur(const Value &U, const Value &T, const Value &select, std::pmr::memory_resource *mr=nullptr)
Reorder Schur decomposition A = U * T * U^H using a boolean select vector.
src
toolboxes
linalg
include
nk
linalg
ordschur.hpp
Generated by
1.17.0