20 #ifndef ANTISYMMETRIC_MATRIX_2X2_H 21 #define ANTISYMMETRIC_MATRIX_2X2_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" 101 operator const T* ()
const;
144 void assign(
const T& xscalar);
233 void trace(T& xresult)
const;
270 template <
typename T>
271 std::ostream& operator<<(std::ostream& xos, const antisymmetric_matrix_2x2<T>& xm);
275 #endif // ifndef ANTISYMMETRIC_MATRIX_2X2_H T determinant() const
The determinant of the matrix (auto-allocated).
static int number_of_columns()
The number of columns.
void multiply(const T &xscalar, antisymmetric_matrix_2x2< T > &xresult) const
This matrix multiplied by a scalar (pre-allocated).
T components[1]
Linear storage array.
static int d()
Dimension of the underlying elements.
general_matrix_1x2< T > row(int xrow) const
A 1x2 matrix containing the elements or row xrow.
General matrix with 1 row and 2 columns.
General matrix with 2 rows and 2 columns.
static int number_of_rows()
The number of rows.
antisymmetric_matrix_2x2< T > transpose() const
The transpose of the matrix (auto-allocated).
General matrix with 2 rows and 1 column.
Antisymmetric matrix with 2 rows and 2 columns.
Row dofs type for class at2_e2.
general_matrix_2x1< T > column(int xcolumn) const
A 2x1 matrix containing the elements or column xcolumn.
antisymmetric_matrix_2x2< T > adjoint() const
The adjoint of the matrix (auto-allocated).
T * operator[](int xrow)
Pointer to the first element in row xrow of this matrix. Facilitates accessing elements via matrix[i]...
bool is_positive_definite() const
True if this matrix is positive definite. Always returns false for antisymmetric_matrices.
General matrix with 2 rows and 3 columns.
int row_index(int xrow) const
Index for row xrow in the linear storage array.
antisymmetric_matrix_2x2< T > inverse() const
The inverse of the matrix (auto-allocated).
void assign(const T &xscalar)
Assign all elements of this matrix to the value xvalue.
Namespace for the fiber_bundles component of the sheaf system.
T trace() const
The trace of the matrix (auto-allocated).