nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
qz.hpp
Go to the documentation of this file.
1
3// toolboxes/linalg/include/nk/linalg/qz.hpp
4//
5// Generalized Schur decomposition: [AA, BB, Q, Z] = qz(A, B)
6
7#pragma once
8
9#include <memory_resource>
10#include <tuple>
11#include <nk/value/value.hpp>
12
13namespace nk::linalg {
14
17
18
23std::tuple<Value, Value, Value, Value> qz(const Value &A, const Value &B,
24 std::pmr::memory_resource *mr = nullptr);
25
26
28} // namespace nk::linalg
Core MATLAB-compatible multidimensional array and scalar value type.
Definition value.hpp:61
std::tuple< Value, Value, Value, Value > qz(const Value &A, const Value &B, std::pmr::memory_resource *mr=nullptr)
Generalized Schur decomposition of matrix pair (A, B).