This project has moved and is read-only. For the latest updates, please go here.

Add API that updates an array of the gradient.


We have API that returns an array with the gradient. We need to add an API that updates an array, in case we want to avoid repeated allocation of arrays and for better integration with external libraries that work that way.


brantheman wrote May 21, 2014 at 5:52 AM

In my fork I added some overloads that take an IList that can be updated. It should be as effective as reusing an array. Take a look.

alexshtf wrote May 21, 2014 at 7:53 AM

Thanks, I will.