60 std::vector< C_INT64 >::iterator it =
mReaction.begin();
61 std::vector< C_INT64 >::iterator end =
mReaction.end();
63 std::vector< C_INT64 >::const_iterator itPos = pPositive->
mReaction.begin();
64 std::vector< C_INT64 >::const_iterator itNeg = pNegative->
mReaction.begin();
66 for (; it != end; ++it, ++itPos, ++itNeg)
69 *it = PosMult * *itPos + NegMult * *itNeg;
71 if (*it == 0 || GCD1 == 1)
89 for (it =
mReaction.begin(); it != end; ++it)
117 size_t * pIndex = indexes.
array();
123 for (; i < imax; ++i, ++Index)
138 *pIndex = (
mReaction.size() - i - 1) + imax;
143 Size = pIndex - indexes.
array();
144 indexes.
resize(Size,
true);
169 for (; i < imax; ++i, ++Index)
size_t getNumberOfBits() const
void push_front(const C_INT64 &value)
static void GCD(C_INT64 &m, C_INT64 &n)
const CZeroSet & getZeroSet() const
std::vector< C_INT64 > mReaction
void resize(size_t size, const bool ©=false)
bool isSet(const CIndex &index) const
void getAllUnsetBitIndexes(CVector< size_t > &indexes) const
CStepMatrixColumn ** mIterator
CStepMatrixColumn(const size_t &size=0)
const C_INT64 & getMultiplier() const
std::vector< C_INT64 > & getReaction()
std::ostream & operator<<(std::ostream &os, const CStepMatrixColumn &c)