[FlopCpp] Sets and subsets of integer values

marcos.roberto.silva marcos.roberto.silva at uol.com.br
Thu Aug 28 13:05:21 EDT 2008


Hi,
I'm trying to create a subset of integer values like:

...
int n=10;

MP_set I(n);

MP_subset<1> K(I);

K.insert(0);
K.insert(9);
...

Is this correct? The set I is with values from 0 to 9?
Can I create a subset this way?

I need to create a subset K with only two elements 0 and 9.

Could you please help me?

Thank you very much!!

Marcos Roberto Silva





More information about the FlopCpp mailing list