Jampack
Class Plus

java.lang.Object
  extended by Jampack.Plus

public class Plus
extends java.lang.Object

Plus Computes the sum of two matrices.

Version:
Pre-alpha
Author:
G. W. Stewart

Constructor Summary
Plus()
           
 
Method Summary
static Zdiagmat o(Zdiagmat D1, Zdiagmat D2)
          Computes the sum of a Zdiagmat and a Zdiagmat.
static Zmat o(Zdiagmat D, Zmat A)
          Computes the sum of a Zdiagmat and a Zmat.
static Zmat o(Zmat A, Zdiagmat D)
          Computes the sum of a Zmat and a Zdiagmat.
static Zmat o(Zmat A, Zmat B)
          Computes the sum of two Zmats
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plus

public Plus()
Method Detail

o

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

Parameters:
A - The first Zmat
B - The second Zmat
Returns:
A + B
Throws:
JampackException - Thrown for nonconformity.

o

public static Zmat o(Zmat A,
                     Zdiagmat D)
              throws JampackException
Computes the sum of a Zmat and a Zdiagmat.

Parameters:
A - The Zmat
D - The Zdiagmat
Returns:
A + D
Throws:
JampackException - Thrown for nonconformity.

o

public static Zmat o(Zdiagmat D,
                     Zmat A)
              throws JampackException
Computes the sum of a Zdiagmat and a Zmat.

Parameters:
D - The Zdiagmat
A - The Zmat
Returns:
D + A
Throws:
JampackException - Thrown for nonconformity.

o

public static Zdiagmat o(Zdiagmat D1,
                         Zdiagmat D2)
                  throws JampackException
Computes the sum of a Zdiagmat and a Zdiagmat.

Parameters:
D1 - The first Zdiagmat
D2 - The second Zdiagmat
Returns:
D1 + D2
Throws:
JampackException - Thrown for nonconformity.