Replaced normalize with EuclideanNorm
Some checks failed
Merge-Checker / build_and_test (pull_request) Failing after 21s
Some checks failed
Merge-Checker / build_and_test (pull_request) Failing after 21s
This commit is contained in:
@@ -132,7 +132,7 @@ public:
|
||||
* @brief reduce the matrix so the sum of its elements equal 1
|
||||
* @param result a buffer to store the result into
|
||||
*/
|
||||
Matrix<rows, columns> &Normalize(Matrix<rows, columns> &result) const;
|
||||
Matrix<rows, columns> EuclideanNorm() const;
|
||||
|
||||
/**
|
||||
* @brief Get a row from the matrix
|
||||
@@ -159,8 +159,16 @@ public:
|
||||
*/
|
||||
constexpr uint8_t GetColumnSize() { return columns; }
|
||||
|
||||
/**
|
||||
* @brief Write a string representation of the matrix into the buffer
|
||||
*/
|
||||
void ToString(std::string &stringBuffer) const;
|
||||
|
||||
/**
|
||||
* @brief Returns the internal representation of the matrix as an array
|
||||
*/
|
||||
const float *ToArray() const;
|
||||
|
||||
/**
|
||||
* @brief Get an element from the matrix
|
||||
* @param row the row index of the element
|
||||
|
||||
Reference in New Issue
Block a user