Added a template pack initializer

This commit is contained in:
Quinn Henthorne
2024-12-13 16:37:40 -05:00
parent fb16c6f61b
commit 53f3766658
3 changed files with 60 additions and 57 deletions

View File

@@ -30,12 +30,11 @@ public:
* @brief Initialize a matrix as a copy of another matrix
*/
Matrix(const Matrix<rows, columns> &other);
// TODO: Figure out how to do this
/**
* @brief Initialize a matrix directly with any number of arguments
*/
// template <typename... Args>
// Matrix(Args&&... args);
template <typename... Args> Matrix(Args... args);
/**
* @brief Set all elements in this to value
*/