org.ujmp.core.objectmatrix.calculation
Class Transpose
- java.lang.Object
-
- org.ujmp.core.calculation.AbstractCalculation
-
- org.ujmp.core.objectmatrix.calculation.AbstractObjectCalculation
-
- org.ujmp.core.objectmatrix.calculation.Transpose
-
- All Implemented Interfaces:
- java.io.Serializable, Calculation, ObjectCalculation
public class Transpose extends AbstractObjectCalculation
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ujmp.core.calculation.Calculation
Calculation.Ret
-
-
Constructor Summary
Constructors Constructor and Description Transpose(Matrix m)Transpose(Matrix m, int swap1, int swap2)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Iterable<long[]>availableCoordinates()booleancontainsCoordinates(long... coordinates)java.lang.ObjectgetObject(long... coordinates)long[]getSize()longgetValueCount()booleanisSparse()static MapMatrix<java.lang.String,java.lang.Object>transposeAnnotation(MapMatrix<java.lang.String,java.lang.Object> annotation, long[] newSize)static MapMatrix<java.lang.String,java.lang.Object>transposeAnnotation(MapMatrix<java.lang.String,java.lang.Object> aorig, long[] newSize, int swap1, int swap2)-
Methods inherited from class org.ujmp.core.objectmatrix.calculation.AbstractObjectCalculation
calcLink, calcNew, calcOrig, getValueType, setObject
-
Methods inherited from class org.ujmp.core.calculation.AbstractCalculation
calc, getColumnCount, getDimension, getMetaData, getRowCount, getSource, getSources, setMetaData
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ujmp.core.calculation.Calculation
calc, getColumnCount, getDimension, getMetaData, getRowCount, getSource, getSources, setMetaData
-
-
-
-
Constructor Detail
-
Transpose
public Transpose(Matrix m)
-
Transpose
public Transpose(Matrix m, int swap1, int swap2)
-
-
Method Detail
-
transposeAnnotation
public static MapMatrix<java.lang.String,java.lang.Object> transposeAnnotation(MapMatrix<java.lang.String,java.lang.Object> aorig, long[] newSize, int swap1, int swap2)
-
getObject
public java.lang.Object getObject(long... coordinates)
-
getSize
public long[] getSize()
- Specified by:
getSizein interfaceCalculation- Overrides:
getSizein classAbstractCalculation
-
containsCoordinates
public boolean containsCoordinates(long... coordinates)
- Specified by:
containsCoordinatesin interfaceCalculation- Overrides:
containsCoordinatesin classAbstractCalculation
-
isSparse
public boolean isSparse()
-
getValueCount
public long getValueCount()
-
availableCoordinates
public java.lang.Iterable<long[]> availableCoordinates()
- Specified by:
availableCoordinatesin interfaceCalculation- Overrides:
availableCoordinatesin classAbstractCalculation
-
-
DataMelt 3.0 © DataMelt by jWork.ORG