9#include "../seq/impl.hpp"
14#ifdef NUMERICS_HAS_CUDA
27#ifdef NUMERICS_HAS_CUDA
Dense row-major matrix with optional GPU storage.
constexpr idx rows() const noexcept
constexpr idx cols() const noexcept
void matmul(const Matrix &A, const Matrix &B, Matrix &C)
void matvec(const Matrix &A, const Vector &x, Vector &y)
void matmul(const Matrix &A, const Matrix &B, Matrix &C)
void matvec(const Matrix &A, const Vector &x, Vector &y)
void matmul(const real *A, const real *B, real *C, idx m, idx k, idx n)
C = A * B.
void matvec(const real *A, const real *x, real *y, idx rows, idx cols)
y = A * x (row-major A)