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

« back to all changes in this revision

Viewing changes to macros/percent/%b_iconvert.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=%b_iconvert(val,it)
 
2
//Author S. Steer INRIA
 
3
  [m,n]=size(val)
 
4
  if m*n==0 then r=[],return,end
 
5
  k=find(val)
 
6
  r(m,n)=iconvert(0,it)
 
7
  r(find(val))=iconvert(1,it)
 
8
endfunction