Linear equation of the form a*x + b = 0.
More...
|
| linearEqn () |
| Construct null. More...
|
|
| linearEqn (const Foam::zero) |
| Construct initialised to zero. More...
|
|
| linearEqn (const scalar a, const scalar b) |
| Construct from components. More...
|
|
scalar | a () const |
|
scalar | b () const |
|
scalar & | a () |
|
scalar & | b () |
|
scalar | value (const scalar x) const |
| Evaluate at x. More...
|
|
scalar | derivative (const scalar x) const |
| Evaluate the derivative at x. More...
|
|
scalar | error (const scalar x) const |
| Estimate the error of evaluation at x. More...
|
|
Roots< 1 > | roots () const |
| Get the roots. More...
|
|
| VectorSpace () |
| Construct null. More...
|
|
| VectorSpace (const Foam::zero) |
| Construct initialised to zero. More...
|
|
| VectorSpace (Istream &) |
| Construct from Istream. More...
|
|
| VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &) |
| Construct as copy of a VectorSpace with the same size. More...
|
|
const scalar & | component (const direction) const |
|
scalar & | component (const direction) |
|
void | component (scalar &, const direction) const |
|
void | replace (const direction, const scalar &) |
|
const ConstBlock< SubVector, BStart > | block () const |
|
const VectorSpace< linearEqn, scalar, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
|
const scalar & | operator[] (const direction) const |
|
scalar & | operator[] (const direction) |
|
void | operator+= (const VectorSpace< linearEqn, scalar, Ncmpts > &) |
|
void | operator-= (const VectorSpace< linearEqn, scalar, Ncmpts > &) |
|
void | operator= (const Foam::zero) |
|
void | operator*= (const Type) |
|
void | operator/= (const Type) |
|
Linear equation of the form a*x + b = 0.
- Source files
-
Definition at line 48 of file linearEqn.H.
◆ linearEqn() [1/3]
◆ linearEqn() [2/3]
Construct initialised to zero.
Definition at line 32 of file linearEqnI.H.
◆ linearEqn() [3/3]
Construct from components.
Definition at line 38 of file linearEqnI.H.
References b.
◆ a() [1/2]
◆ b() [1/2]
◆ a() [2/2]
◆ b() [2/2]
◆ value()
Foam::scalar value |
( |
const scalar |
x | ) |
const |
|
inline |
◆ derivative()
Foam::scalar derivative |
( |
const scalar |
x | ) |
const |
|
inline |
Evaluate the derivative at x.
Definition at line 77 of file linearEqnI.H.
◆ error()
Foam::scalar error |
( |
const scalar |
x | ) |
const |
|
inline |
◆ roots()
The documentation for this class was generated from the following files:
- src/OpenFOAM/primitives/polynomialEqns/linearEqn/linearEqn.H
- src/OpenFOAM/primitives/polynomialEqns/linearEqn/linearEqnI.H