Top
Back: Access to elements of a user defined type
Forward: Assignments for user defined types
FastBack: vector
FastForward: cone
Up: User defined types
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.22.4 Commands for user defined types

User defined types are normal data types (which do not belong to a ring, even if they have ring dependent parts), so they can be passed as argument to procedures, and recieved as result from procedures.

In order to apply kernel commands to these types (like string, +), provide a usual procedure (say proc p..) for that task and install it via system("install", user_type , kernel_command ,p, number_of_args );. The user_type and kernel_command have to be given as strings.


Example:
 


Top Back: Access to elements of a user defined type Forward: Assignments for user defined types FastBack: vector FastForward: cone Up: User defined types Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.