On Mon, 2023-01-09 at 11:31 -0800, Jakub Korsak wrote:
> Hello all,
> It is my first post here, and I'd like to ask whether there has been
> progress since 1537?
> I'm interested in contributing to the implementation of CDense, in
> particular things like Add, Mul, MulVec, Scale and such.
> What should my first steps be?
> Thanks,
> JK
There has been no progress on this.
If you are interested in implementing the basic CDense arithmetic
operations, I would suggest you make copies of the Dense operations and
pool code as was done in the linked PR; working from the original code
in the gonum/gonum repo's mat package in dense_arithmetic.go should be
fine (copy to cdense_arithmetic.go would be the most sensible).
You will also need to add tests. This can, in the first instance, be
derived from the relevant tests in dense_test.go for the methods being
added. These tests make use of the list test infrastructure which is
likely too large to bring in for CDense to start with (this can be done
in a later PR - this should be largely mechanical).
Dan