Class Algebra

java.lang.Object
Jcg.geometry.Algebra

public class Algebra extends Object
Approximate computation of determinants, involving real numbers
Version:
2010
Author:
Steve Oudot (INF562, Ecole Polytechnique)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    det22(double... m)
    Approximate computation of 2x2 determinant
    static double
    det33(double... m)
    Approximate computation of 3x3 determinant
    static double
    det44(double... m)
    Approximate computation of 4x4 determinant
    static double
    det55(double... m)
    Approximate computation of 5x5 determinant
    static double
    detnn(int n, double... m)
    Approximate computation of nxn determinant (slower than dimension-specific versions)
    static void
    main(String[] args)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static void main(String[] args)