Package gnu.trove.map.hash

Examples of gnu.trove.map.hash.TLongFloatHashMap


   * 内部为向量表示
   */
  public TLongFloatHashMap vector = null;
 
  public SparseMatrix(){
    vector = new TLongFloatHashMap(100,0.8f);
  }
View Full Code Here


  }
 
  public SparseMatrix clone(){
    SparseMatrix mat = new SparseMatrix();
    mat.dim = this.dim;
    mat.vector = new TLongFloatHashMap(vector);
    return mat;
  }
View Full Code Here

*/
public class TIntPairFloatHashMap {
  private TLongFloatHashMap map;

  public TIntPairFloatHashMap() {
    map = new TLongFloatHashMap(100);
  }
View Full Code Here

  public TIntPairFloatHashMap() {
    map = new TLongFloatHashMap(100);
  }

  public TIntPairFloatHashMap(int capacity) {
    map = new TLongFloatHashMap(capacity);
  }
View Full Code Here

*/
public class TIntPairFloatHashMap {
  private TLongFloatHashMap map;

  public TIntPairFloatHashMap() {
    map = new TLongFloatHashMap(100);
  }
View Full Code Here

  public TIntPairFloatHashMap() {
    map = new TLongFloatHashMap(100);
  }

  public TIntPairFloatHashMap(int capacity) {
    map = new TLongFloatHashMap(capacity);
  }
View Full Code Here

TOP

Related Classes of gnu.trove.map.hash.TLongFloatHashMap

Copyright © 2018 www.massapicom. 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.