<HTML>
<HEAD>
<TITLE>Untitled file 'DMatrix.html'</TITLE>
<!-- Copyright (c) 1996 by The Geometry Center. All Rights Reserved. -->
</HEAD>
<BODY BGCOLOR="FFFFFF">
<!-- *Navigation-Links -->
<B>Up:</B> <A HREF="source.html"><I>Java Kali Source Code and Documentation</I></A><BR>
<HR>
<p>

<!-- *Begin-Document-Body -->
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Mon Sep 16 15:21:24 CDT 1996 -->
<A NAME="_top_"></A>
<TITLE>
  Class DMatrix
</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<H1>Class DMatrix</H1>
<PRE>
<A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.lang.Object.html#_top_">java.lang.Object</A>
   |
   +----DMatrix
</PRE>
<HR>
<DL>
  <DT>class <B>DMatrix</B>
  <DT>extends <A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.lang.Object.html#_top_">Object</A>
</DL>
A DMatrix is a 2x2 matrix; each entry is a double.
<HR>
<A NAME="index"></A>
<H2><IMG SRC="images/constructor-index.gif" WIDTH=275 HEIGHT=38 ALT="Constructor Index"></H2>
<DL>
  <DT><IMG SRC="images/yellow-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#DMatrix()"><B>DMatrix</B></A>()
  <DD>Create a new matrix with unspecified entries.
  <DT><IMG SRC="images/yellow-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#DMatrix(double, double, double, double)"><B>DMatrix</B></A>(double, double, double, double)
  <DD>Create a new DMatrix with the given entries.
</DL>
<H2><IMG SRC="images/method-index.gif" WIDTH=207 HEIGHT=38 ALT="Method Index"></H2>
<DL>
  <DT><IMG SRC="images/red-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#det()"><B>det</B></A>()
  <DD>Return the determinant of this matrix.
  <DT><IMG SRC="images/red-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#inverse()"><B>inverse</B></A>()
  <DD>Return the inverse of this matrix.
  <DT><IMG SRC="images/red-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#times(DMatrix)"><B>times</B></A>(DMatrix)
  <DD>Multiply this matrix by another one.
  <DT><IMG SRC="images/red-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#times(DVector)"><B>times</B></A>(DVector)
  <DD>Multiply this matrix by a vector on the RIGHT:
M.times(v) returns M * v.
  <DT><IMG SRC="images/red-ball-small.gif" WIDTH=6 HEIGHT=6 ALT=" o ">
	<A HREF="#toString()"><B>toString</B></A>()
  <DD>Convert this matrix to a String.
</DL>
<A NAME="constructors"></A>
<H2><IMG SRC="images/constructors.gif" WIDTH=231 HEIGHT=38 ALT="Constructors"></H2>
<A NAME="DMatrix"></A>
<A NAME="DMatrix(double, double, double, double)"><IMG SRC="images/yellow-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<B>DMatrix</B>
<PRE>
  public DMatrix(double x00,
                 double x01,
                 double x10,
                 double x11)
</PRE>
<DL>
  <DD>Create a new DMatrix with the given entries.
</DL>
<A NAME="DMatrix()"><IMG SRC="images/yellow-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<B>DMatrix</B>
<PRE>
  public DMatrix()
</PRE>
<DL>
  <DD>Create a new matrix with unspecified entries.
</DL>
<A NAME="methods"></A>
<H2><IMG SRC="images/methods.gif" WIDTH=151 HEIGHT=38 ALT="Methods"></H2>
<A NAME="times(DMatrix)"><IMG SRC="images/red-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<A NAME="times"><B>times</B></A>
<PRE>
  public <A HREF="#_top_">DMatrix</A> times(<A HREF="#_top_">DMatrix</A> N)
</PRE>
<DL>
  <DD>Multiply this matrix by another one. This is RIGHT multiplication:
M.times(N) returns M * N.
</DL>
<A NAME="times(DVector)"><IMG SRC="images/red-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<A NAME="times"><B>times</B></A>
<PRE>
  public <A HREF="DVector.html#_top_">DVector</A> times(<A HREF="DVector.html#_top_">DVector</A> v)
</PRE>
<DL>
  <DD>Multiply this matrix by a vector on the RIGHT:
M.times(v) returns M * v.
</DL>
<A NAME="det()"><IMG SRC="images/red-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<A NAME="det"><B>det</B></A>
<PRE>
  public double det()
</PRE>
<DL>
  <DD>Return the determinant of this matrix.
</DL>
<A NAME="inverse()"><IMG SRC="images/red-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<A NAME="inverse"><B>inverse</B></A>
<PRE>
  public <A HREF="#_top_">DMatrix</A> inverse()
</PRE>
<DL>
  <DD>Return the inverse of this matrix.
</DL>
<A NAME="toString()"><IMG SRC="images/red-ball.gif" WIDTH=12 HEIGHT=12 ALT=" o "></A>
<A NAME="toString"><B>toString</B></A>
<PRE>
  public <A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.lang.String.html#_top_">String</A> toString()
</PRE>
<DL>
  <DD>Convert this matrix to a String.
  <DL>
    <DT><B>Overrides:</B>
    <DD><A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.lang.Object.html#toString()">toString</A> in class <A HREF="http://www.javasoft.com/products/JDK/CurrentRelease/api/java.lang.Object.html">Object</A>
  </DL>
</DL>
<!-- *End-Document-Body -->
<p>

<!-- *Navigation-Links -->
<HR>
<B>Up:</B> <A HREF="source.html"><I>Java Kali Source Code and Documentation</I></A><BR>

<!-- *GC-Common-Footer -->
<HR>
<NOBR><A HREF="/"><IMG SRC="/pix/home.gif" ALT="[HOME]" ALIGN=MIDDLE></A>
<I>The Geometry Center Home Page</I></NOBR>
<p>
Author: <A HREF="http://www.geom.umn.edu/locate/mbp">Mark Phillips</A><BR>
Comments to:
<A HREF="/admin/mail/webmaster.html">webmaster@geom.umn.edu</A><BR>
Created:  Sep 16 1996 --- 
<!-- hhmts start -->
Last modified: Sep 18 1996
<!-- hhmts end -->
</BODY>
</HTML>
