From 04c5d70588649dbd149fcc84793c54e99b10ed7a Mon Sep 17 00:00:00 2001 From: Morten Fyhn Amundsen Date: Tue, 2 May 2023 16:31:52 +0200 Subject: [PATCH] matrix: Describe emult, edivide functions --- src/lib/matrix/matrix/Matrix.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/matrix/matrix/Matrix.hpp b/src/lib/matrix/matrix/Matrix.hpp index 4f1f2afe17..fbf5c50188 100644 --- a/src/lib/matrix/matrix/Matrix.hpp +++ b/src/lib/matrix/matrix/Matrix.hpp @@ -158,6 +158,7 @@ public: return res; } + // Element-wise multiplication Matrix emult(const Matrix &other) const { Matrix res; @@ -172,6 +173,7 @@ public: return res; } + // Element-wise division Matrix edivide(const Matrix &other) const { Matrix res;