### The Maxima on-line user's manual

Algebra Calculator

#### 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-mod

kill(all);

v:[4,8,2,0,0,4,9,4,9,...

s1:3*(4+2+0+9+9+0);

Calculate

##### kill-plot3d

plot3d(100*0.5^((Angu...

kill(all);

Calculate

##### kill-solve

/* [wxMaxima batch fi...

restart;

/* [wxMaxima: input ...

Calculate

kill(v1,v2,v3);

v1:[0,1,1];

v2:[1,0,1];

Calculate

kill(all);

'(ya=ga-i*ba);

'(yb=gb-i*bb);

Calculate

##### kill-solve

kill(all);

restart;

eq1: 1=theta_v+theta_o ;

Calculate

##### kill-matrix

kill(all);

a: matrix ( [3.75,-0....

Calculate

kill(v1,v2,v2);

v1:[-1,0,1];

v2:[0,1,-1];

Calculate

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

kill(all);

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

n:length(Punkt);

Calculate

##### kill-log-plot2d-taylor

kill(all);

taylor(log(x/0.001),x...

f1(x):=log(x/0.001);

Calculate