public final class DotProductsDouble extends Object
| Modifier and Type | Method | Description |
|---|---|---|
static double |
dotProduct2(double x0,
double y0,
double x1,
double y1) |
Calculate the dot product of
(x0, y0) and (x1, y1). |
static double |
dotProduct3(double x0,
double y0,
double z0,
double x1,
double y1,
double z1) |
Calculate the dot product of
(x0, y0, z0) and (x1, y1, z1). |
static double |
dotProduct4(double x0,
double y0,
double z0,
double w0,
double x1,
double y1,
double z1,
double w1) |
Calculate the dot product of
(x0, y0, z0, w0) and (x1, y1, z1, w1). |
public static double dotProduct4(double x0,
double y0,
double z0,
double w0,
double x1,
double y1,
double z1,
double w1)
(x0, y0, z0, w0) and (x1, y1, z1, w1).x0 - The X component of the first vectory0 - The Y component of the first vectorz0 - The Z component of the first vectorw0 - The W component of the first vectorx1 - The X component of the second vectory1 - The Y component of the second vectorz1 - The Z component of the second vectorw1 - The W component of the second vectorpublic static double dotProduct3(double x0,
double y0,
double z0,
double x1,
double y1,
double z1)
(x0, y0, z0) and (x1, y1, z1).x0 - The X component of the first vectory0 - The Y component of the first vectorz0 - The Z component of the first vectorx1 - The X component of the second vectory1 - The Y component of the second vectorz1 - The Z component of the second vectorpublic static double dotProduct2(double x0,
double y0,
double x1,
double y1)
(x0, y0) and (x1, y1).x0 - The X component of the first vectory0 - The Y component of the first vectorx1 - The X component of the second vectory1 - The Y component of the second vectorCopyright © 2017 <code@io7m.com> http://io7m.com