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

« back to all changes in this revision

Viewing changes to man/eng/scicos/DOLLAR_f.htm

  • 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
2
 
 
3
<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
 
4
original version by:  Nikos Drakos, CBLU, University of Leeds
 
5
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
 
6
* with significant contributions from:
 
7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
 
8
<HTML>
 
9
<HEAD>
 
10
<TITLE>Register </TITLE>
 
11
<META NAME="description" CONTENT="Register ">
 
12
<META NAME="keywords" CONTENT="main">
 
13
<META NAME="resource-type" CONTENT="document">
 
14
<META NAME="distribution" CONTENT="global">
 
15
 
 
16
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
 
17
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
18
 
 
19
<LINK REL="STYLESHEET" HREF="main.css">
 
20
 
 
21
</HEAD>
 
22
 
 
23
<BODY bgcolor="#FFFFFF">
 
24
 
 
25
<!--Table of Child-Links-->
 
26
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
 
27
 
 
28
<UL>
 
29
<LI><A NAME="tex2html5000"
 
30
  HREF="DOLLAR_f.htm#SECTION00583100000000000000">Library</A>
 
31
<LI><A NAME="tex2html5001"
 
32
  HREF="DOLLAR_f.htm#SECTION00583200000000000000">Description</A>
 
33
<LI><A NAME="tex2html5002"
 
34
  HREF="DOLLAR_f.htm#SECTION00583300000000000000">Dialog Box</A>
 
35
<LI><A NAME="tex2html5003"
 
36
  HREF="DOLLAR_f.htm#SECTION00583400000000000000">Default properties</A>
 
37
<LI><A NAME="tex2html5004"
 
38
  HREF="DOLLAR_f.htm#SECTION00583500000000000000">Interfacing function</A>
 
39
<LI><A NAME="tex2html5005"
 
40
  HREF="DOLLAR_f.htm#SECTION00583600000000000000">Computational function (type 0)</A>
 
41
</UL>
 
42
<!--End of Table of Child-Links-->
 
43
<HR>
 
44
 
 
45
<H2><A NAME="SECTION00583000000000000000"></A><A NAME="DOLLAR_f"></A>
 
46
<BR>
 
47
Register 
 
48
</H2>
 
49
<DIV ALIGN="CENTER">
 
50
<!-- MATH
 
51
 $\epsfig{file=DOLLAR_f.eps,width=90.00pt}$
 
52
 -->
 
53
<IMG
 
54
 WIDTH="143" HEIGHT="161" ALIGN="BOTTOM" BORDER="0"
 
55
 SRC="img143.gif"
 
56
 ALT="\epsfig{file=DOLLAR_f.eps,width=90.00pt}">
 
57
</DIV>
 
58
<H3><font color="blue"><A NAME="SECTION00583100000000000000">
 
59
Library</A>
 
60
</font></H3>
 
61
Linear
 
62
 
 
63
<H3><font color="blue"><A NAME="SECTION00583200000000000000">
 
64
Description</A>
 
65
</font></H3>
 
66
 
 
67
<P>
 
68
 
 
69
<H3><font color="blue"><A NAME="SECTION00583300000000000000">
 
70
Dialog Box</A>
 
71
</font></H3>
 
72
<DIV ALIGN="CENTER">
 
73
<TABLE CELLPADDING=3 BORDER="1">
 
74
<TR><TD ALIGN="CENTER">Set dollar block parameters</TD>
 
75
<TD></TD>
 
76
</TR>
 
77
<TR><TD ALIGN="CENTER">initial condition</TD>
 
78
<TD ALIGN="CENTER">0</TD>
 
79
</TR>
 
80
</TABLE>
 
81
</DIV>
 
82
 
 
83
<UL>
 
84
<LI>initial condition: YYYY
 
85
</LI>
 
86
</UL>
 
87
 
 
88
<H3><font color="blue"><A NAME="SECTION00583400000000000000">
 
89
Default properties</A>
 
90
</font></H3>
 
91
 
 
92
<UL>
 
93
<LI>always active: no
 
94
</LI>
 
95
<LI>direct-feedthrough: no
 
96
</LI>
 
97
<LI>zero-crossing: no
 
98
</LI>
 
99
<LI>mode: no
 
100
</LI>
 
101
<LI>number/sizes of inputs: 1 / 1
 
102
</LI>
 
103
<LI>number/sizes of outputs: 1 / 1
 
104
</LI>
 
105
<LI>number/sizes of activation inputs: 1 / 1
 
106
</LI>
 
107
<LI>number/sizes of activation outputs: 0 / 
 
108
</LI>
 
109
<LI>continuous-time state: no
 
110
</LI>
 
111
<LI>discrete-time state: yes
 
112
</LI>
 
113
<LI>name of computational function: <EM>dollar</EM>
 
114
</LI>
 
115
</UL>
 
116
<H3><font color="blue"><A NAME="SECTION00583500000000000000">
 
117
Interfacing function</A>
 
118
</font></H3>
 
119
<TT>scilab/macros/scicos_blocks/misc/DOLLAR_f.sci</TT>
 
120
 
 
121
<H3><font color="blue"><A NAME="SECTION00583600000000000000">
 
122
Computational function (type 0)</A>
 
123
</font></H3>
 
124
<BR>
 
125
<PRE>      subroutine dollar(flag,nevprt,t,xd,x,nx,z,nz,tvec,ntvec,
 
126
     &amp;     rpar,nrpar,ipar,nipar,u,nu,y,ny)
 
127
c     Copyright INRIA
 
128
 
 
129
c     Scicos block simulator
 
130
c     Ouputs delayed input
 
131
c
 
132
      double precision t,xd(*),x(*),z(*),tvec(*),rpar(*),u(*),y(*)
 
133
      integer flag,nevprt,nx,nz,ntvec,nrpar,ipar(*)
 
134
      integer nipar,nu,ny
 
135
 
 
136
c
 
137
      do 5 j=1,nu
 
138
         if(flag.eq.1.or.flag.eq.6.or.flag.eq.4) then
 
139
            y(j)=z(j)
 
140
         elseif(flag.eq.2) then
 
141
            z(j)=u(j)
 
142
         endif
 
143
 5    continue
 
144
      end
 
145
</PRE>
 
146
<BR><HR>
 
147
<ADDRESS>
 
148
Ramine Nikoukhah
 
149
2004-06-22
 
150
</ADDRESS>
 
151
</BODY>
 
152
</HTML>