Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Listify Calculator

Listify

Function: listify (<a>) Returns a list containing the members of <a> when <a> is a set. Otherwise, listify returns <a>.

:lisp (lisp-implementation-type);
:lisp (lisp-implementation-version);
prime(z):=block([k:z, y:1],     (y:listify(setify(append(makelist(if(primep(k)) then k else 1, k, 1, k), [y])))),    return(y));
prime(10);
primes_between(m,z):=block([k:z, y:1, l:m],     (y:listify(setify(append(makelist(if(primep(k)) then k else 1, k, l, k), [y])))),    return(y));
primes_between(10, 20);

full_listify replaces all set operators in <a> by list operators.

Examples:

          (%i1) listify ({a, b, c, d});
          (%o1)                     [a, b, c, d]
          (%i2) listify (F ({a, b, c, d}));
          (%o2)                    F({a, b, c, d})

There are also some inexact matches for listify. Try ?? listify to see them.

(%o1)                                true
(%i2) 

Listify Example

Related Examples

listify-maplist-setify

p:2*x^2+11*x-7/4;

p1:x=1;

ta:setify(maplist(rhs...

Calculate

listify-matrix-powerset-print-rank-setdifference-submatrix

A:matrix([-1,-1,1,0,0...

n:rank(A);

B[1,2,3]:submatrix(4,...

Calculate

listify-powerset

"*"/* Einfache Zinse...

"*"/* Beteiligt: K -&...

S:{K,p,t,Z};

Calculate

listify-setify-sort-sqrt-transpose

og:10/* diese Obergre...

liste:[];

for z:1 thru og do bl...

Calculate

listify-makelist-matrix-powerset-print-rank-setdifference-setify

A:matrix([-1, -1,1,0,...

n:rank(A);

test:setify(makelist(...

Calculate

listify-maplist-setify-solve

p:2*x^2+11*x-7/4;

p1:x=1;

ta:setify(maplist(rhs...

Calculate

listify-makelist-map-powerset-sort-sqrt

Dreieck:[[[1, 5], [5,...

S1:map(setify,Dreieck);

S1:setify(S1);

Calculate

listify-makelist-matrix-powerset-print-rank-setdifference-setify

A:matrix([-1, -1,1,0,...

n:rank(A);

test:setify(makelist(...

Calculate

listify-powerset

"*"/* Einfache Zinse...

"*"/* Beteiligt: K -&...

S:{K,p,t,Z};

Calculate

listify-makelist-map-powerset-setify-sqrt

D1:[[1, 5], [5, 1], [...

S1:setify(D1);

P1:powerset(S1,2);

Calculate