| ||||||
| ||||||
| Prototype | ||||||
|
template <class VecX, class VecY> void gather(const VecX& x, VecY y) ; | ||||||
| Description | ||||||
| Gathers the elements of the dense vector x into the sparse vector y, based on the non-zero structure of y. | ||||||
| Definition | ||||||
| mtl.h | ||||||
| Preconditions | ||||||
|
| ||||||
| Complexity | ||||||
| O(n) where n is the size of the sparse vector | ||||||
| Example | ||||||
| Notes | ||||||
| See also | ||||||

Copyright ©
1998,1999 University of Notre Dame. All Rights Reserved.