I have the following code from a 'C' program:
Although this is called 'Cross' it is not, as far as I can tell, a cross product.
It returns a scalar quantity.
Can someone please tell what this is called and what the result represents, please?
C:
public class Vector
{
public double X;
public double Y;
public double Cross(Vector v)
{
return X * v.Y - Y * v.X;
}
}
It returns a scalar quantity.
Can someone please tell what this is called and what the result represents, please?