From: Claire Mouton Date: Mon, 1 Oct 2012 11:06:48 +0000 (+0000) Subject: Feature #1629 Added a box to multiply two double inputs. X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=81c99482bd91e0d781902d6d45fadda4fbee6793;p=bbtk.git Feature #1629 Added a box to multiply two double inputs. --- diff --git a/packages/std/src/bbstdMultiply.xml b/packages/std/src/bbstdMultiply.xml new file mode 100644 index 0000000..10ad333 --- /dev/null +++ b/packages/std/src/bbstdMultiply.xml @@ -0,0 +1,25 @@ + + + + + claire.mouton@creatis.insa-lyon.fr + Multiplies its inputs + math + + + + + +
+    bbSetOutputOut( bbGetInputIn1() * bbGetInputIn2() );
+  
+ +
+    bbSetInputIn1(0);
+    bbSetInputIn2(0);
+    bbSetOutputOut(0);    
+  
+ +
+ +