Home Online Manual
Top
Back: imap
Forward: indepSet
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.58 impart

Syntax:
impart ( number_expression )
Type:
number
Purpose:
returns the imaginary part of a number in a complex ground field,
returns 0 otherwise.
Example:
 
  ring r=(complex,i),x,dp;
  impart(1+2*i);
==> 2
See repart.