|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Is it possible to add an element to valarray<T>?
Is there something like push_back() for valarray<T>? Alex Vinokur email: alex DOT vinokur AT gmail DOT com http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Fri, 18 Jan 2008 05:34:47 -0800, Alex Vinokur wrote:
> Is it possible to add an element to valarray<T>? Is there something like > push_back() for valarray<T>? I don't believe so - unlike std::vector, std::valarrays are essentially non-resizeable (the resize() member destroys the current contents of the array). -- Lionel B |
|
![]() |
| Outils de la discussion | |
|
|