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

« back to all changes in this revision

Viewing changes to macros/percent/%mc_i_s.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 M=%mc_i_s(varargin)
 
2
[lhs,rhs]=argn(0)
 
3
M=varargin(rhs)
 
4
N=varargin(rhs-1)//inserted matrix
 
5
index=varargin(1) //
 
6
 
 
7
if rhs==3&(type(index)==10|type(index)==15) then
 
8
  M=createstruct(index,N)
 
9
  return
 
10
end
 
11
endfunction