All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Jampack.Minus

java.lang.Object
   |
   +----Jampack.Minus

public class Minus
extends Object
Minus negates a matrix or computes the difference of two matrices.


Constructor Index

 o Minus()

Method Index

 o o(Zdiagmat)
Negates a Zdiagmat.
 o o(Zdiagmat, Zdiagmat)
Computes the difference of a two Zdiagmats.
 o o(Zdiagmat, Zmat)
Computes the difference of a Zdiagmat and a Zmat.
 o o(Zmat)
Negates a Zmat
 o o(Zmat, Zdiagmat)
Computes the difference of a Zmat and a Zdiagmat.
 o o(Zmat, Zmat)
Computes the difference of two Zmats.

Constructors

 o Minus
 public Minus()

Methods

 o o
 public static Zmat o(Zmat A,
                      Zmat B) throws JampackException
Computes the difference of two Zmats.

Parameters:
A - The diminuend
B - The subtrahend
Returns:
A-B
Throws: JampackException
Thrown if there is a nonconformity.
 o o
 public static Zmat o(Zmat A)
Negates a Zmat

Parameters:
A - The matrix to be negated
Returns:
-A
 o o
 public static Zmat o(Zmat A,
                      Zdiagmat D) throws JampackException
Computes the difference of a Zmat and a Zdiagmat.

Parameters:
A - The Zmat
D - The Zdiagmat
Returns:
A - D
Throws: JampackException
Thrown if there is a nonconformity.
 o o
 public static Zmat o(Zdiagmat D,
                      Zmat A) throws JampackException
Computes the difference of a Zdiagmat and a Zmat.

Parameters:
D - The Zdiagmat
A - The Zmat
Returns:
D - A
Throws: JampackException
Thrown if there is a nonconformity.
 o o
 public static Zdiagmat o(Zdiagmat D1,
                          Zdiagmat D2) throws JampackException
Computes the difference of a two Zdiagmats.

Parameters:
D1 - The first Zdiagmat
D2 - The second Zdiagmat
Returns:
D1 - D2
Throws: JampackException
Thrown if there is a nonconformity.
 o o
 public static Zdiagmat o(Zdiagmat D)
Negates a Zdiagmat.

Parameters:
D - The Zdiagmat
Returns:
-D

All Packages  Class Hierarchy  This Package  Previous  Next  Index