Add: conviniece functions, Fix: Asserts and debug prints

This commit is contained in:
Milo Priegnitz
2024-06-02 20:31:43 +02:00
parent 7c8388ebb9
commit af40569b9d
3 changed files with 20 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
#ifndef INC_MATRIX_HPP_
#define INC_MATRIX_HPP_
#include <cstdint>
namespace math
{
@@ -39,6 +38,7 @@ struct matrix
static matrix eye(uint8_t);
static matrix zeros(uint8_t, uint8_t);
static matrix full(uint8_t, uint8_t, float);
float operator()(uint8_t, uint8_t);
float operator[](uint16_t);
@@ -57,4 +57,5 @@ struct matrix
}
#endif /* INC_MATRIX_HPP_ */