How to repeat each element in a list and the whole list as well? – mathematica.stackexchange.com

Consider a list as list={1,2,3,4}; I can repeat the list n times in this way listRepeated=Flatten@Table[list, n]; Question 1: Can it be done in a faster way? I also want to repeat each element n ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "How to repeat each element in a list and the whole list as well? – mathematica.stackexchange.com"