Martin Larsen on Sun, 25 Oct 2015 00:25:12 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Using forvec as fordiv

On 10/21/2015 10:41 PM, Charles Greathouse wrote:
Given a vectors u and v with #v == #u, what's the easiest way to extract
the elements of v for which the corresponding element of u is nonzero?
(All elements from u will be 0 or 1.)

This is for constructing divisors of factorback(v) in their factored form.