# Question:making an array and using its name

## Question:making an array and using its name

Maple

hi friends!
I have a 2*2 matrix(namely Mcell), whose elements vary as a complex function of "nu".
for each cycle of a "for" loop, h[j] := abs(Re(Mcell[2, 2])), whose diagram is periodic and has many crosses with y=1.
i just wanted the first two points(their difference) and used

L := Roots(h[j]-1, nu = 1 .. something, numeric); and
w[j] := L[2]-L[1];

in a "for" loop.

i check the answer, they are all true(w gets 20 values in 20 iterations).

after evaluation i wrote "w;", it printed just "w", so isn't an array.
if i write "print(w)" it displays apparently the correct answer(and what i want to be like whatever when typing d is displaying):
[1.101884242*10^13, 1.762354680*10^13, 2.159287241*10^13, 2.393222667*10^13, 2.520092145*10^13, 2.573280848*10^13, 2.574434853*10^13, 2.538676607*10^13, 2.477164896*10^13, 2.398377725*10^13, 2.308792491*10^13, 2.213299520*10^13, 2.115506104*10^13, 2.01799238610*10^13, 1.922535305*10^13, 1.830300914*10^13, 1.742003313*10^13, 1.658030958*10^13, 1.578543702*10^13, 1.503545288*10^13]

but when i pasted it here, transformed like this:
Vector[row](20, {(1) = 0.1101884242e14, (2) = 0.1762354680e14, (3) = 0.2159287241e14, (4) = 0.2393222667e14, (5) = 0.2520092145e14, (6) = 0.2573280848e14, (7) = 0.2574434853e14, (8) = 0.2538676607e14, (9) = 0.2477164896e14, (10) = 0.2398377725e14, (11) = 0.2308792491e14, (12) = 0.2213299520e14, (13) = 0.2115506104e14, (14) = 0.2017992386e14, (15) = 0.1922535305e14, (16) = 0.1830300914e14, (17) = 0.1742003313e14, (18) = 0.1658030958e14, (19) = 0.1578543702e14, (20) = 0.1503545288e14})

what's the difference between them?  and why whenever i use

d := [seq(0.1e-5*i, i = .1 .. 2, .1)]:
f := CurveFitting:-PolynomialInterpolation(d, w, x);

there appears:
Error, (in CurveFitting:-PolynomialInterpolation) data points not in recognizable format.

﻿