preCICE v3.1.1
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
EigenHelperFunctions.hpp File Reference
#include <Eigen/Core>
#include <iterator>
#include <vector>
#include "utils/algorithm.hpp"
#include "utils/assertion.hpp"
Include dependency graph for EigenHelperFunctions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  precice::utils::ComponentWiseLess
 

Namespaces

namespace  precice
 Main namespace of the precice library.
 
namespace  precice::utils
 contains precice-related utilities.
 

Functions

void precice::utils::shiftSetFirst (Eigen::MatrixXd &A, const Eigen::VectorXd &v)
 
void precice::utils::appendFront (Eigen::MatrixXd &A, Eigen::VectorXd &v)
 
void precice::utils::removeColumnFromMatrix (Eigen::MatrixXd &A, int col)
 
void precice::utils::append (Eigen::VectorXd &v, double value)
 
template<typename Derived1 >
void precice::utils::append (Eigen::MatrixXd &A, const Eigen::PlainObjectBase< Derived1 > &B)
 
template<typename Derived1 >
void precice::utils::append (Eigen::VectorXd &v, const Eigen::PlainObjectBase< Derived1 > &app)
 
template<typename Derived >
auto precice::utils::firstN (const Eigen::PlainObjectBase< Derived > &val, unsigned n) -> const Eigen::Map< const Eigen::Matrix< typename Derived::Scalar, 1, Eigen::Dynamic > >
 
template<typename Derived , typename Iter = const typename Derived::Scalar *, typename Size = typename std::iterator_traits<Iter>::difference_type>
const RangePreview< Iter > precice::utils::previewRange (Size n, const Eigen::PlainObjectBase< Derived > &eigen)
 
template<typename DerivedLHS , typename DerivedRHS >
bool precice::utils::componentWiseLess (const Eigen::PlainObjectBase< DerivedLHS > &lhs, const Eigen::PlainObjectBase< DerivedRHS > &rhs)