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

Method insert

Applications/HHL_Algorithm/SparseQVector.h:128–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127template<class Ty>
128void SparseQVector<Ty>::insert(unsigned long nnz_index, Ty val, unsigned long num) {
129 nnz_ind[num] = nnz_index;
130 data[num] = val;
131}

Callers 9

addOneFunction · 0.45
walkOneStepFunction · 0.45
genGraphFunction · 0.45
getRowSparseQVectorMethod · 0.45
AddNZeroIndexFunction · 0.45
quantum_grover_searchFunction · 0.45
quantum_walk_searchFunction · 0.45
controlfuncFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected