This project has moved. For the latest updates, please go here.

insert element in a vector

Apr 29, 2014 at 2:03 PM
Hi all

I am new to mathnet. I am a bit lost. I have a vector of unknown size. So I initialize it with one element. Then each iteration adds a new element to the vecto , but I dont see any method that correspond of list "Add" method.

Is there a simple way to manage it?

Thanks a lot for a great library.
Coordinator
May 2, 2014 at 5:24 PM
Edited May 2, 2014 at 5:25 PM
This is scheduled for v3.0.0-beta2, see Issue 159.

However, be aware that vectors have a fixed sized. Growing or shrinking them will always result in a full copy.
Marked as answer by cdrnet on 5/2/2014 at 10:25 AM