First time here? Check out the FAQ!
answered 2015-09-24 22:02:06 +0100
So one can do that at least:
sage: octave = Octave() sage: w = octave([1, 2, 3]) sage: Matrix(ZZ, w) [1 2 3] sage: w = octave([pi, 5.7, 3]) sage: Matrix(RR, w) [3.14159000000000 5.70000000000000 3.00000000000000]