matrix: Describe emult, edivide functions

This commit is contained in:
Morten Fyhn Amundsen
2023-05-02 16:31:52 +02:00
committed by Mathieu Bresciani
parent 4cd078409d
commit 04c5d70588
+2
View File
@@ -158,6 +158,7 @@ public:
return res;
}
// Element-wise multiplication
Matrix<Type, M, N> emult(const Matrix<Type, M, N> &other) const
{
Matrix<Type, M, N> res;
@@ -172,6 +173,7 @@ public:
return res;
}
// Element-wise division
Matrix<Type, M, N> edivide(const Matrix<Type, M, N> &other) const
{
Matrix<Type, M, N> res;