]> Creatis software - bbtk.git/blob - packages/std/src/bbstdDiv.xml
#3423 BBTK Feature New Normal - box std MapToLst
[bbtk.git] / packages / std / src / bbstdDiv.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <blackbox name="Div">
4
5   <author>laurent.guigues@creatis.insa-lyon.fr</author>
6   <description>Divides its inputs</description>
7   <category>math</category>
8
9   <input name="In1"  type="double" description="Numerator"/>
10   <input name="In2"  type="double" description="Denominator"/>
11   <output name="Out" type="double" description="Result"/>
12
13   <process><PRE>
14     bbSetOutputOut( bbGetInputIn1() / bbGetInputIn2() );
15   </PRE></process>
16   
17   <defaultValues><PRE>
18     bbSetInputIn1(0);
19     bbSetInputIn2(1);
20     bbSetOutputOut(0);
21   </PRE></defaultValues>    
22
23 </blackbox>
24