uncomplicate

matan 2018-04-18T12:04:33.000567Z

How would I write vectors into a neanderthal matrix?

matan 2018-04-18T12:04:42.000429Z

I am reading them from a text file... my matrix should be a dense matrix sized ~500,000 over 300 (a word embedding, which I'm loading from a file)

matan 2018-04-18T12:13:44.000410Z

also, I'm not seeing where to use or require float-factory from. oh, float-factory is just a documentation error, it is now native-float isn't it.

matan 2018-04-18T12:19:15.000251Z

could you kindly suggest something? I tend to think I should initialize it in one shot, hoping that mapcating the file's lines into the neanderthal matrix initialization would not materialize the entire file in memory. I have found <https://neanderthal.uncomplicate.org/codox/uncomplicate.neanderthal.core.html#var-row> for getting a vector of a matrix, but not for setting it. Anything more efficient than using alter!? Is multiplication with an extremely sparse matrix the way to write specific vectors into/from the matrix?? or is there anything more direct? how bad do you think would it be building and using a sparse "selection matrix" for updating/extracting specific rows?