|
ACTS
Experiment-independent tracking
|
Generic matrix type that can take vectors as columns. More...
#include <detray/algebra/common/matrix.hpp>
Public Types | |
| using | scalar_type = scalar_t |
| Value type: Can be simd types. | |
| using | vector_type = algebra::storage::vector<ROW, scalar_t, array_t> |
| The matrix consists of column vectors. | |
Public Member Functions | |
| constexpr | matrix ()=default |
| Default constructor. | |
| template<concepts::vector... vector_t> requires (sizeof...(vector_t) == COL) | |
| matrix (vector_t &&...v) | |
Construct from given column vectors v. | |
| constexpr const vector_type & | operator[] (const std::size_t i) const |
| Subscript operator. | |
| constexpr vector_type & | operator[] (const std::size_t i) |
Static Public Member Functions | |
| static consteval std::size_t | columns () |
| static consteval std::size_t | rows () |
| static consteval std::size_t | storage_rows () |
Generic matrix type that can take vectors as columns.
|
explicit |
Construct from given column vectors v.
| v | Column vectors, one for each matrix column. |
|
staticconsteval |
|
constexpr |
| i | Zero-based column index. |
|
constexpr |
Subscript operator.
| i | Zero-based column index. |
|
staticconsteval |
|
staticconsteval |