Top
Back: 5.1.107 regularity
Forward: 5.1.109 res
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.1 Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

5.1.108 repart

Syntax:

repart ( number_expression )

Type:

number

Purpose:

returns the real part of a number from a complex ground field,
returns its argument otherwise.

Example:
 
  ring r=(complex,i),x,dp;
  repart(1+2*i);
→ 1

See impart.


Top Back: 5.1.107 regularity Forward: 5.1.109 res FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.1 Functions 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.