Lines Matching refs:w
27 public double w; field in Double4
36 this.w = data.w; in Double4()
39 public Double4(double x, double y, double z, double w) { in Double4() argument
43 this.w = w; in Double4()
58 res.w = a.w + b.w; in add()
72 w += value.w; in add()
84 w += value; in add()
99 res.w = a.w + b; in add()
113 w -= value.w; in sub()
125 w -= value; in sub()
140 res.w = a.w - b; in sub()
157 res.w = a.w - b.w; in sub()
171 w *= value.w; in mul()
183 w *= value; in mul()
198 res.w = a.w * b.w; in mul()
215 res.w = a.w * b; in mul()
229 w /= value.w; in div()
241 w /= value; in div()
256 res.w = a.w / b; in div()
273 res.w = a.w / b.w; in div()
285 return (x * a.x) + (y * a.y) + (z * a.z) + (w * a.w); in dotProduct()
296 return (b.x * a.x) + (b.y * a.y) + (b.z * a.z) + (b.w * a.w); in dotProduct()
309 w += a.w * factor; in addMultiple()
321 this.w = a.w; in set()
331 w = -w; in negate()
349 return x + y + z + w; in elementSum()
367 return w; in get()
391 w = value; in setAt()
416 w += value; in addAt()
431 public void setValues(double x, double y, double z, double w) { in setValues() argument
435 this.w = w; in setValues()
448 data[offset + 3] = w; in copyTo()