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:

Nary

5.1 nary========

An nary operator is used to denote a function of any number ofarguments, each of which is separated by an occurrence of the operator,e.g. A+B or A+B+C. The nary("x") function is a syntax extensionfunction to declare x to be an nary operator. Functions may bedeclared to be nary. If declare(j,nary); is done, this tells thesimplifier to simplify, e.g. j(j(a,b),j(c,d)) to j(a, b, c, d).

declare (F, nary);
 F ([L]) := L;
 xreduce (F, [a, b, c, d, e]);
 G ([L]) := L;
 xreduce (G, [a, b, c, d, e]);
 lreduce (G, [a, b, c, d, e]);

See also Syntax.

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

(%o1)                                true
(%i2) 

Related Examples