I have a list of list
A= {{0.620161, 0.320312, 0.94842, 1.11844, 1.12045, 1.12539, 1.13177,
1.13142, 1.15048, 1.23244, 0.721388, 0.708943, 0.750067, 0.744916,
0.720972, 0.674833, 1.29773, 1.29514}, {0.620161, 0.320312, 0.94842,
1.11844, 1.12045, 1.12539, 1.13177, 1.13142, 1.15048, 0.721388,
0.750067, 0.744916, 0.720972, 0.674833, 1.29383,
1.29514}, {0.620161, 0.320312, 0.94842, 1.11844, 1.12045, 1.12539,
1.13177, 1.13142, 1.15048, 0.721388, 0.750067, 0.744916, 0.720972,
0.674833, 1.29383, 1.29514}, {0.620161, 0.320312, 0.94842, 1.11844,
1.12539, 1.13177, 1.13142, 1.15048, 0.721388, 0.750067, 0.744916,
0.720972, 0.674833, 1.29383, 1.29514}, .... }}.
The number of lists inside is not known. I want to replace all the elements of the first list by 20, all the elements of the second list by 20.1 and so on for all the lists.
I tried ReplaceList
but with no success, can anyone help me with this?
list[[1,;;]]=20
. It should be easy to generalize this in the way you need it. $\endgroup$