ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
matrix_vector_product.hpp File Reference
#include "utils/get.hpp"
#include <array>
#include <cstddef>
#include <utility>
+ Include dependency graph for matrix_vector_product.hpp:

Go to the source code of this file.

Namespaces

namespace  Utils
 

Functions

template<typename T , std::size_t N, const std::array< std::array< int, N >, N > & matrix, typename Container >
constexpr std::array< T, N > Utils::matrix_vector_product (const Container &vec)
 Calculate the matrix-vector product for a statically given (square) matrix.