From: gmungoc Date: Wed, 2 May 2018 14:42:05 +0000 (+0100) Subject: JAL-1767 getters/setters for D and E vectors X-Git-Tag: Release_2_11_1_0~78^2~9^2~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=97fbcf746cdd6c998871adcf8e737d43e5307387;p=jalview.git JAL-1767 getters/setters for D and E vectors --- 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);