euraad
euraad

Reputation: 2856

Insert column into a matrix in OjAlgo - How to do that?

I have an matrix

Primitive64Store X

And I want to insert a column vector y

double[] y

To a specific column in X. How can I do that in OjAlgo?

Upvotes: 0

Views: 74

Answers (1)

euraad
euraad

Reputation: 2856

I found the answer!

X.fillColumn(0, column, Access1D.wrap(y));

Upvotes: 1

Related Questions