Top
Back: 5.1.98 printf
Forward: 5.1.100 qhweight
FastBack: 5 Functions and system variables
FastForward: 6 Tricks and pitfalls
Up: 5.1 Functions
Top: 1 Preface
Contents: Table of Contents
Index: F Index
About: About This Document

5.1.99 prune

Syntax:

prune ( module_expression )

Type:

module

Purpose:

returns the module minimally embedded in a free module such that the corresponding factor modules are isomorphic.

Example:
  ring r=0,(x,y,z),dp;
  module m=gen(1),gen(3),[x,y,0,z],[x+y,0,0,0,1];
  print(m);
→ 1,0,x,x+y,
→ 0,0,y,0,  
→ 0,1,0,0,  
→ 0,0,z,0,  
→ 0,0,0,1   
  print(prune(m));
→ y,
→ z 

See module.


Top Back: 5.1.98 printf Forward: 5.1.100 qhweight FastBack: 5 Functions and system variables FastForward: 6 Tricks and pitfalls Up: 5.1 Functions 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.