10#include <memory_resource>
13#include <nk/value/value.hpp>
46std::pair<Value, Value>
Core MATLAB-compatible multidimensional array and scalar value type.
Value istriu(const Value &A, std::pmr::memory_resource *mr=nullptr)
Upper-triangular structure (tf = istriu(A)).
Value ishermitian(const Value &A, bool skew=false, std::pmr::memory_resource *mr=nullptr)
Hermitian test (tf = ishermitian(A, skew)).
Value isbanded(const Value &A, long lower, long upper, std::pmr::memory_resource *mr=nullptr)
Banded structure test (tf = isbanded(A, lower, upper)).
Value istril(const Value &A, std::pmr::memory_resource *mr=nullptr)
Lower-triangular structure (tf = istril(A)).
Value issymmetric(const Value &A, bool skew=false, std::pmr::memory_resource *mr=nullptr)
Symmetry test (tf = issymmetric(A, skew)).
std::pair< Value, Value > bandwidth(const Value &A, std::pmr::memory_resource *mr=nullptr)
Bandwidth pair ([lower, upper] = bandwidth(A)).
Value bandwidthOpt(const Value &A, const std::string &which, std::pmr::memory_resource *mr=nullptr)
Single-output bandwidth selector (x = bandwidth(A, which)).
Value isdiag(const Value &A, std::pmr::memory_resource *mr=nullptr)
Diagonal structure (tf = isdiag(A)). True iff isbanded(A, 0, 0).