Up | Next | Prev | PrevTail | Tail |
The internal ordering of variables (more specifically kernels) can have a significant effect
on the space and time associated with a calculation. In its default state, REDUCE uses a
specific order for this which may vary between sessions. However, it is possible for the
user to change this internal order by means of the declaration korder
. The syntax for
this is:
korder v1,...,vn;
where the vi
are kernels. With this declaration, the vi
are ordered internally ahead of
any other kernels in the system. v1
has the highest order, v2
the next highest, and so on.
A further call of korder
replaces a previous one. korder nil;
resets the internal
order to the system default.
Unlike the order
declaration, that has a purely cosmetic effect on the way results are
printed, the use of korder
can have a significant effect on computation time. In critical
cases then, the user can experiment with the ordering of the variables used to determine
the optimum set for a given problem.
Up | Next | Prev | PrevTail | Front |