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:

Functions Calculator

Functions

-- System variable: functions Default value: []

functions is the list of ordinary Maxima functions in the current session. An ordinary function is a function constructed by define or := and called with parentheses (). A function may be defined at the Maxima prompt or in a Maxima file loaded by load or batch.

f_1 (x) := x - 100;
 f_2 (x, y) := x / y;
 define (f_3 (x), sqrt (x));
 g_1 [x] := x - 100;
 g_2 [x, y] := x / y;
 define (g_3 [x], sqrt (x));
 h_1 [x] (y) := x^y;
 functions;
 arrays;

Array functions (called with square brackets, e.g., F[x]) and subscripted functions (called with square brackets and parentheses, e.g., F[x](y)) are listed by the global variable arrays, and not by functions.

Lisp functions are not kept on any list.

Examples:

          (%i1) F_1 (x) := x - 100;
          (%o1)                   F_1(x) := x - 100
          (%i2) F_2 (x, y) := x / y;
                                                x
          (%o2)                    F_2(x, y) := -
                                                y
          (%i3) define (F_3 (x), sqrt (x));
          (%o3)                   F_3(x) := sqrt(x)
          (%i4) G_1 [x] := x - 100;
          (%o4)                    G_1  := x - 100
                                      x
          (%i5) G_2 [x, y] := x / y;
                                               x
          (%o5)                     G_2     := -
                                       x, y    y
          (%i6) define (G_3 [x], sqrt (x));
          (%o6)                    G_3  := sqrt(x)
                                      x
          (%i7) H_1 [x] (y) := x^y;
                                                y
          (%o7)                     H_1 (y) := x
                                       x
          (%i8) functions;
          (%o8)              [F_1(x), F_2(x, y), F_3(x)]
          (%i9) arrays;
          (%o9)                 [G_1, G_2, G_3, H_1]

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

(%o1)                                true
(%i2) 

Functions Example

Related Examples

functions

? functions;

Calculate

functions

f(x):=x^2;

functions;

Calculate

functions

? functions;

Calculate

functions

f(x):=x^2;

functions;

Calculate