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:

Go

Function: go (<tag>) is used within a block to transfer control to the statement of the block which is tagged with the argument to go. To tag a statement, precede it by an atomic argument as another statement in the block. For example:

display2d: false;
f(e):=block([flag: true],  TTRY_AGAIN,  e: ratexpand(e),  if flag then (e: sin(e), flag: false, go(TTRY_AGAIN)),  e);
matchdeclare([ii, jj], all);
let(dW(ii)*dW(jj),

block ([x], x:1, loop, x+1, ..., go(loop), ...)

The argument to go must be the name of a tag appearing in the same block. One cannot use go to transfer to tag in a block other than the one containing the go.

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

(%o1)                                true
(%i2) 

Related Examples

go-log

ugo:3^(x+1) = 5^x;

log(ugo);

Calculate

go-log-solve

ugo:3^(x+1) = 5^x;

(x+1)*log(3) = x*log(5);

solve(%,x);

Calculate

go-log

ugo:3^(x+1) = 5^x;

log(ugo);

simplify(%);

Calculate

go-log

ugo:3^(x+1) = 5^x;

log(ugo);

Calculate

go-log-solve

ugo:3^(x+1) = 5^x;

(x+1)*log(3) = x*log(5);

solve(%,x);

Calculate

go-log

ugo:3^(x+1) = 5^x;

log(ugo);

simplify(%);

Calculate