|
SoPlex Doxygen Documentation
|
Go to the documentation of this file.
151 assert(n >= 0 && n < size());
201 assert( index(n) >= 0);
315 void reDim ( int newdim);
327 void reMem( int newsize);
347 len = (p_dim < 1) ? 1 : p_dim;
429 assert(svec. dim() <= dim());
435 for( int i = 0; i < svec. size(); i++)
436 val[idx[i]] += x * svec[idx[i]];
440 assert(svec. dim() == dim());
442 for( int i = 0; i < dim(); i++)
443 val[i] += x * svec. val[i];
452 assert(svec. dim() <= dim());
458 for( int i = svec. size(); i > 0; i--)
460 val[*idx] = svec. val[*idx];
465 operator= (static_cast<const Vector&>(svec));
478 operator= (static_cast<const Vector&>(vec));
492 for( int i = v. size(); i > 0; i--)
494 x += val[*idx] * v. val[*idx];
500 return operator*(static_cast<const Vector&>(v));
503 #endif // _SSVECTOR_H_
|