Loading [MathJax]/jax/input/TeX/config.js
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
matrix.hpp File Reference

Matrix implementation and trait types for boost qvm interoperability. More...

#include "utils/Array.hpp"
#include "utils/Vector.hpp"
#include "utils/flatten.hpp"
#include <algorithm>
#include <array>
#include <cassert>
#include <cstddef>
#include <type_traits>
#include <utility>
#include <boost/qvm/mat_operations.hpp>
#include <boost/qvm/vec_mat_operations.hpp>
#include <boost/qvm/vec_operations.hpp>
#include <boost/qvm/deduce_mat.hpp>
#include <boost/qvm/deduce_scalar.hpp>
#include <boost/qvm/deduce_vec.hpp>
#include <boost/qvm/map_mat_mat.hpp>
#include <boost/qvm/map_mat_vec.hpp>
#include <boost/qvm/map_vec_mat.hpp>
#include <boost/qvm/mat.hpp>
#include <boost/qvm/mat_access.hpp>
#include <boost/qvm/mat_traits.hpp>
+ Include dependency graph for matrix.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Utils::Matrix< T, Rows, Cols >
 Matrix representation with static size. More...
 
struct  boost::qvm::mat_traits< Utils::Matrix< T, Rows, Cols > >
 
struct  boost::qvm::deduce_vec2< Utils::Matrix< T, 2, 2 >, Utils::Vector< U, 2 >, 2 >
 
struct  boost::qvm::deduce_vec2< Utils::Matrix< T, 3, 3 >, Utils::Vector< U, 3 >, 3 >
 
struct  boost::qvm::deduce_vec2< Utils::Matrix< T, 4, 4 >, Utils::Vector< U, 4 >, 4 >
 
struct  boost::qvm::deduce_vec2< Utils::Matrix< T, 2, 3 >, Utils::Vector< U, 3 >, 2 >
 
struct  boost::qvm::deduce_mat2< Utils::Matrix< T, 3, 3 >, Utils::Matrix< U, 3, 3 >, 3, 3 >
 

Namespaces

namespace  Utils
 
namespace  boost
 
namespace  boost::qvm
 

Functions

template<typename T , std::size_t M, std::size_t N>
Utils::Vector< T, M *N > Utils::flatten (Matrix< T, M, N > const &m)
 
template<typename T , std::size_t Rows, std::size_t Cols>
Matrix< T, Rows, Cols > Utils::diagonal_mat (Utils::Vector< T, Rows > const &v)
 
template<typename T , std::size_t Rows, std::size_t Cols>
Matrix< T, Rows, Cols > Utils::identity_mat ()
 

Detailed Description

Matrix implementation and trait types for boost qvm interoperability.

Definition in file matrix.hpp.