com.croftsoft.apps.insight
Class Matrix

java.lang.Object
  extended by com.croftsoft.apps.insight.Matrix

public class Matrix
extends Object


Constructor Summary
Matrix(int rows, int columns)
           
Matrix(Matrix old)
           
 
Method Summary
 Matrix add(double addend)
           
 Matrix add(Matrix addend)
           
 double[] array_column(int column)
           
 Matrix clip(double min, double max)
           
static void demo()
           
 void display()
           
 Matrix divide(double factor)
           
static Matrix identity(Matrix old)
           
 Point max_indices()
           
static Matrix multiply_elements(Matrix a, Matrix b)
           
 Matrix multiply(double factor)
           
 Matrix multiply(Matrix right)
           
static Matrix multiply(Matrix left, Matrix right)
           
 Matrix randomize_uniform(double min, double max)
           
 Matrix sigmoid_derivative()
           
 Matrix sigmoid()
           
 Matrix square_elements()
           
 Matrix sub_matrix(int row_start, int row_end, int col_start, int col_end)
           
 Matrix subtract(Matrix subtractor)
           
 double sum()
           
 Matrix transpose()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix

public Matrix(int rows,
              int columns)

Matrix

public Matrix(Matrix old)
Method Detail

add

public Matrix add(double addend)

add

public Matrix add(Matrix addend)

array_column

public double[] array_column(int column)

clip

public Matrix clip(double min,
                   double max)

demo

public static void demo()

display

public void display()

divide

public Matrix divide(double factor)

identity

public static Matrix identity(Matrix old)

max_indices

public Point max_indices()

multiply

public Matrix multiply(double factor)

multiply

public Matrix multiply(Matrix right)

multiply

public static Matrix multiply(Matrix left,
                              Matrix right)

multiply_elements

public static Matrix multiply_elements(Matrix a,
                                       Matrix b)

randomize_uniform

public Matrix randomize_uniform(double min,
                                double max)

sigmoid

public Matrix sigmoid()

sigmoid_derivative

public Matrix sigmoid_derivative()

square_elements

public Matrix square_elements()

sub_matrix

public Matrix sub_matrix(int row_start,
                         int row_end,
                         int col_start,
                         int col_end)

subtract

public Matrix subtract(Matrix subtractor)

sum

public double sum()

transpose

public Matrix transpose()

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)