RcppAlgos icon indicating copy to clipboard operation
RcppAlgos copied to clipboard

comboGeneral taking matrix as input?

Open jaam92 opened this issue 4 years ago • 1 comments

I was wondering if this is possible to implement or something you have thought a bit about? For example, say I make a grid and want to constraints to it (e.g. each row must be greater or less than some value).

I have been trying this with expand.grid (because order does matter in my case) and data.table and finding it very time consuming and the required memory is quite large. I really liked the implementation in comboGeneral but it only applies to vectors.

jaam92 avatar Nov 04 '21 17:11 jaam92

@jaam92,

Could you give an example?

jwood000 avatar Dec 30 '21 18:12 jwood000