vooga.physicsEngine.geometry.mathUtils
Class LinearAlgebraOperations

java.lang.Object
  extended by vooga.physicsEngine.geometry.mathUtils.LinearAlgebraOperations

public class LinearAlgebraOperations
extends java.lang.Object

Class that implements some standard linear algebra operations, used by the physics engine.

Author:
Peng Shi

Constructor Summary
LinearAlgebraOperations()
           
 
Method Summary
static java.util.List<Vector2f> compute2dPCA(java.util.List<Vector2f> points)
          Compute a 2 dimensional Principal Component Analysis, returning the first component then the second.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearAlgebraOperations

public LinearAlgebraOperations()
Method Detail

compute2dPCA

public static java.util.List<Vector2f> compute2dPCA(java.util.List<Vector2f> points)
Compute a 2 dimensional Principal Component Analysis, returning the first component then the second.

Parameters:
points - size-2 List of points, representing the first and second principal components
Returns: