How to format numbers and save memory?

October 05 2007 by Jean 116
false
Maple

0


Hello Maple friends, I have a loop like this: A := array(1..10); for i from 1 to 10 do A[i]:= [ i, i^2, evalf(i^(1/3))]; end do; print(A); Nevertheless I dont know the following things: 1. How may I format in the way that in the third column of my array I see only 3 decimals? 2. As my matrix "A" is very big.. it is this the best way to avoid memory problems or there is some way to reduce this problem? Thanks in advance for any help! Jean
 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account