public SparseMatrix(){ vector = new TLongFloatHashMap(100,0.8f); }
public SparseMatrix clone(){ SparseMatrix mat = new SparseMatrix(); mat.dim = this.dim; mat.vector = new TLongFloatHashMap(vector); return mat; }
public AutoDeltaLongFloatMap() { this.changes = new ArrayList<>(5); this.container = new TLongFloatHashMap(); this.baselineCommandCount = 0; }