Up: Java Kali Source Code and Documentation
Class DMatrix
Class DMatrix
java.lang.Object
|
+----DMatrix
- class DMatrix
- extends Object
A DMatrix is a 2x2 matrix; each entry is a double.

DMatrix()
- Create a new matrix with unspecified entries.
DMatrix(double, double, double, double)
- Create a new DMatrix with the given entries.

det()
- Return the determinant of this matrix.
inverse()
- Return the inverse of this matrix.
times(DMatrix)
- Multiply this matrix by another one.
times(DVector)
- Multiply this matrix by a vector on the RIGHT:
M.times(v) returns M * v.
toString()
- Convert this matrix to a String.

DMatrix
public DMatrix(double x00,
double x01,
double x10,
double x11)
- Create a new DMatrix with the given entries.
DMatrix
public DMatrix()
- Create a new matrix with unspecified entries.

times
public DMatrix times(DMatrix N)
- Multiply this matrix by another one. This is RIGHT multiplication:
M.times(N) returns M * N.
times
public DVector times(DVector v)
- Multiply this matrix by a vector on the RIGHT:
M.times(v) returns M * v.
det
public double det()
- Return the determinant of this matrix.
inverse
public DMatrix inverse()
- Return the inverse of this matrix.
toString
public String toString()
- Convert this matrix to a String.
- Overrides:
- toString in class Object
Up: Java Kali Source Code and Documentation
The Geometry Center Home Page
Author: Mark Phillips
Comments to:
webmaster@www.geom.uiuc.edu
Created: Sep 16 1996 ---
Last modified: Sep 18 1996