|
| RowVector () |
| Construct null. More...
|
|
| RowVector (const Foam::zero) |
| Construct initialized to zero. More...
|
|
template<class Cmpt2 > |
| RowVector (const MatrixSpace< RowVector< Cmpt2 >, Cmpt2, 1, 3 > &) |
| Construct given VectorSpace of the same rank. More...
|
|
| RowVector (const Cmpt &rvx, const Cmpt &rvy, const Cmpt &rvz) |
| Construct given three components. More...
|
|
| RowVector (Istream &) |
| Construct from Istream. More...
|
|
const Cmpt & | x () const |
|
const Cmpt & | y () const |
|
const Cmpt & | z () const |
|
Cmpt & | x () |
|
Cmpt & | y () |
|
Cmpt & | z () |
|
| MatrixSpace ()=default |
| Default construct. More...
|
|
| MatrixSpace (const Foam::zero) |
| Construct initialized to zero. More...
|
|
| MatrixSpace (const VectorSpace< Form2, Cmpt2, Mrows *Ncols > &) |
| Construct as copy of a VectorSpace with the same size. More...
|
|
| MatrixSpace (const Block2< RowVector< Cmpt >, BRowStart, BColStart > &block) |
| Construct from a block of another matrix space. More...
|
|
| MatrixSpace (Istream &is) |
| Construct from Istream. More...
|
|
const Cmpt & | elmt () const |
| Fast const element access using compile-time addressing. More...
|
|
Cmpt & | elmt () |
| Fast element access using compile-time addressing. More...
|
|
const Cmpt & | xx () const |
|
Cmpt & | xx () |
|
const Cmpt & | xy () const |
|
Cmpt & | xy () |
|
const Cmpt & | xz () const |
|
Cmpt & | xz () |
|
const Cmpt & | yx () const |
|
Cmpt & | yx () |
|
const Cmpt & | yy () const |
|
Cmpt & | yy () |
|
const Cmpt & | yz () const |
|
Cmpt & | yz () |
|
const Cmpt & | zx () const |
|
Cmpt & | zx () |
|
const Cmpt & | zy () const |
|
Cmpt & | zy () |
|
const Cmpt & | zz () const |
|
Cmpt & | zz () |
|
typeOfTranspose< Cmpt, RowVector< Cmpt > >::type | T () const |
| Return the transpose of the matrix. More...
|
|
ConstBlock< SubTensor, BRowStart, BColStart > | block () const |
| Return a const sub-block corresponding to the specified type. More...
|
|
Block< SubTensor, BRowStart, BColStart > | block () |
| Return a sub-block corresponding to the specified type. More...
|
|
Foam::MatrixSpace< RowVector< Cmpt >, Cmpt, Mrows, Ncols >::template ConstBlock< SubTensor, BRowStart, BColStart > | block () const |
|
Foam::MatrixSpace< RowVector< Cmpt >, Cmpt, Mrows, Ncols >::template Block< SubTensor, BRowStart, BColStart > | block () |
|
const Cmpt & | operator() (const direction &i, const direction &j) const |
| (i, j) const element access operator More...
|
|
Cmpt & | operator() (const direction &i, const direction &j) |
| (i, j) element access operator More...
|
|
void | operator= (const Foam::zero) |
| Assignment to zero. More...
|
|
void | operator= (const Block2< RowVector< Cmpt >, BRowStart, BColStart > &block) |
| Assignment to a block of another matrix space. More...
|
|
void | operator&= (const MatrixSpace< RowVector< Cmpt >, Cmpt, Ncols, Ncols > &matrix) |
| Inner product with a compatible square matrix. More...
|
|
| VectorSpace ()=default |
| Default construct. More...
|
|
| VectorSpace (const Foam::zero) |
| Construct initialized to zero. More...
|
|
| VectorSpace (const VectorSpace< Form, Cmpt, Ncmpts > &vs) |
| Copy construct. More...
|
|
template<class Form2 , class Cmpt2 > |
| VectorSpace (const VectorSpace< Form2, Cmpt2, Ncmpts > &) |
| Copy construct of a VectorSpace with the same size. More...
|
|
| VectorSpace (Istream &is) |
| Construct from Istream. More...
|
|
const Cmpt & | component (const direction) const |
|
Cmpt & | component (const direction) |
|
void | component (Cmpt &, const direction) const |
|
void | replace (const direction, const Cmpt &) |
|
const Cmpt * | cdata () const noexcept |
| Return const pointer to the first data element. More...
|
|
Cmpt * | data () noexcept |
| Return pointer to the first data element. More...
|
|
template<class SubVector , direction BStart> |
const ConstBlock< SubVector, BStart > | block () const |
|
const Cmpt & | operator[] (const direction) const |
|
Cmpt & | operator[] (const direction) |
|
void | operator= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
|
void | operator+= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
|
void | operator-= (const VectorSpace< Form, Cmpt, Ncmpts > &) |
|
void | operator= (const Foam::zero) |
|
void | operator*= (const scalar) |
|
void | operator/= (const scalar) |
|
iterator | begin () noexcept |
| Return an iterator to begin of VectorSpace. More...
|
|
iterator | end () noexcept |
| Return an iterator to end of VectorSpace. More...
|
|
const_iterator | cbegin () const noexcept |
| Return const_iterator to begin of VectorSpace. More...
|
|
const_iterator | cend () const noexcept |
| Return const_iterator to end of VectorSpace. More...
|
|
const_iterator | begin () const noexcept |
| Return const_iterator to begin of VectorSpace. More...
|
|
const_iterator | end () const noexcept |
| Return const_iterator to end of VectorSpace. More...
|
|
template<class SubVector , Foam::direction BStart> |
const Foam::VectorSpace< Form, Cmpt, Ncmpts >::template ConstBlock< SubVector, BStart > | block () const |
|
template<class Cmpt>
class Foam::RowVector< Cmpt >
Templated 3D row-vector derived from MatrixSpace adding construction from 3 components and element access using x(), y() and z().
- Source files
-
Definition at line 53 of file RowVector.H.