MCPcopy Create free account
hub / github.com/cvxpy/cvxpy / decr

Method decr

cvxpy/cvxcore/python/cvxcore_wrap.cxx:3412–3415  ·  view source on GitHub ↗

Backward iterator method, very common in C++, but not required in Python

Source from the content-addressed store, hash-verified

3410
3411 // Backward iterator method, very common in C++, but not required in Python
3412 virtual SwigPyIterator *decr(size_t /*n*/ = 1)
3413 {
3414 throw stop_iteration();
3415 }
3416
3417 // Random access iterator methods, but not required in Python
3418 virtual ptrdiff_t distance(const SwigPyIterator &/*x*/) const

Calls 1

stop_iterationClass · 0.85

Tested by

no test coverage detected