Insert Access2D element in Primitive64Store in OjAlgo at specific column and row
Is it possible to insert a Access2D element in a Primitive64Store in OjAlgo? Access2D<Double> data = Access2D.wrap(mu.toRawCopy2D()); Primitive64Store B = Primitive64Store.FACTORY.make(rows * m, columns * n); I want to insert data into B at a specific start row and start column. For the moment. I have implement the procedure like this: public class Repmat { static public MatrixStore<Double> repmat(MatrixStore<Double> mu, int m, int n) { long rows = mu.countRows(); long columns = mu.countColumns(); double[][] data = mu.toRawCopy2D(); Primitive64Store B = Primitive64Store.FACTORY.make(rows * m,
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.