Lines Matching refs:x
29 public double x; field in Double2
37 this.x = data.x; in Double2()
41 public Double2(double x, double y) { in Double2() argument
42 this.x = x; in Double2()
55 res.x = a.x + b.x; in add()
67 x += value.x; in add()
77 x += value; in add()
90 res.x = a.x + b; in add()
102 x -= value.x; in sub()
115 res.x = a.x - b.x; in sub()
127 x -= value; in sub()
140 res.x = a.x - b; in sub()
152 x *= value.x; in mul()
165 res.x = a.x * b.x; in mul()
177 x *= value; in mul()
190 res.x = a.x * b; in mul()
202 x /= value.x; in div()
215 res.x = a.x / b.x; in div()
227 x /= value; in div()
240 res.x = a.x / b; in div()
253 return (x * a.x) + (y * a.y); in dotProduct()
264 return (b.x * a.x) + (b.y * a.y); in dotProduct()
274 x += a.x * factor; in addMultiple()
284 this.x = a.x; in set()
292 x = -x; in negate()
311 return x + y; in elementSum()
323 return x; in get()
340 x = value; in setAt()
359 x += value; in addAt()
375 public void setValues(double x, double y) { in setValues() argument
376 this.x = x; in setValues()
387 data[offset] = x; in copyTo()