Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Kill

Function: kill (<a_1>, ..., <a_n>) 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-numer

kill(all);

t:5;

Q:32*(10**(-3)),numer;

Calculate

kill(all);

x: [3,4,1,3,5,5,3,1,2...

Calculate

##### kill-limit

kill(all);

f(x):=-3*x^(2)+8;

F(5);

Calculate

##### kill-length-makelist-map-solve-sum

kill(all);

Punkt:[[0,0],[5,1],[1...

n:length(Punkt);

Calculate

##### kill-plot2d-plot3d kill(all);

fz:a+b*N+c*N^2+d*P+e*...

a:500;

Calculate

kill(all);

1+1;

kill(all);

Calculate

##### kill-realroots

kill(all);

f(x):=0.015*x^4-3;

realroots(f(x)=0);

Calculate

kill (x, y);

cercle: (961*x^2)+(16...

Calculate

##### kill-log-solve-sum

kill(all);

v:[45.0,52.5,60.0,67....

d:[22.4,27.9,35.4,43....

Calculate

##### kill-length-makelist-map-solve-sum

kill(all);

Punkt:[[0,63],[20,30]...

n:length(Punkt);

Calculate 