# Items tagged with membermember Tagged Items Feed

### is there a member() function for Vectors...

November 14 2012 by Maple 15

2

8

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):

### Unbelievable Maple 15.00 bug ???

May 15 2012 by Maple

0

4

I think I have come across with what it looks like a very basic bug using the member function. I get the error message: "Error, cannot determine if this expression is true or false: (3) < 100"  after the execution of the last line to the next code:

>Test:=Array(1..3,[1,2,3]);
>member(3,Test,'l');
>if l<100 then print("yes"); end if;

am I doing something wrong ?? I even checked the type of the variable 'l' and it is indeed an integer...

### BLOG CONTRIBUTOR'S Qualifications and...

December 23 2010 by

0

3

since i can't find the answer in F.A.Q or by searching so i started this thread on my curiosity on BLOGGING ...

i want to know is there anyway that common members can promote to a degree that allow them become a BLOG Contributor in mapleprimes ?

what are Qualifications and Requirements ?

thanks a lot for your guides and comments !

October 24 2010 by

1

1

Just looked at the badges pages (clicking on the corresponding tab at the top).

88 people (including me) earned Tumbs-up badge, but only 50 people are listed there, and it says "page 1 of 1", there is no 2nd page - and unfortunately I didn't find myself there.

Even more interesting - clicking on most earned badges - such as 1st questions etc. - there are many pages, but only the first page for every badge have people listed - all the other pages are empty.

### remove element from listlist and member...

August 07 2010 by

0

9

L:=[[name,4,3,6,5],[3,5,name],[3,6,1,2,9,8]]   I want to remove name from the listlist or all 3's for example

I've tried

remove(has,L,3) which removes the entire sublists containing 3 so I tried

map(remove,=,L,3) but that doesn't work I thought since remove(=,L,3) worked on a flatlist that using map would work on the listlist or even map2(map,remove,=,L,3).  I can't figure it out.

And how do you use member on L?  I end...

 Page 1 of 1