Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roots.
More...
|
| | Roots () |
| | Default construct as 'nan'.
|
| | Roots (const roots::type t, const scalar x) |
| | Construct with a uniform value.
|
| | Roots (const roots::type t, const scalar x, const Roots< N - 1 > &xs) |
| | Construct by concatenation.
|
| | Roots (const Roots< N - 1 > &xs, const roots::type t, const scalar x) |
| | Construct by concatenation.
|
| template<direction M> |
| | Roots (const Roots< M > &xs, const Roots< N - M > &ys) |
| | Construct by concatenation.
|
| void | type (const direction i, const roots::type t) |
| | Set the type of the i-th root.
|
| roots::type | type (const direction i) const |
| | Return the type of the i-th root.
|
| const Foam::VectorSpace< Roots< N >, scalar, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
| | VectorSpace ()=default |
| | Default construct.
|
| const scalar & | component (const direction) const |
| void | replace (const direction, const scalar &) |
| const scalar * | cdata () const noexcept |
| | Return const pointer to the first data element.
|
| scalar * | data () noexcept |
| | Return pointer to the first data element.
|
| void | fill (const scalar &s) |
| | Assign all components to given value.
|
| const scalar & | operator[] (const direction) const |
| void | operator= (const VectorSpace< Roots< N >, scalar, Ncmpts > &) |
| void | operator+= (const VectorSpace< Roots< N >, scalar, Ncmpts > &) |
| void | operator-= (const VectorSpace< Roots< N >, scalar, Ncmpts > &) |
| void | operator*= (const scalar) |
| void | operator/= (const scalar) |
| iterator | begin () noexcept |
| | Return an iterator (pointer) to begin of VectorSpace.
|
| const_iterator | cbegin () const noexcept |
| | Return const_iterator (const pointer) to begin of VectorSpace.
|
| iterator | end () noexcept |
| | Return an iterator (pointer) to end of VectorSpace.
|
| const_iterator | cend () const noexcept |
| | Return const_iterator (const pointer) to end of VectorSpace.
|
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roots.
- Source files
-
Definition at line 68 of file Roots.H.