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

« back to all changes in this revision

Viewing changes to macros/m2sci/kernel/is_complex.sci

  • 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
function r=is_complex(A)
 
2
// Copyright INRIA
 
3
// M2SCI function
 
4
// Checks if A is complex
 
5
// Input: A = a M2SCI tlist
 
6
// Output: r = boolean value (true if A is complex)
 
7
// V.C.
 
8
 
 
9
r=A.property==Complex
 
10
endfunction
 
11