Loading...
Searching...
No Matches
basevectors.h
Go to the documentation of this file.
31/* undefine SOPLEX_DEBUG flag from including files; if SOPLEX_DEBUG should be defined in this file, do so below */
52// ---------------------------------------------------------------------------------------------------------------------
54// ---------------------------------------------------------------------------------------------------------------------
57/** Assigning an SVectorBase to a VectorBase using operator=() will set all values to 0 except the nonzeros of \p vec.
100/** Assigning an SSVectorBase to a VectorBase using operator=() will set all values to 0 except the nonzeros of \p vec.
153{
334}
340// ---------------------------------------------------------------------------------------------------------------------
342// ---------------------------------------------------------------------------------------------------------------------
399 {
476 {
519SSVectorBase<R>& SSVectorBase<R>::assign2product(const SSVectorBase<S>& x, const SVSetBase<T>& A)
612SSVectorBase<R>& SSVectorBase<R>::assign2product1(const SVSetBase<S>& A, const SSVectorBase<T>& x)
634 }
941// ---------------------------------------------------------------------------------------------------------------------
943// ---------------------------------------------------------------------------------------------------------------------
1062// ---------------------------------------------------------------------------------------------------------------------
1064// ---------------------------------------------------------------------------------------------------------------------
1134// ---------------------------------------------------------------------------------------------------------------------
1136// ---------------------------------------------------------------------------------------------------------------------
#define SOPLEX_SHORTPRODUCT_FACTOR Assigns SSVectorBase to for a setup x. Definition basevectors.h:546 Definition rational.h:237 DSVectorBase< R > & operator=(const SVectorBase< S > &vec) Assignment operator. Definition dsvectorbase.h:161 SSVectorBase< R > & assign2productShort(const SVSetBase< S > &A, const SSVectorBase< T > &x) Assignment helper. Definition basevectors.h:648 SSVectorBase< R > & assign2product1(const SVSetBase< S > &A, const SSVectorBase< T > &x) Assignment helper. Definition basevectors.h:612 SSVectorBase< R > & multAdd(S xx, const SVectorBase< T > &vec) Addition of a scaled vector. Definition basevectors.h:389 SSVectorBase< R > & assign(const SVectorBase< S > &rhs) Assigns only the elements of rhs. Definition basevectors.h:864 SSVectorBase< R > & assign2product4setup(const SVSetBase< S > &A, const SSVectorBase< T > &x, Timer *timeSparse, Timer *timeFull, int &nCallsSparse, int &nCallsFull) Assigns SSVectorBase to for a setup x. Definition basevectors.h:550 SSVectorBase(int p_dim, std::shared_ptr< Tolerances > tol=nullptr) Default constructor. Definition ssvectorbase.h:674 void setup() Initializes nonzero indices for elements with absolute values above epsilon and sets all other elemen... Definition ssvectorbase.h:145 SSVectorBase< R > & assign2product(const SSVectorBase< S > &x, const SVSetBase< T > &A) Assigns to SSVectorBase. Definition basevectors.h:519 SSVectorBase< R > & assignPWproduct4setup(const SSVectorBase< S > &x, const SSVectorBase< T > &y) Assigns pair wise vector product to SSVectorBase. Definition basevectors.h:458 SSVectorBase< R > & operator=(const SSVectorBase< S > &rhs) Assignment operator. Definition ssvectorbase.h:788 SSVectorBase< R > & assign2productFull(const SVSetBase< S > &A, const SSVectorBase< T > &x) Assignment helper. Definition basevectors.h:762 const std::shared_ptr< Tolerances > & tolerances() const Definition ssvectorbase.h:120 SSVectorBase< R > & assign2productAndSetup(const SVSetBase< S > &A, SSVectorBase< T > &x) Assigns SSVectorBase to thereby setting up x. Definition basevectors.h:806 SVectorBase< R > & operator=(const VectorBase< S > &vec) Assignment operator. Definition basevectors.h:951 Definition stablesum.h:36 virtual void start()=0 start timer, resume accounting user, system and real time. VectorBase< R > & assign(const SVectorBase< S > &vec) Assign values of vec. Definition basevectors.h:86 VectorBase< R > & operator=(const VectorBase< S > &vec) Assignment operator. Definition vectorbase.h:157 void reDim(int newdim, const bool setZero=true) Resets VectorBase's dimension to newdim. Definition vectorbase.h:541 VectorBase< R > & multSub(const S &x, const SVectorBase< T > &vec) Subtraction of scaled vector. Definition basevectors.h:297 VectorBase< R > & multAdd(const S &x, const VectorBase< T > &vec) Addition of scaled vector. Definition vectorbase.h:458 Dynamic sparse vectors. Everything should be within this namespace. std::istream & operator>>(std::istream &s, VectorBase< R > &vec) Definition basevectors.h:1204 std::ostream & operator<<(std::ostream &s, const VectorBase< R > &vec) Output operator. Definition basevectors.h:1143 VectorBase< R > operator-(const SVectorBase< R > &v, const VectorBase< R > &w) Subtraction. Definition basevectors.h:1162 Debugging, floating point type and parameter definitions. Semi sparse vector. Sparse vectors. Set of sparse vectors. Timer class. Dense vector.
|