Top
Back: D.5.1.10 singularity
Forward: D.5.1.12 A_L
FastBack: Appendix D SINGULAR libraries
FastForward: E Release Notes
Up: D.5.1 classify_lib
Top: 1 Preface
Contents: Table of Contents
Index: F Index
About: About This Document

D.5.1.11 swap

Procedure from library classify.lib (see section 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: Appendix D SINGULAR libraries FastForward: E Release Notes Up: D.5.1 classify_lib Top: 1 Preface Contents: Table of Contents Index: F Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texinfo.