jAER project on SourceForge

ch.unizh.ini.jaer.projects.hopfield.matrix
Class MatrixMath

java.lang.Object
  extended by ch.unizh.ini.jaer.projects.hopfield.matrix.MatrixMath

public class MatrixMath
extends java.lang.Object

MatrixMath: This class can perform many different mathematical operations on matrixes.

Version:
2.1
Author:
Jeff Heaton

Method Summary
static IntMatrix add(IntMatrix a, IntMatrix b)
           
static int dotProduct(IntMatrix a, IntMatrix b)
           
static IntMatrix identityInt(int size)
           
static IntMatrix multiply(IntMatrix a, double b)
           
static IntMatrix multiply(IntMatrix a, IntMatrix b)
           
static IntMatrix subtract(IntMatrix a, IntMatrix b)
           
static IntMatrix transpose(IntMatrix input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public static IntMatrix add(IntMatrix a,
                            IntMatrix b)

dotProduct

public static int dotProduct(IntMatrix a,
                             IntMatrix b)

identityInt

public static IntMatrix identityInt(int size)

multiply

public static IntMatrix multiply(IntMatrix a,
                                 double b)

multiply

public static IntMatrix multiply(IntMatrix a,
                                 IntMatrix b)

subtract

public static IntMatrix subtract(IntMatrix a,
                                 IntMatrix b)

transpose

public static IntMatrix transpose(IntMatrix input)

jAER project on SourceForge