From 7656e43e8558b173f8b43ed0d46d1e113655dbd0 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Sat, 5 Oct 2024 14:40:36 -0400 Subject: [PATCH] data in matrix --- CMakeLists.txt | 2 +- include/blt/math/matrix.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 56ee3d1..9afd053 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 2.1.1) +set(BLT_VERSION 2.1.2) set(BLT_TARGET BLT) diff --git a/include/blt/math/matrix.h b/include/blt/math/matrix.h index 8936d3b..82e7111 100644 --- a/include/blt/math/matrix.h +++ b/include/blt/math/matrix.h @@ -25,6 +25,10 @@ namespace blt template class generalized_matrix { + public: + static constexpr auto data_rows = rows; + static constexpr auto data_columns = columns; + private: using matrix_t = generalized_matrix; enum class init_type {