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:

Setup_autoload Calculator

Setup_autoload

Function: setup_autoload (<filename>, <function_1>, ..., <function_n>) Specifies that if any of <function_1>, ..., <function_n> are referenced and not yet defined, <filename> is loaded via load. <filename> usually contains definitions for the functions specified, although that is not enforced.

setup_autoload does not work for array functions.

setup_autoload quotes its arguments.

Example:

          (%i1) legendre_p (1, %pi);
          (%o1)                  legendre_p(1, %pi)
          (%i2) setup_autoload ("specfun.mac", legendre_p, ultraspherical);
          (%o2)                         done
          (%i3) ultraspherical (2, 1/2, %pi);
          Warning - you are redefining the Macsyma function ultraspherical
          Warning - you are redefining the Macsyma function legendre_p
                                      2
                           3 (%pi - 1)
          (%o3)            ------------ + 3 (%pi - 1) + 1
                                2
          (%i4) legendre_p (1, %pi);
          (%o4)                          %pi
          (%i5) legendre_q (1, %pi);
                                        %pi + 1
                                %pi log(-------)
                                        1 - %pi
          (%o5)                 ---------------- - 1
                                       2

(%o1)                                true
(%i2) 

Setup_autoload Example

Related Examples

setup_autoload

? setup_autoload;

Calculate

setup_autoload

? setup_autoload;

Calculate