1
c Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4
c This file must be used under the terms of the CeCILL.
5
c This source file is licensed as described in the file COPYING, which
6
c you should have received as part of this distribution. The terms
7
c are also available at
8
c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
subroutine intspmax(fname,id)
35
if (istk(il1) .ne. 5) then
57
if (stk(l1+i).gt.tv) then
62
if(tv.lt.0.0d0.and.nel1.lt.m1*n1) tv=0.0d0
65
if (stk(l1+i).lt.tv) then
70
if(tv.gt.0.0d0.and.nel1.lt.m1*n1) tv=0.0d0
97
err=lstk(top)+4-lstk(bot)
119
c checking variable sp2 (number 2)
126
il2 = iadr(lstk(top))
127
if (istk(il2) .ne. 5) then
143
l2=sadr(irc2+m2+nel2)
145
c checking variable sp1 (number 1)
148
il1 = iadr(lstk(top))
149
if (istk(il1) .ne. 5) then
159
l1=sadr(irc1+m1+nel1)
166
if(m1.ne.m2.or.n1.ne.n2) then
171
nelmx=(iadr(lstk(bot))-irc-m1-10)/3
172
lc=sadr(irc+m1+nelmx)
180
if(fname.eq.'max') then
181
call dspmax(m1,n1,stk(l1),nel1,istk(irc1),stk(l2),nel2,
182
$ istk(irc2),stk(lc),nel,istk(irc),ierr)
184
call dspmin(m1,n1,stk(l1),nel1,istk(irc1),stk(l2),nel2,
185
$ istk(irc2),stk(lc),nel,istk(irc),ierr)
193
call icopy(m1+nel,istk(irc),1,istk(irc1),1)
195
call unsfdcopy(nel,stk(lc),1,stk(l1),1)
200
c ======================================