org.ujmp.core.doublematrix.calculation.entrywise.basic
Class Power

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

public class Power
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
Power(Matrix m1, double v2)
           
Power(Matrix m1, Matrix m2)
           
 
Method Summary
static Matrix calc(Matrix source, double power)
           
static Matrix calc(Matrix source, Matrix power)
           
 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

Power

public Power(Matrix m1,
             Matrix m2)

Power

public Power(Matrix m1,
             double v2)
      throws MatrixException
Throws:
MatrixException
Method Detail

getDouble

public double getDouble(long... coordinates)
                 throws MatrixException
Throws:
MatrixException

calc

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

calc

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


Copyright © 2010. All Rights Reserved.