If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
A series of numbers: Help needed
15 posts
• Page 2 of 2 • 1, 2
Re: A series of numbers: Help needed
does it happen every 4th layer or just this one time from the 4th to the 5th layer..
maybe i would just take the 2^x formula and doing some special case for the 4th layer using some if / then ...
maybe i would just take the 2^x formula and doing some special case for the 4th layer using some if / then ...
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: A series of numbers: Help needed
I'm so sorry. You all were right! And it was good that you insisted on the break being irregular. I had a look at my code and for whatever reason I changed the negation "* -1" to "* -2". I guess I changed it between the test of 4 and 5 layers. But I have no clue why I did it. Maybe I was just too tired or something.
My sincerest apologies! To compensate for it I offer that you might choose the topic of Ruby Stripped, Part 3.
Vote for either
- Arrays
- self-calling classes and recursive methods
I hope this is acceptable
My sincerest apologies! To compensate for it I offer that you might choose the topic of Ruby Stripped, Part 3.
Vote for either
- Arrays
- self-calling classes and recursive methods
I hope this is acceptable
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: A series of numbers: Help needed
ARRAYS please... especially I need a clear explanation of several methods, namely .each, .each_index, .map, .collect ,etc.
I have trouble understanding what they suppose to do and what are differences between them (I can't get my head around of what they return). Topics I've googled so far are not very clear. And also how to make them iterate over just a segment of array. Also, the way I understand arrays, they only hold pointers to their child objects (not the objects themselves) which causes some unexpected (unintuitive) behaviour when copying and editing nested arrays (similar problem happened to me recently with strings too). Can you give some explanation and show how/when these problems occur and how to fix/prevent them...
I have trouble understanding what they suppose to do and what are differences between them (I can't get my head around of what they return). Topics I've googled so far are not very clear. And also how to make them iterate over just a segment of array. Also, the way I understand arrays, they only hold pointers to their child objects (not the objects themselves) which causes some unexpected (unintuitive) behaviour when copying and editing nested arrays (similar problem happened to me recently with strings too). Can you give some explanation and show how/when these problems occur and how to fix/prevent them...
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: A series of numbers: Help needed
Good to hear you found the bug tulamide !
If I may also request anything on ARRAY's. These are always needed, and understanding better ways to work with them always appreciated !
If I may also request anything on ARRAY's. These are always needed, and understanding better ways to work with them always appreciated !
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: A series of numbers: Help needed
+1 for Arrays
- Exo
- Posts: 426
- Joined: Wed Aug 04, 2010 8:58 pm
- Location: UK
15 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 56 guests