nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
#include <complex>
#include <functional>
#include <memory_resource>
#include <string>
#include <nk/value/value.hpp>

Go to the source code of this file.

Functions

Value nk::linalg::expm (const Value &A, std::pmr::memory_resource *mr=nullptr)
 Matrix exponential (B = expm(A)).
Value nk::linalg::logm_sym (const Value &A, std::pmr::memory_resource *mr=nullptr)
 Matrix logarithm for symmetric positive-definite A.
Value nk::linalg::sqrtm_sym (const Value &A, std::pmr::memory_resource *mr=nullptr)
 Matrix square root for symmetric PSD A.
Value nk::linalg::sqrtm (const Value &A, std::pmr::memory_resource *mr=nullptr)
 Matrix square root for general square matrix A (R = sqrtm(A)).
Value nk::linalg::logm (const Value &A, std::pmr::memory_resource *mr=nullptr)
 Matrix logarithm for general square matrix A (L = logm(A)).
Value nk::linalg::sylvester (const Value &A, const Value &B, const Value &C, std::pmr::memory_resource *mr=nullptr)
 Solve Sylvester equation A · X + X · B = C (X = sylvester(A, B, C)).
Value nk::linalg::expmv (double t, const Value &A, const Value &v, std::pmr::memory_resource *mr=nullptr)
 Action of matrix exponential on a vector (w = expmv(t, A, v)).
Value nk::linalg::funm (const Value &A, std::function< std::complex< double >(std::complex< double >)> f, std::pmr::memory_resource *mr=nullptr)
 General matrix function evaluator funm(A, fun).
Value nk::linalg::funm (const Value &A, const std::string &fnName, std::pmr::memory_resource *mr=nullptr)
 General matrix function evaluator by string name ('exp', 'sin', 'cos', 'sinh', 'cosh').