Top
Back: D.5.1.10 singularity
Forward: D.5.1.12 A_L
FastBack: D. SINGULAR libraries
FastForward: E. Release Notes
Up: D.5.1 classify_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

D.5.1.11 swap

Procedure from library classify.lib (see classify_lib).

Usage:

swap(a,b);

Return:

b,a if b,a is the input (any type)

Example:

 
LIB "classify.lib";
swap("variable1","variable2");
→ variable2 variable1

Top Back: D.5.1.10 singularity Forward: D.5.1.12 A_L FastBack: D. SINGULAR libraries FastForward: E. Release Notes Up: D.5.1 classify_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.