Loading...
Searching...
No Matches
Owning, zero-initialized 4-by-4 column-major value matrix.
More...
#include <compat.hpp>
|
| static std::size_t | offset (int row, int column) |
| | Validate an element address.
|
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. |
Definition at line 167 of file compat.hpp.
◆ Scalar
Eigen-compatible scalar type.
Definition at line 171 of file compat.hpp.
◆ allFinite()
Validate all entries.
- Returns
- Whether finite.
Definition at line 197 of file compat.hpp.
◆ cols()
Column count.
- Returns
- Four.
Definition at line 175 of file compat.hpp.
◆ Constant()
Construct a constant value.
- Parameters
-
- Returns
- Constant matrix.
Definition at line 185 of file compat.hpp.
◆ Identity()
Construct the identity.
- Returns
- Identity matrix.
Definition at line 191 of file compat.hpp.
◆ offset()
Validate an element address.
- Parameters
-
- Returns
- Flat offset.
Definition at line 229 of file compat.hpp.
◆ operator()() [1/2]
Checked mutable element.
- Parameters
-
- Returns
- Scalar reference.
Definition at line 179 of file compat.hpp.
◆ operator()() [2/2]
◆ operator*()
Multiply two owning values.
- Parameters
-
- Returns
- Product.
Definition at line 215 of file compat.hpp.
◆ rows()
Row count.
- Returns
- Four.
Definition at line 173 of file compat.hpp.
◆ size()
◆ trace()
Sum the diagonal.
- Returns
- Trace.
Definition at line 201 of file compat.hpp.
◆ transpose()
Return an owning transpose.
- Returns
- Transposed matrix.
Definition at line 207 of file compat.hpp.
◆ Zero()
Allocate a zero value.
- Returns
- Zero matrix.
Definition at line 183 of file compat.hpp.
◆ values_
Zero-initialized, fixed-size column-major storage.
Definition at line 227 of file compat.hpp.
The documentation for this class was generated from the following file: