numerics
Loading...
Searching...
No Matches
impl.hpp
Go to the documentation of this file.
1/// @file core/backends/simd/impl.hpp
2/// @brief Private declarations for the SIMD backend.
3/// Only included by src/core/vector.cpp and src/core/matrix.cpp.
4#pragma once
5#include "core/vector.hpp"
6#include "core/matrix.hpp"
7
8namespace num::backends::simd {
9
10void matmul(const Matrix& A, const Matrix& B, Matrix& C, idx block_size);
11void matvec(const Matrix& A, const Vector& x, Vector& y);
12
13} // namespace num::backends::simd
Matrix operations.
void matvec(const Matrix &A, const Vector &x, Vector &y)
Definition matrix.cpp:226
void matmul(const Matrix &A, const Matrix &B, Matrix &C, idx block_size)
Definition matrix.cpp:216
constexpr T ipow(T x) noexcept
Compute x^N at compile time via repeated squaring.
std::size_t idx
Definition types.hpp:11
BasicVector< real > Vector
Real-valued dense vector with full backend dispatch (CPU + GPU)
Definition vector.hpp:122
Vector operations.