Are there any plans to support "views" or "shallow copies" of matrices and vectors in IT++, that is, matrices that don't own their own storage but simply contain a pointer to storage somewhere else? It seems like these would also solve the performance issue mentioned in "PROPOSAL: very fast access to rows and cols," and they wouldn't be especially hard to implement for simple cases. I'm especially interested in using this to interface with other libraries -- when I have a function that takes a matrix as a double and I want to use it++ methods on this matrix, it seems a shame to copy the whole matrix, then copy the changes back to the original double back at the end.
Thanks!
--JRZ
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We would be very glad, if you could provide us with an implementation of such a feature. The IT++ developers seems to be very busy with other task, and contribute to IT++ the codes which they usually work on, or which they simply need.
Therefore, preparing a patch should speed up the process of including such a feature in IT++.
BR,
/ediap
PS. You can open a new ticket in the Feature Request tracker and attach your implementation there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are there any plans to support "views" or "shallow copies" of matrices and vectors in IT++, that is, matrices that don't own their own storage but simply contain a pointer to storage somewhere else? It seems like these would also solve the performance issue mentioned in "PROPOSAL: very fast access to rows and cols," and they wouldn't be especially hard to implement for simple cases. I'm especially interested in using this to interface with other libraries -- when I have a function that takes a matrix as a double and I want to use it++ methods on this matrix, it seems a shame to copy the whole matrix, then copy the changes back to the original double back at the end.
Thanks!
--JRZ
Hi John,
We would be very glad, if you could provide us with an implementation of such a feature. The IT++ developers seems to be very busy with other task, and contribute to IT++ the codes which they usually work on, or which they simply need.
Therefore, preparing a patch should speed up the process of including such a feature in IT++.
BR,
/ediap
PS. You can open a new ticket in the Feature Request tracker and attach your implementation there.