code: public double[] errorVector(V p) {
      return weakEigenvectors.length > 0 ? times(weakEigenvectors, transposeTimes(weakEigenvectors, minusEquals(p.toArray(), centroid))) : EMPTY_VECTOR;
    }
docs: Returns the error vectors after projection.
  
  @param p a vector in the space underlying this solution
  @return the error vectors