Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sage nb code won't run now: vector.transpose() throws error.

I'm trying to run some code I found that someone ran previously on Sage, but now it won't run. I'm new to Sage, so I'm not sure what to do.

This doesn't work now: rand_transVector = vector((uniform(-10,10),uniform(-10,10),uniform(-10,10))).transpose() It says: AttributeError: 'Vector_symbolic_dense' object has no attribute 'transpose' Could someone tell me what is wrong, or look at my project?

Thanks

Sage nb code won't run now: vector.transpose() throws error.

I'm trying to run some code I found that someone ran previously on Sage, but now it won't run. I'm new to Sage, so I'm not sure what to do.

This doesn't work now: now:

rand_transVector = vector((uniform(-10,10),uniform(-10,10),uniform(-10,10))).transpose()

It says:

AttributeError: 'Vector_symbolic_dense' object has no attribute 'transpose'

Could someone tell me what is wrong, or look at my project?

Thanks