Let's assume I have the following matrix:
{{1, 0, τ^-1},
{-κ, 1, 0},
{-(1 - ρr) ψ2, -(1 - ρr) ψ1, 1},
{0, 0, 0}}
which is equal to:
{{1, 0, 10.},
{-0.2, 1, 0},
{-0.16, -0.32, 1},
{0, 0, 0}}
I then do:
RSet["gama0", {{1, 0, τ^-1}, {-κ, 1,0}, {-(1 - ρr) ψ2, -(1 - ρr) ψ1, 1}, {0, 0, 0}}]
Then REvaluate["gama0"] returns :
{{{1}, {0}, {10.}, {-1}, {0}, {-1}, {-10.}},
{{-0.2}, {1}, {0},{0.2}, {0}, {0}, {-0.5}},
{{-0.16}, {-0.32}, {1}, {0.16}, {0}, {0},{0}},
{0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0},
{1, 0, 0, 0, 0, 0, 0}, {0, 1, 0, 0, 0, 0, 0}}
which is not the same matrix (different number of levels in the rows where we had decimal numbers).
Is this a feature or a bug?
RSet["gama0", {{1, 0, 10.}, {-0.2, 1, 0}, {-0.16, -0.32, 1}, {0, 0, 0}}]? – MarcoB May 30 '18 at 16:29