From fc2cb38d3f3baee707e096bde9116dc2967a0814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 19 Dec 2012 08:12:01 +0000 Subject: help-patches for MarkEx's vector ops svn path=/trunk/externals/markex/; revision=16701 --- vector+-help.pd | 32 ++++++++++++++++++++------------ vector--help.pd | 33 +++++++++++++++++++++------------ vector0x2a-help.pd | 34 +++++++++++++++++++++------------- vector0x2f-help.pd | 34 +++++++++++++++++++++------------- vectorabs-help.pd | 27 +++++++++++++++++---------- vectorpack-help.pd | 40 ++++++++++++++++++++++++++++------------ 6 files changed, 128 insertions(+), 72 deletions(-) diff --git a/vector+-help.pd b/vector+-help.pd index 334efeb..e5d322b 100644 --- a/vector+-help.pd +++ b/vector+-help.pd @@ -1,14 +1,22 @@ -#N canvas 1 88 450 300 10; -#X obj 177 112 vector+; -#X text 138 59 MarkEx vector operation; -#X text 133 181 (placeholder help patch); -#N canvas 460 323 494 344 META 0; -#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan -Wilkes for Pd version 0.42.; -#X text 12 105 AUTHOR Mark Danks; +#N canvas 715 331 450 300 10; +#N canvas 753 488 494 344 META 0; +#X text 12 135 AUTHOR Mark Danks; #X text 12 25 LICENSE GPL v2; -#X text 12 45 DESCRIPTION; -#X text 12 85 OUTLET_0; -#X text 12 65 INLET_0; -#X text 12 5 KEYWORDS control; +#X text 12 5 KEYWORDS control vector; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42. \, helppatch by IOhannes m zmölnig; +#X text 13 76 INLET_0 list; +#X text 13 116 OUTLET_0 list; +#X text 12 45 DESCRIPTION adds a constant offset to a vector; +#X text 13 96 INLET_1 float; #X restore 393 265 pd META; +#X msg 64 86 1 2 3; +#X msg 175 86 10; +#X text 27 25 MarkEx vector operation: add a constant offset to a vector +; +#X text 52 248 a "vector" is simply a list of numbers.; +#X obj 64 147 print vector+; +#X obj 64 116 vector+ 42; +#X connect 1 0 6 0; +#X connect 2 0 6 1; +#X connect 6 0 5 0; diff --git a/vector--help.pd b/vector--help.pd index 1cfd0ca..2b20f74 100644 --- a/vector--help.pd +++ b/vector--help.pd @@ -1,14 +1,23 @@ -#N canvas 1 88 450 300 10; -#X text 138 59 MarkEx vector operation; -#X text 133 181 (placeholder help patch); -#X obj 177 112 vector-; -#N canvas 460 323 494 344 META 0; -#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan -Wilkes for Pd version 0.42.; -#X text 12 105 AUTHOR Mark Danks; +#N canvas 4 49 450 300 10; +#N canvas 246 447 494 344 META 0; +#X text 12 135 AUTHOR Mark Danks; #X text 12 25 LICENSE GPL v2; -#X text 12 45 DESCRIPTION; -#X text 12 85 OUTLET_0; -#X text 12 65 INLET_0; -#X text 12 5 KEYWORDS control; +#X text 12 5 KEYWORDS control vector; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42. \, helppatch by IOhannes m zmölnig; +#X text 13 76 INLET_0 list; +#X text 13 116 OUTLET_0 list; +#X text 13 96 INLET_1 float; +#X text 12 45 DESCRIPTION subtracts a constant offset from a vector +; #X restore 390 271 pd META; +#X msg 64 86 1 2 3; +#X msg 175 86 10; +#X text 27 25 MarkEx vector operation: add a constant offset to a vector +; +#X text 52 248 a "vector" is simply a list of numbers.; +#X obj 64 146 print vector-; +#X obj 64 116 vector- 42; +#X connect 1 0 6 0; +#X connect 2 0 6 1; +#X connect 6 0 5 0; diff --git a/vector0x2a-help.pd b/vector0x2a-help.pd index 8e7c0c6..c5b70cb 100644 --- a/vector0x2a-help.pd +++ b/vector0x2a-help.pd @@ -1,14 +1,22 @@ -#N canvas 1 88 450 300 10; -#X text 138 59 MarkEx vector operation; -#X text 133 181 (placeholder help patch); -#X obj 177 112 vector*; -#N canvas 458 265 494 344 META 0; -#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan -Wilkes for Pd version 0.42.; -#X text 12 105 AUTHOR Mark Danks; +#N canvas 382 194 450 300 10; +#N canvas 247 443 494 344 META 0; +#X text 12 135 AUTHOR Mark Danks; #X text 12 25 LICENSE GPL v2; -#X text 12 45 DESCRIPTION; -#X text 12 85 OUTLET_0; -#X text 12 65 INLET_0; -#X text 12 5 KEYWORDS control; -#X restore 392 269 pd META; +#X text 12 5 KEYWORDS control vector; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42. \, helppatch by IOhannes m zmölnig; +#X text 13 76 INLET_0 list; +#X text 13 116 OUTLET_0 list; +#X text 13 96 INLET_1 float; +#X text 12 45 DESCRIPTION multiplies a vector by a number; +#X restore 390 271 pd META; +#X msg 64 86 1 2 3; +#X msg 175 86 10; +#X text 52 248 a "vector" is simply a list of numbers.; +#X text 27 25 MarkEx vector operation: multiply a vector by a factor +; +#X obj 64 146 print vector*; +#X obj 64 116 vector* 42; +#X connect 1 0 6 0; +#X connect 2 0 6 1; +#X connect 6 0 5 0; diff --git a/vector0x2f-help.pd b/vector0x2f-help.pd index 7255056..62a4d1a 100644 --- a/vector0x2f-help.pd +++ b/vector0x2f-help.pd @@ -1,14 +1,22 @@ -#N canvas 1 88 450 300 10; -#X text 138 59 MarkEx vector operation; -#X text 133 181 (placeholder help patch); -#X obj 177 112 vector/; -#N canvas 459 294 494 344 META 0; -#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan -Wilkes for Pd version 0.42.; -#X text 12 105 AUTHOR Mark Danks; +#N canvas 369 150 450 300 10; +#N canvas 249 435 494 344 META 0; +#X text 12 135 AUTHOR Mark Danks; #X text 12 25 LICENSE GPL v2; -#X text 12 45 DESCRIPTION; -#X text 12 85 OUTLET_0; -#X text 12 65 INLET_0; -#X text 12 5 KEYWORDS control; -#X restore 392 270 pd META; +#X text 12 5 KEYWORDS control vector; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42. \, helppatch by IOhannes m zmölnig; +#X text 13 76 INLET_0 list; +#X text 13 116 OUTLET_0 list; +#X text 13 96 INLET_1 float; +#X text 12 45 DESCRIPTION divides a vector by a number; +#X restore 390 271 pd META; +#X msg 175 86 10; +#X text 52 248 a "vector" is simply a list of numbers.; +#X text 27 25 MarkEx vector operation: divide a vector by a factor +; +#X obj 64 116 vector/ 42; +#X msg 64 86 1 42 84; +#X obj 64 146 print vector/; +#X connect 1 0 4 1; +#X connect 4 0 6 0; +#X connect 5 0 4 0; diff --git a/vectorabs-help.pd b/vectorabs-help.pd index cee0494..c8d5807 100644 --- a/vectorabs-help.pd +++ b/vectorabs-help.pd @@ -1,14 +1,21 @@ -#N canvas 1 88 450 300 10; -#X text 138 59 MarkEx vector operation; -#X text 133 181 (placeholder help patch); +#N canvas 195 107 506 300 10; #X obj 177 112 vectorabs; -#N canvas 459 294 494 344 META 0; -#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan -Wilkes for Pd version 0.42.; +#N canvas 464 274 494 344 META 0; #X text 12 105 AUTHOR Mark Danks; #X text 12 25 LICENSE GPL v2; -#X text 12 45 DESCRIPTION; -#X text 12 85 OUTLET_0; -#X text 12 65 INLET_0; -#X text 12 5 KEYWORDS control; +#X text 12 5 KEYWORDS control vector; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42. \, helppatch by IOhannes m zmölnig; +#X text 12 65 INLET_0 list; +#X text 12 85 OUTLET_0 list; +#X text 13 45 DESCRIPTION elementwise absolute value of a vector; #X restore 394 268 pd META; +#X text 45 42 MarkEx vector operation: absolute values for each element +of vector; +#X obj 177 144 print vectorabs; +#X msg 177 86 1 -2 3 -4 -0.5; +#X text 51 186 [vectorabs] returns a new vector \, where all the elements +of the input vector are replaced by their absolute value.; +#X text 52 248 a "vector" is simply a list of numbers.; +#X connect 0 0 3 0; +#X connect 4 0 0 0; diff --git a/vectorpack-help.pd b/vectorpack-help.pd index e6c9bd6..099ea91 100644 --- a/vectorpack-help.pd +++ b/vectorpack-help.pd @@ -1,15 +1,31 @@ -#N canvas 1 88 450 300 10; -#X text 138 59 MarkEx vector operation; -#X text 133 181 (placeholder help patch); -#X obj 177 112 vectorpack; -#N canvas 451 173 494 344 META 0; -#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan -Wilkes for Pd version 0.42.; +#N canvas 252 599 522 314 10; +#N canvas 456 153 494 344 META 0; #X text 12 125 AUTHOR Mark Danks; #X text 12 25 LICENSE GPL v2; -#X text 12 45 DESCRIPTION MarkEx vector operation; -#X text 12 85 INLET_1; -#X text 12 65 INLET_0; -#X text 12 105 OUTLET_0; -#X text 12 5 KEYWORDS control; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42. \, helppatch by IOhannes m zmölnig; +#X text 12 5 KEYWORDS control vector; +#X text 12 65 INLET_0 list; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 list; +#X text 11 45 DESCRIPTION append a single value to a vector; #X restore 388 269 pd META; +#X msg 64 86 1 2 3; +#X msg 175 86 7; +#X obj 64 116 vectorpack 10; +#X text 27 25 MarkEx vector operation: create a new vector by appending +a float to vector; +#X obj 64 146 print vectorpack; +#X text 49 183 a more versatile approach is to use the [list append] +object:; +#X msg 64 216 1 2 3; +#X msg 175 216 7; +#X obj 64 246 list append 10; +#X obj 64 276 print listappend; +#X text 212 139 a "vector" is simply a list of numbers.; +#X connect 1 0 3 0; +#X connect 2 0 3 1; +#X connect 3 0 5 0; +#X connect 7 0 9 0; +#X connect 8 0 9 1; +#X connect 9 0 10 0; -- cgit v1.2.1