org.ujmp.core.doublematrix.calculation.entrywise.creators
Class Rand

java.lang.Object
  extended by org.ujmp.core.calculation.AbstractCalculation
      extended by org.ujmp.core.doublematrix.calculation.AbstractDoubleCalculation
          extended by org.ujmp.core.doublematrix.calculation.entrywise.creators.Rand
All Implemented Interfaces:
Serializable, Calculation, DoubleCalculation

public class Rand
extends AbstractDoubleCalculation

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ujmp.core.calculation.Calculation
Calculation.Ret
 
Field Summary
 
Fields inherited from interface org.ujmp.core.calculation.Calculation
ALL, COLUMN, LINK, NEW, NONE, ORIG, ROW
 
Constructor Summary
Rand(Matrix matrix)
           
Rand(Matrix matrix, double min, double max)
           
 
Method Summary
static Matrix calc(long... size)
           
static Matrix calc(Matrix source, double min, double max)
           
static Matrix calc(ValueType valueType, long... size)
           
 double getDouble(long... coordinates)
           
 
Methods inherited from class org.ujmp.core.doublematrix.calculation.AbstractDoubleCalculation
calcLink, calcNew, calcOrig, getValueType, setDouble
 
Methods inherited from class org.ujmp.core.calculation.AbstractCalculation
allCoordinates, availableCoordinates, calc, calcMulti, contains, getAnnotation, getDimension, getSize, getSource, getSources, getStorageType, getValueCount, isSparse, setAnnotation, setDimension, setSources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.calculation.Calculation
allCoordinates, availableCoordinates, calc, calcMulti, contains, getAnnotation, getDimension, getSize, getSource, getSources, getStorageType, getValueCount, isSparse, setAnnotation, setDimension, setSources
 

Constructor Detail

Rand

public Rand(Matrix matrix)

Rand

public Rand(Matrix matrix,
            double min,
            double max)
Method Detail

getDouble

public double getDouble(long... coordinates)

calc

public static Matrix calc(long... size)
                   throws MatrixException
Throws:
MatrixException

calc

public static Matrix calc(Matrix source,
                          double min,
                          double max)
                   throws MatrixException
Throws:
MatrixException

calc

public static Matrix calc(ValueType valueType,
                          long... size)
                   throws MatrixException
Throws:
MatrixException


Copyright © 2010. All Rights Reserved.