JSci.util
Class VectorToolkit

java.lang.Object
  extended by JSci.util.VectorToolkit

public final class VectorToolkit
extends java.lang.Object

This is a useful collection of vector related methods.

Author:
Mark Hale

Method Summary
static ComplexVector randomComplexVector(int size)
          Creates a random generated vector.
static DoubleVector randomVector(int size)
          Creates a random generated vector.
static double[] toArray(DoubleVector v)
          Converts a vector to an array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

randomVector

public static DoubleVector randomVector(int size)
Creates a random generated vector.


randomComplexVector

public static ComplexVector randomComplexVector(int size)
Creates a random generated vector.


toArray

public static double[] toArray(DoubleVector v)
Converts a vector to an array.