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:

Collapse

Function: collapse (<expr>) Collapses <expr> by causing all of its common (i.e., equal) subexpressions to share (i.e., use the same cells), thereby saving space. (collapse is a subroutine used by the optimize command.) Thus, calling collapse may be useful after loading in a save file. You can collapse several expressions together by using collapse ([<expr_1>, ..., <expr_n>]). Similarly, you can collapse the elements of the array A by doing collapse (listarray (A)).

collapse((a+1)>(a+2));

(%o1)                                true
(%i2) 

Related Examples

collapse-optimize-ratsimp-xthru

a: 1/(c-d)-c/(c^2-d^2...

xthru(a);

b:ratsimp(a);

Calculate

collapse-constant-declare-optimize-ratsimp-xthru

declare(c,constant);

declare(d,constant);

declare(x,constant);

Calculate

collapse-constant-declare-optimize-ratsimp-xthru

declare(c,constant);

declare(d,constant);

declare(x,constant);

Calculate

collapse-constant-declare-optimize-ratsimp-xthru

declare(c,constant);

declare(d,constant);

declare(x,constant);

Calculate

collapse

collapse((a+1)>(a+...

Calculate

collapse-ratsimp-xthru

a: 1/(c-d)-c/(c^2-d^2...

xthru(a);

b:ratsimp(a);

Calculate

collapse-ratsimp-xthru

a: 1/(c-d)-c/(c^2-d^2...

xthru(a);

b:ratsimp(a);

Calculate

collapse-linsolve-lsum

eq1 : I + ri*t*B = mi;

eq2 : O + ro*(1-t)*B ...

eq3 : B = t*I + (1-t)*O;

Calculate

collapse-expand

eq1:zz : a + b*xx + c...

eq2: expand(eq1);

collapse(eq2);

Calculate