    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.util.MatrixToolkit

    java.lang.Object
       |
       +----JSci.util.MatrixToolkit

public final class MatrixToolkit
extends Object

This is a useful collection of matrix related methods.

##

randomComplexSquareMatrix(int)
  Creates a random generated square matrix.
randomDiagonalMatrix(int)
  Creates a random generated diagonal matrix.
randomSquareMatrix(int)
  Creates a random generated square matrix.
randomTridiagonalMatrix(int)
  Creates a random generated tridiagonal matrix.
toArray(DoubleMatrix)
  Converts a matrix to an array.

##

randomSquareMatrix

     public static DoubleSquareMatrix randomSquareMatrix(int size)

  Creates a random generated square matrix.

randomTridiagonalMatrix

     public static DoubleTridiagonalMatrix randomTridiagonalMatrix(int size)

  Creates a random generated tridiagonal matrix.

randomDiagonalMatrix

     public static DoubleDiagonalMatrix randomDiagonalMatrix(int size)

  Creates a random generated diagonal matrix.

randomComplexSquareMatrix

     public static ComplexSquareMatrix randomComplexSquareMatrix(int size)

  Creates a random generated square matrix.

toArray

     public static double[][] toArray(DoubleMatrix v)

  Converts a matrix to an array.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index