Class Algebra
java.lang.Object
Jcg.geometry.Algebra
Approximate computation of determinants, involving real numbers
- Version:
- 2010
- Author:
- Steve Oudot (INF562, Ecole Polytechnique)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doubledet22(double... m) Approximate computation of 2x2 determinantstatic doubledet33(double... m) Approximate computation of 3x3 determinantstatic doubledet44(double... m) Approximate computation of 4x4 determinantstatic doubledet55(double... m) Approximate computation of 5x5 determinantstatic doubledetnn(int n, double... m) Approximate computation of nxn determinant (slower than dimension-specific versions)static void
-
Constructor Details
-
Algebra
public Algebra()
-
-
Method Details
-
det22
public static double det22(double... m) Approximate computation of 2x2 determinant- Parameters:
m- a 2x2 matrix (double precision)- Returns:
- the determinant of m
-
det33
public static double det33(double... m) Approximate computation of 3x3 determinant -
det44
public static double det44(double... m) Approximate computation of 4x4 determinant -
det55
public static double det55(double... m) Approximate computation of 5x5 determinant -
detnn
public static double detnn(int n, double... m) Approximate computation of nxn determinant (slower than dimension-specific versions) -
main
-