Re: [julia-users] View (a portion of a) vector as a matrix

2016-10-02 Thread Tom Breloff
Look at 'splitview' in CatViews.jl On Sunday, October 2, 2016, Alexey Cherkaev wrote: > I have the model where it is convenient to represent one of the variables > as a matrix. This variable, however, is obtained as a solution of ODEs > (among other variables). I'm

[julia-users] View (a portion of a) vector as a matrix

2016-10-02 Thread Alexey Cherkaev
I have the model where it is convenient to represent one of the variables as a matrix. This variable, however, is obtained as a solution of ODEs (among other variables). I'm using Sundials to solve ODEs and `Sundials.cvode` requires the ODE RHS function to take a vector. So, it seems logical