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:

Kill

Function: kill (<a_1>, ..., <a_n>)

kill(all);
load("log10");
H1(s):= 1/((s/1000+1)^2);
H2(s):= (s/1000)/((s/1000+1)^2);
H3(s):= ((s/1000)^2)/((s/1000+1)^2);
H4(s):= H1(s)+H3(s);
plot2d([20*log10(cabs(H1(%i*f))),20*log10(cabs(H2(%i*f))),20*log10(cabs(H3(%i*f))),20*log10(cabs(H4(%i*f)))], [f, 10, 20000], [logx]);

Function: kill (labels)

Function: kill (inlabels, outlabels, linelabels)

Function: kill (<n>)

Function: kill ([<m>, <n>])

Function: kill (values, functions, arrays, ...)

Function: kill (all)

Function: kill (allbut (<a_1>, ..., <a_n>)) Removes all bindings (value, function, array, or rule) from the arguments <a_1>, ..., <a_n>. An argument <a_k> may be a symbol or a single array element. When <a_k> is a single array element, kill unbinds that element without affecting any other elements of the array.

Several special arguments are recognized. Different kinds of arguments may be combined, e.g., kill (inlabels, functions, allbut (foo, bar)).

kill (labels) unbinds all input, output, and intermediate expression labels created so far. kill (inlabels) unbinds only input labels which begin with the current value of inchar. Likewise, kill (outlabels) unbinds only output labels which begin with the current value of outchar, and kill (linelabels) unbinds only intermediate expression labels which begin with the current value of linechar.

kill (<n>), where <n> is an integer, unbinds the <n> most recent input and output labels.

kill ([<m>, <n>]) unbinds input and output labels <m> through <n>.

kill (<infolist>), where <infolist> is any item in infolists (such as values, functions, or arrays) unbinds all items in <infolist>. See also infolists.

kill (all) unbinds all items on all infolists. kill (all) does not reset global variables to their default values; see reset on this point.

kill (allbut (<a_1>, ..., <a_n>)) unbinds all items on all infolists except for <a_1>, ..., <a_n>. kill (allbut (<infolist>)) unbinds all items except for the ones on <infolist>, where <infolist> is values, functions, arrays, etc.

The memory taken up by a bound property is not released until all symbols are unbound from it. In particular, to release the memory taken up by the value of a symbol, one unbinds the output label which shows the bound value, as well as unbinding the symbol itself.

kill quotes its arguments. The quote-quote operator defeats quotation.

kill (<symbol>) unbinds all properties of <symbol>. In contrast, remvalue, remfunction, remarray, and remrule unbind a specific property.

kill always returns done, even if an argument has no binding.

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

(%o1)                                true
(%i2) 

Related Examples

kill-solve

kill(all);

restart;

eq1: 1=theta_v+theta_o ;

Calculate

kill-nary-ratsimp

kill(all);

j:%i;

zc:1/(j*w*C);

Calculate

kill-solve

kill(all);

g1: 100*k1=30000+8*k2...

g2: 200*k2=10000+10*k...

Calculate

kill-load-sqrt-tanh

kill(all);

L:5.0;

D:0.05;

Calculate

kill-lambda

kill(1,2,0,1,x,y,z,la...

Calculate

kill-load-matrix-numer-reset

reset(all);

kill(all);

m1:1;

Calculate

kill-length-makelist-map-solve-sum

kill(all);

Punkt:[[0.7,0],[0.7,3...

n:length(Punkt);

Calculate

kill-linsolve

kill(eq1,eq1,eq3,eq4,...

eq1:x-y+z+t=0;

eq2:y-z=0;

Calculate

kill-solve

(20+10)*3;

20 +10*3;

solve(3*x^2-6*x-9=0);

Calculate

kill

kill(p,q);

expend(p+q)^17;

Calculate