Remove specific number from a list...

I have a list of sample values and I want to remove just one maybe two of them.

list:=[13,16,16,29,34,33,33,12,22,26,25,25,25,11]:

How could I remove just one 25 from the list?

Remove the permutation...

Hi all, i have a problem someone help me.

Define per(f(a,b,c)) = {f(a,b,c), f(b,c,a), f(c,a,b)}. I want to write a function removePer() that removes the permutations, example:

ds := {a, b, a^2, b^2, c, c + 2a, a - b, c^2, a + 2b, b + 2c}

then removePer(ds) return {a, a^2, c + 2a, a - b} because per(a) = {a, b, c}, per(a^2)  = {a^2, b^2, c^2} and per(c+2a) ={a+2b, b+2c, c+a}. Note that removePer(ds) can return {b, a^2, c + 2a, a - b} or {c, a^2, c + 2a, a - b}, ...  but just one result.

ds := {ab, bc, a - b^2, b - c^2, a^2, c - a^2},

then removePer(ds) return {ab, a - b^2, a^2}.

Thank you very much.

removing rows, or columns from a DataFrame...

Dear Community,

Is there an explicit command to remove rows or columns from a DataFrame? I've only found the Append command. What's the easiest way to do it?

best regards

Andras

Spam titles with http...

Couldn't any question with title beginning with http be removed automatically? There has been quite a few containing nothing but spam.

Trouble with RootOf in set...

Hello everyone! I got some trouble in process a list. Hope you can help:

Assume i got a list like this:

{{k = k, l = RootOf(_Z^2+_Z*k+k^2-1), o = -k-RootOf(_Z^2+_Z*k+k^2-1)}, {k = k, l = RootOf(_Z^2+_Z*k+k^2+1), o = -k-RootOf(_Z^2+_Z*k+k^2+1)}, {k = 0, l = 1, o = -1}, {k = 0, l = -1, o = 1}, {k = 1, l = 0, o = -1}, {k = 1, l = -1, o = 0}, {k = -1, l = 0, o = 1}, {k = -1, l = 1, o = 0}, {k = RootOf(_Z^2+1), l = 0, o = -RootOf(_Z^2+1)}, {k = RootOf(_Z^2+1), l = -RootOf(_Z^2+1), o = 0}}

Now all i want is remove Complex and RootOf from this list, how can i do that?

Remove Assumptions ...

I am having trouble removing assumptions that are stored within expresssions.

Example code:

`assume(l1>0): # this assumptions later helps to find a solution for a geometric problem with two four-bar-linkages`
`a := sqrt(l1);`
`save a, "test.m";`
`restart;`
`read "test.m"`
`a; # the assumptions are stored within the saved data`
`l1:='l1'; # try to remove the assumption`
`a; # assumption in a still existing`
`subs({l1=2}, a); # nothing happens: I can not access l1 any more`
`subs({l1~=2}, a); # This does not work either, nothing changes in a`

So my question is: How do I remove the assumption within a stored expression?

My main problem lies in the handling of the expression with assumptions. At some point, I want to generate Matlab code, and the codegen-command gives me:

Warning, the following variable name replacements were made: l1~ -> cg

How to remove block ?...

There have come unwanted lines and marks . I donot know how to remove them. Using doc.block, remove block seems to be little tough to incorporate! Please enlighten me. Modified doc. is most welcome. Thanks. Ramakrishnan V

 Gaussian Elimination Method

 (1)
Coefficient Tanle
 Equation 1 Equation 2 Equation 3 Equations =  =  =

The equations in matrix form is given by

 (2)

The Gaussian Elimination gives the simplified natrix equation as given below:

 (3)

The equations in simplified form are:

 (4)
 (5)
 (6)

The aolution ia obtained by solving the above equations in reverse order

 (7)

 Page 1 of 1
﻿