chain-able icon indicating copy to clipboard operation
chain-able copied to clipboard

finish loops folder, use functions-as-methods on traverse

Open aretecode opened this issue 7 years ago • 0 comments

  • [ ] so they can be optimized easier externally when used as functions
  • [ ] so it can provide a fluent interface for the iterating, reducing the different iterators required for different apis
  • [ ] so it can add compatible api methods for mappers when using with existing libs such as ramda & lodash

aretecode avatar Jul 28 '17 10:07 aretecode

Hey @nikhil-vorticity Sorry for the late reply!

Yes it would indeed be nice having such a function. The best way to proceed is certainly from a duplicate of CoalescedBlockMatrixSkel::densify in baspacho/baspacho/CoalescedBlockMatrix.cpp. Basically we already have such a function (allowing to return the factor data either before/after factorization), but it only allows you to get the data as a filled dense matrix. You can certainly modify it to add the written blocks to a sparse matrix, I don't have much time to do this myself but will be very happy to merge a diff adding this!

Best regards, Maurizio

maurimo avatar Apr 26 '24 10:04 maurimo