Molecular Dynamics Simulation
1.0
|
#include <omp.h>
#include <algorithm>
#include <array>
#include <cmath>
#include <list>
#include <map>
#include <numeric>
#include <set>
#include <sstream>
#include <unordered_map>
#include <unordered_set>
#include <vector>
Go to the source code of this file.
Namespaces | |
ArrayUtils | |
Collection of utility functions and operators for iterable data containers. | |
ArrayUtils::is_container_impl | |
Type trait to check if a given type is a container. | |
Functions | |
template<class Container > | |
std::string | ArrayUtils::to_string (const Container &container, const std::string &delimiter=", ", const std::array< std::string, 2 > &surround={"[", "]"}) |
template<class Container , class F > | |
Container | ArrayUtils::elementWisePairOp (const Container &lhs, const Container &rhs, F binaryFunction) |
template<class Scalar , class Container , class F > | |
Container | ArrayUtils::elementWiseScalarOp (const Scalar &lhs, const Container &rhs, F binaryFunction) |
template<class Container > | |
auto | ArrayUtils::L2Norm (const Container &c) |
template<> | |
auto | ArrayUtils::L2Norm< std::array< double, 3 > > (const std::array< double, 3 > &c) |
template<class Container > | |
auto | ArrayUtils::L2NormSquared (const Container &c) |
template<> | |
auto | ArrayUtils::L2NormSquared< std::array< double, 3 > > (const std::array< double, 3 > &c) |
template<class Container > | |
std::enable_if_t< ArrayUtils::is_container< Container >::value, std::ostream & > | operator<< (std::ostream &os, const Container &container) |
template<class Container > | |
std::enable_if_t< ArrayUtils::is_container< Container >::value, Container > | operator+ (const Container &lhs, const Container &rhs) |
template<class Container > | |
std::enable_if_t< ArrayUtils::is_container< Container >::value, Container > | operator- (const Container &lhs, const Container &rhs) |
template<class Container > | |
std::enable_if_t< ArrayUtils::is_container< Container >::value, Container > | operator* (const Container &lhs, const Container &rhs) |
template<class Scalar , class Container > | |
std::enable_if_t< ArrayUtils::is_container< Container >::value, Container > | operator* (const Scalar &lhs, const Container &rhs) |
template<class Container > | |
std::enable_if_t< ArrayUtils::is_container< Container >::value, bool > | operator== (const Container &lhs, const Container &rhs) |
Definition in file ArrayUtils.h.
std::enable_if_t<ArrayUtils::is_container<Container>::value, Container> operator* | ( | const Container & | lhs, |
const Container & | rhs | ||
) |
Element wise multiplication of two containers.
Container |
lhs | |
rhs |
Definition at line 257 of file ArrayUtils.h.
std::enable_if_t<ArrayUtils::is_container<Container>::value, Container> operator* | ( | const Scalar & | lhs, |
const Container & | rhs | ||
) |
Element wise scaling of a container.
Container |
lhs | |
rhs |
Definition at line 269 of file ArrayUtils.h.
std::enable_if_t<ArrayUtils::is_container<Container>::value, Container> operator+ | ( | const Container & | lhs, |
const Container & | rhs | ||
) |
Element wise addition of two containers.
Container |
lhs | |
rhs |
Definition at line 233 of file ArrayUtils.h.
std::enable_if_t<ArrayUtils::is_container<Container>::value, Container> operator- | ( | const Container & | lhs, |
const Container & | rhs | ||
) |
Element wise subtraction of two containers.
Container |
lhs | |
rhs |
Definition at line 245 of file ArrayUtils.h.
std::enable_if_t<ArrayUtils::is_container<Container>::value, std::ostream&> operator<< | ( | std::ostream & | os, |
const Container & | container | ||
) |
Stream operator for containers.
This function actually checks if the given Template parameter satisfies is_container.
Container |
os | |
container |
Definition at line 1 of file ArrayUtils.h.
std::enable_if_t<ArrayUtils::is_container<Container>::value, bool> operator== | ( | const Container & | lhs, |
const Container & | rhs | ||
) |
Element wise comparison of two containers.
Container |
lhs | |
rhs |
Definition at line 282 of file ArrayUtils.h.