Weird comportment in the construction of a matrix

asked 2020-04-02 19:12:25 +0200

Cyrille gravatar image

your = vector([0.54,0.24,0.06,0.24,0.06,0.54])

auss => vector([0.5,0.10,0.10,0.6,0.2,0.8])

show(your)

show(auss)

data = Matrix([your,auss])

show(data)

Now when I ask sage to trunkate the number of zero, not to 2, 3 or for in your & auss or in data, the effect is not the same and is no more the true data.

Also if i name a vector D1 I have an error when D_1 is safe. Why ?

edit retag flag offensive close merge delete

Comments

Please provide more information. Can you include the commands you used which led to the problems in your first sentence? What commands did you use, what output did you expect, and what output did you get instead? I don't understand what you mean. Similarly, can you provide the commands and the error regarding D1?

John Palmieri gravatar imageJohn Palmieri ( 2020-04-02 22:16:41 +0200 )edit