opt: rename polytrack to polytraj
[liba.git] / java / test / _polytraj7.java
blob0d08156e9369d341cd3de7dae5023fe6d172b000
1 import java.util.Arrays;
2 import liba.polytraj7;
4 class _polytraj7 {
5 public static void main(String[] args) {
6 polytraj7 obj = new polytraj7(0, 1, 0, 1, 0, 1, 0, 1, 0, 1);
7 double[] out = obj.out(0.5);
8 System.out.println(Arrays.toString(obj.k()));
9 System.out.println(obj.pos(0.5) + "," + obj.vel(0.5) + "," + obj.acc(0.5) + "," + obj.jer(0.5));
10 System.out.println(out[0] + "," + out[1] + "," + out[2] + "," + out[3]);