Package de.lmu.ifi.dbs.elki.math.linearalgebra

Examples of de.lmu.ifi.dbs.elki.math.linearalgebra.Vector.plusEquals()


      for(Iterator<DBID> clusterIter = list.iterator(); clusterIter.hasNext();) {
        if(mean == null) {
          mean = database.get(clusterIter.next()).getColumnVector();
        }
        else {
          mean.plusEquals(database.get(clusterIter.next()).getColumnVector());
        }
      }
      if(list.size() > 0) {
        assert mean != null;
        mean.timesEquals(1.0 / list.size());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.