On 10 juin, 15:03, Marco Boretto <marco.b...@gmail.com> wrote:
> I'm tryng to to simple thing like this:
>
> m=[0.6158, 0.5893, 0.5682, 0.51510, 0.4980, 0.4750, 0.5791,
> 0.5570,0.5461, 0.4970, 0.4920, 0.4358, 0.422, 0.420]
> <...> i want to multiply the all the elements for
> 10^-6

Hi,

Maybe with the function "map"

scale(x) = 10^-6 * x
map(scale, m)

Daniel

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to