Questions tagged [vecmath]
13 questions
9
votes
6 answers
Import javax.vecmath
I would like to use javax.vecmath in my Java program but unfortunately it says:
The import javax.vecmath cannot be resolved
Should I add the jar by myself in the project? Where can I find that jar file? I'm on Ubuntu/Eclipse Galileo.

user319869
- 165
- 1
- 1
- 5
4
votes
1 answer
Vector Error Correction Model in r
I have to estimate the relationship between prices in New York(N) and London(L) using a vector error correction model adapted from Joel Hasbrouck. After much research online, I still have not made much headway so I thought that I would ask you…

samooch
- 81
- 1
- 1
- 5
1
vote
1 answer
Access restriction on JARs (what is the proper way to get VecMath?)
I need Vecmath, so I went to Oracle to get the latest version of Java 3D. I didn't see a place to download a JAR, but it had an installer. I downloaded and ran it. I assume that the installer added the JAR as a JDK extension
I restarted Eclipse, and…

Nick Heiner
- 119,074
- 188
- 476
- 699
1
vote
1 answer
javadoc for javax.vecmath.* in Eclipse
Anyone know where i can download javadocs for javax.vecmath.* so I can integrate it with library in Eclipse?
Hoping this is built somewhere already

bobbyrne01
- 6,295
- 19
- 80
- 150
0
votes
0 answers
Dummy variables in VECM, i.e normality diagnostics and dummy modeling of residuals (
I am trying to model exogenous events with (according to Juselius (2007 pg. 106)) dummy variables. From quoted literature we can see that there are three type of dummy variables. Mean-shift dummy variables (. . . ,0,0,0,1,1,1,. . . ), permanent blip…

Soel
- 1
- 1
0
votes
1 answer
Any Java library for 2D vectors (geometry)? Stable/maintained/perspective?
I'm working on an SVG project, and I need to do some geometrical calculations that work with the 2d vectors. I wonder whether there is some stable, widely used, maintained library for that.
I've found javax.vecmath and its class Vector2d, but the…

Jouffan
- 73
- 7
0
votes
2 answers
Where should vecmath.jar go in MacOS(11.5.1)
Preamble: So this all started with just trying to use javax.vecmath.Vector2d. I didn't have javax.vecmath so I spent a bit of time trying to get it, found that I needed to download Java3D.
After a long time of trying to download Java3D for Java…

grepgrok
- 130
- 10
0
votes
1 answer
Java cannot find javax/vecmath/Vector3d.class, even with jar in classpath
My platform has ubuntu 18.04.3 and openjdk version "1.8.0_242".
I'm running someone's executable jar file which references javax.vecmath.Vector3d, but the the openjdk vm generates NoClassDefFoundError for that class, as displayed below. The javax…

Tomasso
- 693
- 2
- 9
- 17
0
votes
1 answer
“Group” vecmath Point objects based on the distance between them
I have a load of vecmath Point objects (Point3d FWIM) which I would like to “group” based on the distance between them. I can probably write the code for this from scratch (I’ve done similar tasks in excel), but I like the idea of using existing…

pateksan
- 160
- 1
- 12
0
votes
1 answer
LWJGL3 Move entity based on its own rotation
I want to move an object based on its own direction.
The object has a translation vector and a rotation vector(degrees).
I can call a method move and give it a direction and the units the object should be moved(speed if you so wish). If I give this…

RalleYTN
- 138
- 10
0
votes
1 answer
Rotations from javax.vectmath.matrix3d
After a long time, I try to use JAVA again. I'm using the vectmath package, with which I'd like to rotate a 3d vector with a rotation matrix. So I wrote that:
double x=2, y=0.12;
Matrix3d rotMat = new Matrix3d(1,0,0, 0,1,0, 0,0,1); //identity…

Rigel
- 3
- 1
0
votes
2 answers
Run time java jar file with jython exceptions
I have a big application that worked perfect inside eclipse, I create an executable jar file for my application, My application use jython to define some resources. Also I create `the following .bat file to run the file:
@ echo off
java -Xms64m…

Jar
- 11
- 2
0
votes
0 answers
Converting quaternion to matrix and vice versa should have the same transformation
Am I wrong on assuming that by arbitrary converting from Quaternion to Matrix of Vecmath classes should remain the same transformation to a vector/point?
Here is my test script. It just loops around printing the rotated vector, testing the result…

Jay
- 21
- 4