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

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.Ones
All Implemented Interfaces:
Serializable, Calculation, DoubleCalculation

public class Ones
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
Ones(Matrix matrix)
           
 
Method Summary
static Matrix calc(long... size)
           
static Matrix calc(Matrix source)
           
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

Ones

public Ones(Matrix matrix)
Method Detail

getDouble

public double getDouble(long... coordinates)

calc

public static Matrix calc(Matrix source)
                   throws MatrixException
Throws:
MatrixException

calc

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

calc

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


Copyright © 2010. All Rights Reserved.