x method

double x()

Gets the value of the x component @return x component value

Implementation

double x() {
  return vector[1];
}