void CoinPackedVector::setConstant(int size, const int * inds, double value, bool testForDuplicateIndex) { clear(); gutsOfSetConstant(size, inds, value, testForDuplicateIndex, "setConstant"); }
CoinPackedVector::CoinPackedVector(int size, const int * inds, double value, bool testForDuplicateIndex) : CoinPackedVectorBase(), indices_(NULL), elements_(NULL), nElements_(0), origIndices_(NULL), capacity_(0) { gutsOfSetConstant(size, inds, value, testForDuplicateIndex, "constructor for constant value"); }
void CoinIndexedVector::setConstant(int size, const int * inds, double value) { clear(); gutsOfSetConstant(size, inds, value); }
template <typename T> CoinDenseVector<T>::CoinDenseVector(int size, T value): nElements_(0), elements_(NULL) { gutsOfSetConstant(size, value); }