Answered by:
seperate range for different arrays

Question
-
Hi everybody,
Can I use the same range for different variable arrays, if my arrays are the same length?
Or having the same range makes this arrays dependent?
Any help is appreciated,
Bests
Tuesday, May 20, 2014 2:04 PM
Answers
-
Yes, you can use the same Range for multiple arrays. See the Mixture of Gaussians example.
- Marked as answer by RazinR Tuesday, May 20, 2014 2:40 PM
Tuesday, May 20, 2014 2:36 PMOwner
All replies
-
You can only index an array with the Range that the array was declared with, or a clone of this range.Tuesday, May 20, 2014 2:17 PMOwner
-
thanks. Yes. But my question is: can I define different arrays using the same range variable? - if the arrays are at the same length?.
Or I have to define separate range variables for different arrays?
Thanks a lot
Tuesday, May 20, 2014 2:26 PM -
Yes, you can use the same Range for multiple arrays. See the Mixture of Gaussians example.
- Marked as answer by RazinR Tuesday, May 20, 2014 2:40 PM
Tuesday, May 20, 2014 2:36 PMOwner -
Thanks a lot :)Tuesday, May 20, 2014 2:40 PM