MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / get

Method get

src/basis_factorization/SparseUnsortedArray.cpp:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118double SparseUnsortedArray::get( unsigned entry ) const
119{
120 for ( unsigned i = 0; i < _nnz; ++i )
121 {
122 if ( _array[i]._index == entry )
123 return _array[i]._value;
124 }
125
126 return 0;
127}
128
129SparseUnsortedArray::Entry SparseUnsortedArray::getByArrayIndex( unsigned index ) const
130{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected