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

« back to all changes in this revision

Viewing changes to macros/m2sci/sci_files/sci_exist.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 [tree]=sci_exist(tree)
 
2
// Copyright INRIA
 
3
// M2SCI function
 
4
// Conversion function for Matlab exist()
 
5
// Input: tree = Matlab funcall tree
 
6
// Ouput: tree = Scilab equivalent for tree
 
7
// Emulation function: mtlb_exist()
 
8
// V.C.
 
9
 
 
10
no_equiv("Matlab exist(), mtlb_exist() is called")
 
11
 
 
12
set_infos("mtlb_exist() is just a partial emulation of Matlab exist() function !",2)
 
13
 
 
14
scitree.name="mtlb_exist"
 
15
 
 
16
tree.lhs(1).dims=list(1,1)
 
17
tree.lhs(1).type=Type(Double,Real)
 
18
 
 
19
endfunction