|
dune-common 2.9.1
|
Loading...
Searching...
No Matches
dynmatrix.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
86 typename = std::enable_if_t<!Dune::IsNumber<T>::value && HasDenseMatrixAssigner<DynamicMatrix, T>::value>>
Macro for wrapping boundary checks.
A few common exception classes.
Traits for type conversions and type information.
Implements a matrix constructed from a given type representing a field and a compile-time given numbe...
This file implements a dense vector with a dynamic size.
#define DUNE_ASSERT_BOUNDS(cond)
If DUNE_CHECK_BOUNDS is defined: check if condition cond holds; otherwise, do nothing.
Definition boundschecking.hh:30
derived_type & operator=(const RHS &rhs)
Definition densematrix.hh:279
constexpr size_type M() const
number of columns
Definition densematrix.hh:703
Traits::value_type value_type
export the type representing the field
Definition densematrix.hh:157
constexpr size_type rows() const
number of rows
Definition densematrix.hh:709
constexpr size_type N() const
number of rows
Definition densematrix.hh:697
Traits::size_type size_type
The type used for the index access and size operation.
Definition densematrix.hh:166
DynamicMatrix(std::initializer_list< DynamicVector< K > > const &ll)
Constructor initializing the matrix from a list of vector.
Definition dynmatrix.hh:80
DynamicMatrix transposed() const
Return transposed of the matrix as DynamicMatrix.
Definition dynmatrix.hh:132
const row_type & mat_access(size_type i) const
Definition dynmatrix.hh:151
void resize(size_type r, size_type c, value_type v=value_type())
resize matrix to r × c
Definition dynmatrix.hh:106
DynamicMatrix(size_type r, size_type c, value_type v=value_type())
Constructor initializing the whole matrix with a scalar.
Definition dynmatrix.hh:74
container_type::size_type size_type
Definition dynmatrix.hh:45
DynamicVector< K > row_type
Definition dynmatrix.hh:38
row_type & row_reference
Definition dynmatrix.hh:40
DynamicMatrix< K > derived_type
Definition dynmatrix.hh:36
const row_type & const_row_reference
Definition dynmatrix.hh:41
std::vector< K > container_type
Definition dynmatrix.hh:43
FieldTraits< K >::real_type real_type
Definition dynmatrix.hh:52
FieldTraits< K >::field_type field_type
Definition dynmatrix.hh:51
Definition ftraits.hh:26
T field_type
export the type representing the field
Definition ftraits.hh:28
T real_type
export the type representing the real type of the field
Definition ftraits.hh:30
Definition matvectraits.hh:31
T begin(T... args)
T end(T... args)
T fill(T... args)
T front(T... args)
T resize(T... args)
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8