Top
Back: regularity
Forward: res
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.126 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: regularity Forward: res FastBack: Functions and system variables FastForward: Control structures Up: Functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4-0-3, 2016, generated by texi2html.