homogeneous cordinates
vpachecu2 · Mon Apr 05, 2010 4:44 pm
Hello again friends
I have a problem in algebraic geometry
I have a vector field in Cartesian coordinates.
I know also that the ring C ³ in homogeneous coordinates is P ²
ie (X, Y, Z) can actually be (x / z, y / z, 1)
I want to get the vector field in these new coordinates then
is there any lib who can help me?
proc transf (matrix a)
(
int n = nrows (a);
dual matrix [n] [n];
dual [1,1] = a [2,1] / / transform the field in the dual form
dual [2,1] = -1 * a [1,1];
return (dual);
)
transf (dual (a));
now need to do this function so
I have a problem in algebraic geometry
I have a vector field in Cartesian coordinates.
I know also that the ring C ³ in homogeneous coordinates is P ²
ie (X, Y, Z) can actually be (x / z, y / z, 1)
I want to get the vector field in these new coordinates then
is there any lib who can help me?
proc transf (matrix a)
(
int n = nrows (a);
dual matrix [n] [n];
dual [1,1] = a [2,1] / / transform the field in the dual form
dual [2,1] = -1 * a [1,1];
return (dual);
)
transf (dual (a));
now need to do this function so