Package com.walkfares.odsl.var.matrix
Class VarMatrix
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.var.VersionedVar
com.walkfares.odsl.var.matrix.VarMatrix
- All Implemented Interfaces:
DatedVar
,DynamicVar
,Var
public class VarMatrix extends VersionedVar implements Var, DynamicVar, DatedVar
-
Constructor Summary
Constructors Constructor Description VarMatrix(double[][] data)
VarMatrix(int y, int x)
VarMatrix(int y, int x, double v)
VarMatrix(VarList labels)
VarMatrix(VarList labels, double v)
VarMatrix(VarList ylabels, VarList xlabels)
VarMatrix(VarList ylabels, VarList xlabels, double v)
VarMatrix(VarScalar[][] data)
VarMatrix(String[] labels)
VarMatrix(List<String> ylabels, List<String> xlabels, double v)
-
Method Summary
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, applyChanges, getLinks, getTypeName, getUID, setLinks, tryConvert
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.walkfares.odsl.var.Var
applyChanges, DATE, DATE_NULL, DYNAMIC, getReference, getTypeName, getUID, isEmpty, LIST, SCALAR, setId, tryConvert
-
Constructor Details
-
Method Details
-
clear
public void clear() -
clear
public void clear(double v) -
setLabels
-
setXLabels
-
setYLabels
-
setColumnData
-
setColumnData
-
setColumnData
-
setRowData
-
setRowData
-
setValue
-
setValue
-
setValueAt
-
getValueAt
-
getValue
-
getColumnForLabel
-
getLabelForColumn
-
getGroupForColumn
-
getColumn
-
getColumnData
-
getRow
-
getRowForLabel
-
getLabelForRow
-
getGroupForRow
-
getxSize
public int getxSize() -
getySize
public int getySize() -
getxLabels
-
getyLabels
-
getData
-
getDoubleData
public double[][] getDoubleData() -
getPrecision
-
setPrecision
-
getProperties
- Specified by:
getProperties
in interfaceDynamicVar
-
setProperties
-
getType
-
getId
-
set_Id
-
_clone
-
getName
-
setName
-
getDescription
-
setDescription
-
getOndate
-
setOndate
-
getCurrency
-
setCurrency
-
getUnits
-
setUnits
-
getTimezone
-
setTimezone
-
isSameDimensions
-
add
-
add
-
subtract
-
subtract
-
subtractFrom
-
multiply
-
multiply
-
multiplyElements
-
divide
-
divide
-
divideElements
-
divideUsing
-
power
-
power
-
powerUsing
-
transpose
-
toString
-
toCSV
-
toString
-
toSimpleMatrix
-
toSimpleJson
-
forwardFill
public void forwardFill() -
subMatrix
-
subMatrix
-
append
-