From be3cf322b444958e28113dd59d1438b4683abc53 Mon Sep 17 00:00:00 2001
From: Magnus Eik <“mageik@stud.ntnu.no”>
Date: Thu, 21 Mar 2024 14:29:53 +0100
Subject: [PATCH] Add JavaDoc.

---
 .../ntnu/stud/chaosgame/model/Matrix2x2.java  | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/src/main/java/edu/ntnu/stud/chaosgame/model/Matrix2x2.java b/src/main/java/edu/ntnu/stud/chaosgame/model/Matrix2x2.java
index 58c165b..3db0c55 100644
--- a/src/main/java/edu/ntnu/stud/chaosgame/model/Matrix2x2.java
+++ b/src/main/java/edu/ntnu/stud/chaosgame/model/Matrix2x2.java
@@ -50,21 +50,30 @@ public class Matrix2x2 {
   }
 
   /**
-   *
-   * @return
+   * Getter method for {@link edu.ntnu.stud.chaosgame.game.ChaosGameDescription}
+   * @return a matrix component.
    */
   public double getA00() {
     return a00;
   }
-
+  /**
+   * Getter method for {@link edu.ntnu.stud.chaosgame.game.ChaosGameDescription}
+   * @return a matrix component.
+   */
   public double getA01() {
     return a01;
   }
-
+  /**
+   * Getter method for {@link edu.ntnu.stud.chaosgame.game.ChaosGameDescription}
+   * @return a matrix component.
+   */
   public double getA10() {
     return a10;
   }
-
+  /**
+   * Getter method for {@link edu.ntnu.stud.chaosgame.game.ChaosGameDescription}
+   * @return a matrix component.
+   */
   public double getA11() {
     return a11;
   }
-- 
GitLab