MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / ones_complement

Function ones_complement

include/Eigen/Eigen/src/OrderingMethods/Eigen_Colamd.h:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109
110template <typename IndexType>
111IndexType ones_complement(const IndexType r) {
112 return (-(r)-1);
113}
114
115/* -------------------------------------------------------------------------- */
116const int Empty = -1;

Callers 1

garbage_collectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected