Lorentzos Roussos:
Is there a built in fast function ?
heres what i'm doing so far
Suppose each column is a sample and the rows are features and i can't do
because i'd have to write 16000 arrays by hand :)
Your issue is not clear. Why do you want arrays to fill a vector to fill a matrix ?!
Assign method allow you to push an array directly in a matrix.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Is there a built in fast function ?
heres what i'm doing so far
Suppose each column is a sample and the rows are features and i can't do
matrix M={array,array2};
because i'd have to write 16000 arrays by hand :)
edit :: (could be a separate thread)
Also when using this
i.e. having a matrix M and wanting to pass only one column to a function which receives a vector
Are you creating a copy of the vector or are you reading straight from the matrix ?
I mean would it be faster accessing the matrix directly and passing the entire matrix ? (like so)
Assume gigantic amounts of data here not 5x5s
Also fix your editor , if i add a code snippet at the bottom i cannot create a new line after it