]> Creatis software - bbtk.git/blob - packages/std/src/bbstdMultiply.xml
Feature #1629 Added a box to multiply two double inputs.
[bbtk.git] / packages / std / src / bbstdMultiply.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <blackbox name="Multiply">
4
5   <author>claire.mouton@creatis.insa-lyon.fr </author>
6   <description>Multiplies its inputs                 </description>
7   <category>math                               </category>
8
9   <input name="In1"  type="double" description="First number to multiply"/>
10   <input name="In2"  type="double" description="Second number to multiply"/>
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(0);
20     bbSetOutputOut(0);    
21   </PRE></defaultValues> 
22
23 </blackbox>
24
25