public class Vector extends Object
| Modifier and Type | Method and Description |
|---|---|
double |
cartesian(int i) |
Vector |
direction() |
double |
distanceTo(Vector that) |
double |
dot(Vector that) |
int |
length() |
double |
magnitude() |
static void |
main(String[] args) |
Vector |
minus(Vector that) |
Vector |
plus(Vector that) |
Vector |
times(double factor) |
String |
toString() |
public int length()
public double dot(Vector that)
public double magnitude()
public double distanceTo(Vector that)
public double cartesian(int i)
public Vector times(double factor)
public Vector direction()
public static void main(String[] args)
Copyright © 2014. All Rights Reserved.