From 97fbcf746cdd6c998871adcf8e737d43e5307387 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 2 May 2018 15:42:05 +0100 Subject: [PATCH] JAL-1767 getters/setters for D and E vectors --- src/jalview/math/Matrix.java | 12 ++++++++++++ src/jalview/math/MatrixI.java | 4 ++++ 2 files changed, 16 insertions(+) diff --git a/src/jalview/math/Matrix.java b/src/jalview/math/Matrix.java index 804421b..77862c8 100755 --- a/src/jalview/math/Matrix.java +++ b/src/jalview/math/Matrix.java @@ -972,4 +972,16 @@ public class Matrix implements MatrixI } } } + + @Override + public void setD(double[] v) + { + d = v; + } + + @Override + public void setE(double[] v) + { + e = v; + } } diff --git a/src/jalview/math/MatrixI.java b/src/jalview/math/MatrixI.java index dd7aaf1..d72890a 100644 --- a/src/jalview/math/MatrixI.java +++ b/src/jalview/math/MatrixI.java @@ -116,6 +116,10 @@ public interface MatrixI double[] getE(); + void setD(double[] v); + + void setE(double[] v); + void print(PrintStream ps, String format); void printD(PrintStream ps, String format); -- 1.7.10.2