New norms and division by scalar
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,9 @@ 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> EuclideanNorm() const;
|
||||
float EuclideanNorm() const;
|
||||
|
||||
float L2Norm() const;
|
||||
|
||||
/**
|
||||
* @brief Get a row from the matrix
|
||||
@@ -201,6 +203,8 @@ public:
|
||||
|
||||
Matrix<rows, columns> operator*(float scalar) const;
|
||||
|
||||
Matrix<rows, columns> operator/(float scalar) const;
|
||||
|
||||
template <uint8_t sub_rows, uint8_t sub_columns, uint8_t row_offset,
|
||||
uint8_t column_offset>
|
||||
Matrix<sub_rows, sub_columns> SubMatrix() const;
|
||||
|
||||
Reference in New Issue
Block a user