20 #ifndef GENERAL_MATRIX_3X2_H 21 #define GENERAL_MATRIX_3X2_H 23 #ifndef SHEAF_DLL_SPEC_H 24 #include "SheafSystem/sheaf_dll_spec.h" 27 #ifndef STD_IOSTREAM_H 28 #include "SheafSystem/std_iostream.h" 34 template <
typename T>
class general_matrix_1x2;
35 template <
typename T>
class general_matrix_2x1;
36 template <
typename T>
class general_matrix_2x2;
37 template <
typename T>
class general_matrix_2x3;
38 template <
typename T>
class general_matrix_3x1;
39 template <
typename T>
class general_matrix_3x3;
41 template <
typename T>
class jcb_e23_row_dofs_type;
57 class general_matrix_3x2
64 operator jcb_e23_row_dofs_type<T>& ()
const;
103 operator const T* ()
const;
113 general_matrix_1x2<T>
row(
int xrow)
const;
118 general_matrix_3x1<T>
column(
int xcolumn)
const;
131 void assign(
const T& xvalue);
198 template <
typename T>
199 std::ostream& operator<<(std::ostream& xos, const general_matrix_3x2<T>& xm);
204 #endif // ifndef GENERAL_MATRIX_3X2_H general_matrix_2x3< T > transpose() const
The transpose of the matrix (auto-allocated).
General matrix with 3 rows and 2 columns.
General matrix with 2 rows and 2 columns.
T * operator[](int xrow)
Pointer to the first element in row xrow of this matrix. Facilitates accessing elements via matrix[i]...
general_matrix_1x2< T > row(int xrow) const
A 1x2 matrix containing the elements or row xrow.
static int number_of_rows()
The number of rows.
static int d()
Dimension of the underlying elements.
General matrix with 3 rows and 1 column.
General matrix with 2 rows and 1 column.
void multiply(const T &xscalar, general_matrix_3x2< T > &xresult) const
This matrix multiplied by a scalar (pre-allocated).
int row_index(int xrow) const
Index for row xrow in the linear storage array.
static int number_of_columns()
The number of columns.
general_matrix_3x1< T > column(int xcolumn) const
A 3x1 matrix containing the elements or column xcolumn.
General matrix with 3 rows and 3 columns.
General matrix with 2 rows and 3 columns.
void assign(const T &xvalue)
Assign all elements of this matrix to the value xvalue.
T components[6]
Linear storage array.
Namespace for the fiber_bundles component of the sheaf system.