54 template<
class Form,
class Type>
class Matrix;
56 template<
class Form,
class Type> Istream&
operator>>
62 template<
class Form,
class Type> Ostream&
operator<<
65 const Matrix<Form, Type>&
68 template<
class MatrixType>
71 template<
class MatrixType>
79 template<
class Form,
class Type>
88 Type* __restrict__ v_;
106 inline static const mType&
null();
129 template<
class Form2>
133 template<
class MatrixType>
137 template<
class MatrixType>
165 inline const Type*
v()
const;
181 template<
class VectorSpace>
210 template<
class VectorSpace>
275 template<
class MatrixType>
279 template<
class MatrixType>
292 friend Istream&
operator>> <Form, Type>
299 friend Ostream& operator<< <Form, Type>
309 template<
class Form,
class Type>
312 template<
class Form,
class Type>
315 template<
class Form,
class Type>
318 template<
class Form,
class Type>
322 const Matrix<Form, Type>&
325 template<
class Form,
class Type>
328 const Matrix<Form, Type>&,
329 const Matrix<Form, Type>&
332 template<
class Form,
class Type>
336 const Matrix<Form, Type>&
339 template<
class Form,
class Type>
342 const Matrix<Form, Type>&,
346 template<
class Form,
class Type>
349 const Matrix<Form, Type>&,
353 template<
class Form1,
class Form2,
class Type>
361 template<
class Form,
class Type>
364 const Matrix<Form, Type>&,
void checkj(const label j) const
Check index j is within valid range (0 ... n-1).
Abstract template class to provide the form resulting from.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Form T() const
Return the transpose of the matrix.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
A templated block of an (m x n) matrix of type <MatrixType>.
label m() const
Return the number of rows.
void setSize(const label m, const label n)
Resize the matrix preserving the elements.
Matrix()
Null constructor.
label n() const
Return the number of columns.
ConstMatrixBlock< mType > col(const label m, const label rowStart) const
static const mType & null()
Return a null Matrix.
ConstMatrixBlock< mType > block(const label m, const label n, const label mStart, const label nStart) const
autoPtr< mType > clone() const
Clone.
Pre-declare SubField and related Field type.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
tmp< fvMatrix< Type > > operator-(const fvMatrix< Type > &)
void clear()
Clear the Matrix, i.e. set sizes to zero.
const Type & operator()(const label i, const label j) const
(i, j) const element access operator
const Type * v() const
Return element vector of the constant Matrix.
A templated (m x n) matrix of objects of <T>.
Type * operator[](const label)
Return subscript-checked row of Matrix.
Type cmptType
Component type.
label size() const
Return the number of elements in matrix (m*n)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
void operator=(const mType &)
Assignment operator. Takes linear time.
Matrix< Form, Type > mType
Matrix type.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
void checki(const label i) const
Check index i is within valid range (0 ... m-1).
void transfer(mType &)
Transfer the contents of the argument Matrix into this Matrix.