Sync public subset from Flux

This commit is contained in:
Gitea CI
2025-10-09 08:44:15 +00:00
parent 1c93024ff2
commit 9a69d64d79
6 changed files with 140 additions and 4 deletions

View File

@@ -23,7 +23,6 @@ namespace utils{
class Matrix{
public:
Matrix() : rows_(0), cols_(0), data_() {} // Default constructor
#include <random>
// Constructor to initialize matrix with rows × cols and a fill value
Matrix(uint64_t rows, uint64_t cols, const T& value = T())
: rows_(rows), cols_(cols), data_(rows * cols, value) {}