Items tagged with unique



I have this program which when I run gives me five unique matrices as I want it. I however, when I run it again the enries of the matrices changes and I get 5 identical matrices, how can I prevent this from happening?


Hi there,

I've been trying to find an equivalent to MATLAB's unique command in Maple, but I had no success.

I've seen that Maple would return the elements that are either repeated (FindRepetitions) or not repeated (MakeUnique), but not the indices within the original list.

Is there way to do that?



Hi i 2 questions. all pertaining to solving a systems of equations mod 2

First if i have a large set of equations, 11^3 equations in 11 unknowns and i want maple to give me ALL solutions mod 2 how can i do that? Maples msolve is loosing solutions.

Second suppose i want all unique solutions that say 6 of the variables can have but dont care what the solution to the other variables are as long as it is a solution. 

mini example:

say x=1,y=1,z=1 is a solution as well as x=1,y=1,z=0, i just want to know about x=1,y=1.


Hi there,

 I have a piece of code that uses lists instead of vectors and recently, it crashed, it ran out of memory. Long story short, if I use vectors instead of lists, the performance is much better and optimal (this I knew but I was lazy to translate all my code). However, there's one single line that I cannot efficiently translate and it's the one that uses the function member(). Before, I had the following (it's an oversimplification of my code in order to easily discuss it in here):

Page 1 of 1