Files
Flux/include/numerics/dot.h
T
Bausager 6b8a7ab582
Sync public mirror / sync (push) Failing after 29s
refactor
almost complete. Need to doublecheck names for functions in *_serial.h
2026-01-18 17:51:05 +01:00

21 lines
490 B
C++

#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);
}
}