refactor
Sync public mirror / sync (push) Failing after 29s

almost complete. Need to doublecheck names for functions in *_serial.h
This commit is contained in:
2026-01-18 17:51:05 +01:00
parent 9709949a5b
commit 6b8a7ab582
15 changed files with 383 additions and 523 deletions
+21
View File
@@ -0,0 +1,21 @@
#pragma once
#include "./core/omp_config.h"
#include "detail/dot_serial.h"
namespace numerics{
// ---------------- Vector * vector ----------------
template <typename T>
inline T dot(const utils::Vector<T>& v, const utils::Vector<T>& p) {
return detail::dot_serial(v,p);
}
// ---------------- Matrix * vector ----------------
template <typename T>
inline utils::Vector<T> dot(const utils::Matrix<T>& A, const utils::Vector<T>& v) {
return detail::dot_serial(A,v);
}
}