Loading...
Searching...
No Matches
Owning, zero-initialized 4-by-4 column-major value matrix.
More...
#include <compat.hpp>
|
| using | Scalar = Number |
| | Eigen-compatible scalar type.
|
|
| static std::size_t | offset (int row, int column) |
| | Validate an element address.
|
|
| std::array< Scalar, 16 > | values_ {} |
| | Zero-initialized, fixed-size column-major storage.
|
template<class Number>
class Aigen::Matrix4< Number >
Owning, zero-initialized 4-by-4 column-major value matrix.
Storage is sixteen scalars on the stack; products return owning values and support aliasing assignments without expression-lifetime issues. This subset provides initialization, access, transpose, trace and products, not decompositions or a general Eigen expression API.
- Template Parameters
-
| Number | Floating-point scalar type. |
◆ Scalar
Eigen-compatible scalar type.
◆ allFinite()
Validate all entries.
- Returns
- Whether finite.
◆ cols()
Column count.
- Returns
- Four.
◆ Constant()
Construct a constant value.
- Parameters
-
- Returns
- Constant matrix.
◆ Identity()
Construct the identity.
- Returns
- Identity matrix.
◆ offset()
Validate an element address.
- Parameters
-
- Returns
- Flat offset.
◆ operator()() [1/2]
Checked mutable element.
- Parameters
-
- Returns
- Scalar reference.
◆ operator()() [2/2]
Checked element.
- Parameters
-
- Returns
- Scalar.
◆ operator*()
Multiply two owning values.
- Parameters
-
- Returns
- Product.
◆ rows()
◆ size()
◆ trace()
Sum the diagonal.
- Returns
- Trace.
◆ transpose()
Return an owning transpose.
- Returns
- Transposed matrix.
◆ Zero()
Allocate a zero value.
- Returns
- Zero matrix.
◆ values_
Zero-initialized, fixed-size column-major storage.
The documentation for this class was generated from the following file: