From 81c99482bd91e0d781902d6d45fadda4fbee6793 Mon Sep 17 00:00:00 2001 From: Claire Mouton Date: Mon, 1 Oct 2012 11:06:48 +0000 Subject: [PATCH] Feature #1629 Added a box to multiply two double inputs. --- packages/std/src/bbstdMultiply.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/std/src/bbstdMultiply.xml 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);    
+  
+ +
+ + -- 2.47.1