Fixed typo and missing include
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
template <uint8_t rows, uint8_t columns>
|
template <uint8_t rows, uint8_t columns>
|
||||||
Matrix<rows, columns>::Matrix(float value)
|
Matrix<rows, columns>::Matrix(float value)
|
||||||
@@ -104,7 +105,7 @@ Matrix<rows, columns>::Sub(const Matrix<rows, columns> &other,
|
|||||||
|
|
||||||
template <uint8_t rows, uint8_t columns>
|
template <uint8_t rows, uint8_t columns>
|
||||||
template <uint8_t other_columns>
|
template <uint8_t other_columns>
|
||||||
Matrix<rows, columns> &
|
Matrix<rows, other_columns> &
|
||||||
Matrix<rows, columns>::Mult(const Matrix<columns, other_columns> &other,
|
Matrix<rows, columns>::Mult(const Matrix<columns, other_columns> &other,
|
||||||
Matrix<rows, other_columns> &result) const
|
Matrix<rows, other_columns> &result) const
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ public:
|
|||||||
* @param result A buffer to store the result into
|
* @param result A buffer to store the result into
|
||||||
*/
|
*/
|
||||||
template <uint8_t other_columns>
|
template <uint8_t other_columns>
|
||||||
Matrix<rows, columns> &Mult(const Matrix<columns, other_columns> &other,
|
Matrix<rows, other_columns> &Mult(const Matrix<columns, other_columns> &other,
|
||||||
Matrix<rows, other_columns> &result) const;
|
Matrix<rows, other_columns> &result) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user