Operators in Dune¶
Function Dune::operator!=¶
-
bool Dune::operator!=(const ParameterTree &left, const ParameterTree &right)¶
returns true if the ParameterTrees differ in any key/value pair
Function template Dune::operator*¶
-
template<class K, int L_ROWS, int L_COLS, int R_COLS>
Dune::XT::Common::FieldMatrix<K, L_ROWS, R_COLS> Dune::operator*(const Dune::FieldMatrix<K, L_ROWS, L_COLS> &left, const Dune::FieldMatrix<K, L_COLS, R_COLS> &right)¶ Matrix-matrix product of two matrices with matching field type.
Function template Dune::operator*¶
-
template<class K, int L_ROWS, int L_COLS, int R_COLS>
int Dune::operator*(const Dune::FieldMatrix<K, L_ROWS, L_COLS> &left, const int &right)¶ Matrix-matrix product where the right factor is held by unique_ptr, returning the result by unique_ptr.
Function template Dune::operator*¶
-
template<class K, int L_ROWS, int L_COLS, int R_COLS>
int Dune::operator*(const int &left, const Dune::FieldMatrix<K, L_COLS, R_COLS> &right)¶ Matrix-matrix product where the left factor is held by unique_ptr, returning the result by unique_ptr.
Function template Dune::operator*¶
-
template<class K, int L_ROWS, int L_COLS, int R_COLS>
int Dune::operator*(const int &left, const int &right)¶ Matrix-matrix product where both factors are held by unique_ptr, returning the result by unique_ptr.
Function template Dune::operator*¶
-
template<class K, int L_ROWS>
Dune::XT::Common::FieldMatrix<K, L_ROWS, 1> Dune::operator*(const Dune::XT::Common::FieldMatrix<K, L_ROWS, 1> &left, const Dune::FieldMatrix<K, 1, 1> &right)¶ Matrix-matrix product of a column-matrix with a 1x1 matrix.
Function template Dune::operator*¶
-
template<class K, int SIZE>
typename std::enable_if<SIZE != 1, K>::type Dune::operator*(const Dune::FieldVector<K, SIZE> &vec, const Dune::FieldMatrix<K, SIZE, 1> &mat)¶ Inner product of a vector with a single-column matrix, yielding a scalar.
Function template Dune::operator*¶
Function template Dune::operator*¶
-
template<class L, int L_ROWS, int L_COLS, class R, int R_COLS>
typename std::enable_if<!std::is_same<L, R>::value, Dune::XT::Common::FieldMatrix<typename PromotionTraits<L, R>::PromotedType, L_ROWS, R_COLS>>::type Dune::operator*(const Dune::FieldMatrix<L, L_ROWS, L_COLS> &left, const Dune::FieldMatrix<R, L_COLS, R_COLS> &right)¶ Matrix-matrix product of two matrices with differing field types, returned with the promoted field type.
Function template Dune::operator*¶
-
template<class S, class V>
typename std::enable_if<Dune::XT::Common::is_arithmetic<S>::value || Dune::XT::Common::is_complex<S>::value, typename DenseVector<V>::derived_type>::type Dune::operator*(const S &alpha, const DenseVector<V> &vec)¶ Returns the product of a scalar and a dense vector.
Function template Dune::operator*¶
-
template<class V, class S>
typename std::enable_if<Dune::XT::Common::is_arithmetic<S>::value || Dune::XT::Common::is_complex<S>::value, typename DenseVector<V>::derived_type>::type Dune::operator*(const DenseVector<V> &vec, const S &alpha)¶ Returns the product of a dense vector and a scalar.
Function template Dune::operator+¶
Function template Dune::operator+¶
-
template<class L, int ROWS, int COLS, class R>
Dune::XT::Common::FieldMatrix<typename PromotionTraits<L, R>::PromotedType, ROWS, COLS> Dune::operator+(const Dune::FieldMatrix<L, ROWS, COLS> &left, const Dune::FieldMatrix<R, ROWS, COLS> &right)¶ Entrywise sum of two equally-shaped matrices, returned with the promoted field type.
Function template Dune::operator+=¶
-
template<class ScalarType, int size>
FieldVector<ScalarType, size> &Dune::operator+=(FieldVector<ScalarType, size> &lhs, const XT::LA::CommonSparseVector<ScalarType> &rhs)¶ Adds a CommonSparseVector in-place to a Dune::FieldVector.
Function template Dune::operator-¶
Function template Dune::operator-¶
-
template<class L, int ROWS, int COLS, class R>
Dune::XT::Common::FieldMatrix<typename PromotionTraits<L, R>::PromotedType, ROWS, COLS> Dune::operator-(const Dune::FieldMatrix<L, ROWS, COLS> &left, const Dune::FieldMatrix<R, ROWS, COLS> &right)¶ Entrywise difference of two equally-shaped matrices, returned with the promoted field type.
Function template Dune::operator/¶
-
template<class V, class S>
typename std::enable_if<Dune::XT::Common::is_arithmetic<S>::value || Dune::XT::Common::is_complex<S>::value, typename DenseVector<V>::derived_type>::type Dune::operator/(const DenseVector<V> &vec, const S &alpha)¶ Returns the quotient of a dense vector divided by a scalar.
Function template Dune::operator<<¶
-
template<int cd, int dim, class GridImp, template<int, int, class> class EntityImp>
std::ostream &Dune::operator<<(std::ostream &out, const int &entity)¶ Streams a textual representation of an entity (including its corners) to an output stream.
Function Dune::operator==¶
-
bool Dune::operator==(const ParameterTree &left, const ParameterTree &right)¶
returns true if both ParameterTrees contain the same key/value pairs