All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class berkeley.cs.dmc.rapid2d.Mat2D

java.lang.Object
   |
   +----berkeley.cs.dmc.rapid2d.Mat2D

public final class Mat2D
extends Object

Variable Index

 o xx
 o xy
 o yx
 o yy

Constructor Index

 o Mat2D()
 o Mat2D(float, float, float, float)
 o Mat2D(Mat2D)

Method Index

 o comp(int, int)
 o eigen(Mat2D, Vec2D)
 o eigen2(Mat2D, Vec2D)
Calculate the eigenvalues and eigenvectors of the matrix and return them in the passed matrix and vector.
 o identity()
 o mul(Mat2D, Mat2D)
 o mulTxM(Mat2D, Mat2D)
 o set(float, float, float, float)
 o toString()
 o transpose(Mat2D)

Variables

 o xx
 public float xx
 o xy
 public float xy
 o yx
 public float yx
 o yy
 public float yy

Constructors

 o Mat2D
 public Mat2D()
 o Mat2D
 public Mat2D(Mat2D m)
 o Mat2D
 public Mat2D(float a,
              float b,
              float c,
              float d)

Methods

 o identity
 public final void identity()
 o set
 public final void set(float a,
                       float b,
                       float c,
                       float d)
 o transpose
 public final void transpose(Mat2D v)
 o mul
 public final void mul(Mat2D a,
                       Mat2D b)
 o mulTxM
 public final void mulTxM(Mat2D a,
                          Mat2D b)
 o comp
 public final float comp(int r,
                         int c)
 o eigen2
 public final void eigen2(Mat2D vout,
                          Vec2D dout)
Calculate the eigenvalues and eigenvectors of the matrix and return them in the passed matrix and vector.

Parameters:
vout - where the eigen vectors are put
dout - where the eigen values are put
 o eigen
 public final void eigen(Mat2D v,
                         Vec2D d)
 o toString
 public final String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index