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

Go to the source code of this file.

Functions

Value nk::linalg::cross (const Value &a, const Value &b, std::pmr::memory_resource *mr=nullptr)
 Cross product of two 3-vectors or 3 × N / N × 3 batches.
Value nk::linalg::cross (const Value &a, const Value &b, int dim, std::pmr::memory_resource *mr=nullptr)
 Cross product along a given dimension (cross(A, B, dim)).
Value nk::linalg::dot (const Value &a, const Value &b, std::pmr::memory_resource *mr=nullptr)
 Dot product of two equal-length vectors.
Value nk::linalg::dot (const Value &a, const Value &b, int dim, std::pmr::memory_resource *mr=nullptr)
 Dot product along a given dimension (dot(A, B, dim)).
Value nk::linalg::kron (const Value &a, const Value &b, std::pmr::memory_resource *mr=nullptr)
 Kronecker product (K = kron(A, B)).