import Jama.*; import Jama.EigenvalueDecomposition.*; /** * Created with IntelliJ IDEA. * User: rebeccamancy * Date: 10/11/2012 * Time: 17:26 * To change this template use File | Settings | File Templates. */ public class M { Matrix mat, V; EigenvalueDecomposition decomp; double[] eigVals; public M(Habitat hab, Model mod) { double[][] mat = new double[hab.getNumPatches()][hab.getNumPatches()]; for (int focalPatch=0; focalPatch