~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/elementary/isreal.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
isreal            Scilab Group            Scilab Function            isreal
2
 
NAME
3
 
   isreal -  check if a variable as real or complex entries
4
 
  
5
 
CALLING SEQUENCE
6
 
 t=isreal(x)
7
 
 t=isreal(x,eps)
8
 
PARAMETERS
9
 
 x    : vector or matrix with floating point entries or coefficients
10
 
      
11
 
 t    : a boolean
12
 
      
13
 
DESCRIPTION
14
 
   isreal(x) returns true if x is stored as a real variable and false if x
15
 
  stores complex numbers.
16
 
  
17
 
   isreal(x,eps) returns true if x is stored as a real variable or if
18
 
  maximum absolute value of imaginary floating points if less or equal than
19
 
  eps. 
20
 
  
21
 
EXAMPLE
22
 
 isreal([1 2])
23
 
 isreal(1+0*%i)
24
 
 isreal(1+0*%i,0)
25
 
 isreal(1+%s)
26
 
 isreal(sprand(3,3,0.1))
27
 
   
28