# Revision history [back]

### Linear Transformation Matrix is Transposed

I define a linear transformation object using the following syntax:

def f(v):
l1 = [2*v+3*v, 5*v-v]
v1 = vector(l1)
return(v1)

lf = linear_transformation(RR^2, RR^2, f)
lf


The output includes the matrix [[2, 5], [3,-1]] instead of [[2,3], [5,-1]]. Is this a bug or am I doing something wrong?

### Linear Transformation Matrix is Transposed

I define a linear transformation object using the following syntax:

def f(v):
l1 = [2*v+3*v, 5*v-v]
v1 = vector(l1)
return(v1)

lf = linear_transformation(RR^2, RR^2, f)
lf


The output includes the matrix [[2, 5], [3,-1]] instead of [[2,3], [5,-1]]. Is this a bug or am I doing something wrong?

EDIT: Specifying side="right" doesn't help. 3 retagged

### Linear Transformation Matrix is Transposed

I define a linear transformation object using the following syntax:

def f(v):
l1 = [2*v+3*v, 5*v-v]
v1 = vector(l1)
return(v1)

lf = linear_transformation(RR^2, RR^2, f)
lf


The output includes the matrix [[2, 5], [3,-1]] instead of [[2,3], [5,-1]]. Is this a bug or am I doing something wrong?

EDIT: Specifying side="right" doesn't help.