MCPcopy Create free account
hub / github.com/OriginQ/QPanda-2 / SetNNZ

Method SetNNZ

Applications/HHL_Algorithm/SparseQMatrix.h:210–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 }
209
210 void SetNNZ(int nnz) {
211 nnzcol_ind = new unsigned long[nnz];
212 data = new Ty[nnz];
213 nnz_num = nnz;
214 }
215
216 Ty getValue(unsigned long x, unsigned long y);
217

Callers 2

FastTransfer2SparseQMatFunction · 0.45
getRowSparseQVectorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected