public class VecOp extends Object
Modifier and Type | Method and Description |
---|---|
static Hep3Vector |
add(Hep3Vector v,
Hep3Vector w) |
static HepLorentzVector |
boost(HepLorentzVector fourVector,
Hep3Vector boostVector)
Boost fourVector with boostVector.
|
static HepLorentzVector |
boost(HepLorentzVector fourVector,
HepLorentzVector refFourVector)
Boost fourVector into system of refFourVector.
|
static double |
cosTheta(Hep3Vector vector) |
static Hep3Vector |
cross(Hep3Vector v,
Hep3Vector w) |
static double |
dot(Hep3Vector v,
Hep3Vector w) |
static Hep3Matrix |
inverse(Hep3Matrix m) |
static Hep3Matrix |
mult(double scalar,
Hep3Matrix m) |
static Hep3Vector |
mult(double scalar,
Hep3Vector v) |
static Hep3Matrix |
mult(Hep3Matrix m1,
Hep3Matrix m2) |
static Hep3Vector |
mult(Hep3Matrix m,
Hep3Vector v) |
static Hep3Vector |
neg(Hep3Vector v) |
static double |
phi(Hep3Vector vector) |
static Hep3Vector |
sub(Hep3Vector v,
Hep3Vector w) |
static String |
toString(Hep3Matrix m) |
static String |
toString(Hep3Vector v) |
static String |
toString(HepLorentzVector v) |
static Hep3Vector |
unit(Hep3Vector v)
returns (0,0,0) vector if input vector has length 0
|
public static Hep3Vector add(Hep3Vector v, Hep3Vector w)
public static Hep3Vector sub(Hep3Vector v, Hep3Vector w)
public static Hep3Vector mult(double scalar, Hep3Vector v)
public static Hep3Vector mult(Hep3Matrix m, Hep3Vector v)
public static Hep3Matrix mult(Hep3Matrix m1, Hep3Matrix m2)
public static Hep3Matrix mult(double scalar, Hep3Matrix m)
public static Hep3Matrix inverse(Hep3Matrix m) throws MatrixOp.IndeterminateMatrixException
public static Hep3Vector neg(Hep3Vector v)
public static double dot(Hep3Vector v, Hep3Vector w)
public static Hep3Vector cross(Hep3Vector v, Hep3Vector w)
public static Hep3Vector unit(Hep3Vector v)
public static HepLorentzVector boost(HepLorentzVector fourVector, Hep3Vector boostVector)
public static HepLorentzVector boost(HepLorentzVector fourVector, HepLorentzVector refFourVector)
public static double cosTheta(Hep3Vector vector)
public static double phi(Hep3Vector vector)
public static String toString(Hep3Vector v)
public static String toString(HepLorentzVector v)
public static String toString(Hep3Matrix m)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics