org.ujmp.core.util.matrices
Class MatrixLibraries

java.lang.Object
  extended by java.lang.Number
      extended by org.ujmp.core.matrix.AbstractMatrix
          extended by org.ujmp.core.genericmatrix.stub.AbstractGenericMatrix<String>
              extended by org.ujmp.core.stringmatrix.stub.AbstractStringMatrix
                  extended by org.ujmp.core.stringmatrix.stub.AbstractDenseStringMatrix
                      extended by org.ujmp.core.stringmatrix.stub.AbstractDenseStringMatrix2D
                          extended by org.ujmp.core.stringmatrix.impl.DefaultDenseStringMatrix2D
                              extended by org.ujmp.core.util.matrices.MatrixLibraries
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Matrix>, HasAnnotation, BooleanCalculations, CanPerformCalculations, BasicDoubleCalculations, DoubleCalculations, BasicEntrywiseDoubleCalculations, CreatorDoubleCalculations, EntrywiseDoubleCalculations, HyperbolicDoubleCalculations, MiscEntrywiseDoubleCalculations, RoundingDoubleCalculations, TrigonometricDoubleCalculations, DecompositionDoubleCalculations, DiscretizeCalculations, GeneralDoubleCalculations, MiscGeneralDoubleCalculations, MissingValueDoubleCalculations, StatisticalDoubleCalculations, GenericMatrix<String>, GenericMatrix2D<String>, BasicMatrixProperties, Clearable, Conversions, CoordinateFunctions, CoreObject, DistanceMeasures, GettersAndSetters, HasGUIObject, HasLabel, HasStringArray, IntCalculations, ExportMatrixInterface, Matrix, DenseMatrix, DenseMatrix2D, Matrix2D, ObjectCalculations, StringCalculations, DenseStringMatrix, DenseStringMatrix2D, StringMatrix, StringMatrix2D

public class MatrixLibraries
extends DefaultDenseStringMatrix2D

See Also:
Serialized Form

Nested Class Summary
static class MatrixLibraries.MatrixLibrariesFormat
           
 
Nested classes/interfaces inherited from interface org.ujmp.core.Matrix
Matrix.StorageType
 
Field Summary
static int ARRAY4J
           
static int BIGDECIMAL
           
static int CACHEDRESULTS
           
static int CHOL
           
static int COLT
           
static int COMMONSMATH
           
static int COMPLEX
           
static int D2
           
static int D3
           
static int D3PLUS
           
static int DATE
           
static int DENSEAA
           
static int DENSEBLOCK
           
static int DENSESA
           
static int DOUBLE
           
static int EIG
           
static int EJML
           
static String ERRORTEXT
           
static int FLOAT
           
static int INPLACE
           
static int INV
           
static int JAMA
           
static int JAMPACK
           
static int JAVA14
           
static int JAVA5
           
static int JAVA6
           
static int JBLAS
           
static int JLINALG
           
static int JMATHARRAY
           
static int JMATRICES
           
static int JSCI
           
static int JSCIENCE
           
static int LABELCOLUMN
           
static int LABELROW
           
static int LICENCE
           
static int LU
           
static int MANTISSA
           
static int MTJ
           
static int MULTITHREADED
           
static String NONSINGULARLETTER
           
static String NONSINGULARTEXT
           
static int OJALGO
           
static int ORBITAL
           
static int OWLPACK
           
static int PACKAGE
           
static int PARALLELCOLT
           
static int PLUSMINUS
           
static int QR
           
static int SCALE
           
static int SOLVE
           
static int SPARSECDS
           
static int SPARSECRS
           
static int SPARSEDOK
           
static int SPARSELIL
           
static int SPARSEYALE
           
static int SST
           
static int SVD
           
static int TRANSPOSE
           
static int UJMP
           
static int VECMATH
           
static int VERSION
           
 
Fields inherited from class org.ujmp.core.stringmatrix.stub.AbstractDenseStringMatrix2D
factory
 
Fields inherited from interface org.ujmp.core.Matrix
ALL, chol, COLUMN, divideMatrix, divideScalar, eig, inv, LINK, lu, minusMatrix, minusScalar, mtimes, NEW, NONE, ORIG, plusMatrix, plusScalar, qr, ROW, solve, svd, timesMatrix, timesScalar, transpose, X, Y, Z
 
Constructor Summary
MatrixLibraries()
           
MatrixLibraries(MatrixLibraries.MatrixLibrariesFormat format)
           
 
Method Summary
 String all()
           
 String both()
           
 String circle()
           
 String fat()
           
 String footnote(String footnote, String text)
           
 long getColumnForPackage(String label)
           
 List<String> getFootnotes()
           
static void main(String[] args)
           
 String notSupported()
           
 String small(String text)
           
 String square()
           
 String squareTall()
           
 String tall()
           
 String turn(String text)
           
 String unknown()
           
 String yes()
           
 
Methods inherited from class org.ujmp.core.stringmatrix.impl.DefaultDenseStringMatrix2D
copy, getColumnCount, getRowCount, getSize, getString, getString, getStringArray, setString, setString, transpose
 
Methods inherited from class org.ujmp.core.stringmatrix.stub.AbstractDenseStringMatrix2D
allCoordinates, getObject, getObject, getString, setObject, setObject, setString
 
Methods inherited from class org.ujmp.core.stringmatrix.stub.AbstractDenseStringMatrix
contains, getFactory, getStorageType
 
Methods inherited from class org.ujmp.core.stringmatrix.stub.AbstractStringMatrix
getAsDouble, getAsString, getObject, getValueType, setAsDouble, setAsString, setObject
 
Methods inherited from class org.ujmp.core.genericmatrix.stub.AbstractGenericMatrix
getAsObject, setAsObject
 
Methods inherited from class org.ujmp.core.matrix.AbstractMatrix
abs, addMissing, allValues, and, and, append, appendHorizontally, appendVertically, atimes, availableCoordinates, bigDecimalValue, bigIntegerValue, booleanValue, bootstrap, bootstrap, ceil, center, charValue, chebyshevDistanceTo, chol, clear, clone, compareTo, containsBigDecimal, containsBigInteger, containsBoolean, containsByte, containsChar, containsDate, containsDouble, containsFloat, containsInt, containsLong, containsMissingValues, containsNull, containsObject, containsShort, containsString, convert, corrcoef, cos, cosh, countMissing, cov, cumprod, cumsum, dateValue, delete, delete, delete, deleteColumns, deleteColumns, deleteColumnsWithMissingValues, deleteRows, deleteRows, deleteRowsWithMissingValues, det, diff, discretize, discretizeToColumns, divide, divide, divide, divide, doubleValue, eig, eigSymm, eq, eq, equals, equalsAnnotation, equalsContent, euklideanDistanceTo, exp, exportToClipboard, exportToFile, exportToFile, exportToFile, exportToFile, exportToStream, exportToString, exportToWriter, extractAnnotation, eye, fadeIn, fadeOut, fill, flipdim, floatValue, floor, ge, ge, getAbsoluteValueMean, getAbsoluteValueSum, getAnnotation, getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsChar, getAsDate, getAsFloat, getAsInt, getAsLong, getAsMatrix, getAsShort, getAxisAnnotation, getAxisAnnotation, getColumnForLabel, getColumnLabel, getColumnObject, getCoordinatesOfMaximum, getCoordinatesOfMinimum, getCoreObjectId, getDimensionCount, getEuklideanValue, getGUIObject, getLabel, getMatrixAnnotation, getMaxValue, getMeanValue, getMinValue, getPositionForLabel, getPreferredObject, getRMS, getRowForLabel, getRowLabel, getRowObject, getSize, getStdValue, getValueCount, getValueSum, getZCount, ginv, gt, gt, impute, includeAnnotation, indexOfMax, indexOfMin, intValue, inv, invSPD, invSymm, isColumnVector, isDiagonal, isEmpty, isMultidimensionalMatrix, isReadOnly, isResizable, isRowVector, isScalar, isSingular, isSparse, isSPD, isSquare, isSymmetric, isTransient, le, le, log, log10, log2, longValue, lowerCase, lt, lt, lu, manhattenDistanceTo, max, mean, min, minkowskiDistanceTo, minus, minus, minus, minus, mtimes, mtimes, mtimes, mtimes, mutualInf, ne, ne, nonZeroCoordinates, norm1, norm2, normalize, normF, normInf, not, notifyGUIObject, ones, or, or, pairedTTest, pinv, plus, plus, plus, plus, power, power, princomp, prod, qr, rand, randn, rank, removePunctuation, removeWords, replace, replaceMissingBy, replaceRegex, replaceRegex, reshape, round, select, select, select, selectColumns, selectColumns, selectedCoordinates, selectedCoordinates, selectRows, selectRows, setAnnotation, setAsBigDecimal, setAsBigInteger, setAsBoolean, setAsByte, setAsChar, setAsDate, setAsFloat, setAsInt, setAsLong, setAsMatrix, setAsShort, setAxisAnnotation, setAxisAnnotation, setColumnLabel, setColumnObject, setLabel, setMatrixAnnotation, setRowLabel, setRowObject, setSize, showGUI, shuffle, sign, sin, sinh, solve, solveSPD, solveSymm, sortrows, sqrt, squeeze, standardize, std, stem, stringValue, subMatrix, sum, svd, swap, tan, tanh, tfIdf, times, times, times, times, toBigDecimalArray, toBigDecimalMatrix, toBigIntegerArray, toBigIntegerMatrix, toBooleanArray, toBooleanMatrix, toByteArray, toByteMatrix, toCharArray, toCharMatrix, toColumnVector, toDateArray, toDateMatrix, toDoubleArray, toDoubleMatrix, toFloatArray, toFloatMatrix, toIntArray, toIntMatrix, toListMatrix, toLongArray, toLongMatrix, toMapMatrix, toObjectArray, toObjectMatrix, toRowVector, toSetMatrix, toShortArray, toShortMatrix, toString, toStringArray, toStringMatrix, trace, transpose, transpose, tril, triu, unique, uniqueValueCount, upperCase, var, xor, xor, zeros
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.matrix.Matrix2D
getFactory
 
Methods inherited from interface org.ujmp.core.genericmatrix.GenericMatrix
getObject, setObject
 
Methods inherited from interface org.ujmp.core.Matrix
clone
 
Methods inherited from interface org.ujmp.core.interfaces.CoreObject
getCoreObjectId
 
Methods inherited from interface org.ujmp.core.interfaces.Clearable
clear
 
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
getGUIObject, notifyGUIObject, showGUI
 
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, setLabel
 
Methods inherited from interface org.ujmp.core.io.ExportMatrixInterface
exportToClipboard, exportToFile, exportToFile, exportToFile, exportToFile, exportToStream, exportToString, exportToWriter
 
Methods inherited from interface org.ujmp.core.interfaces.CoordinateFunctions
availableCoordinates, contains, getCoordinatesOfMaximum, getCoordinatesOfMinimum, nonZeroCoordinates, selectedCoordinates, selectedCoordinates
 
Methods inherited from interface org.ujmp.core.interfaces.GettersAndSetters
getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsChar, getAsDate, getAsDouble, getAsFloat, getAsInt, getAsLong, getAsMatrix, getAsObject, getAsShort, getAsString, getPreferredObject, setAsBigDecimal, setAsBigInteger, setAsBoolean, setAsByte, setAsChar, setAsDate, setAsDouble, setAsFloat, setAsInt, setAsLong, setAsMatrix, setAsObject, setAsShort, setAsString, toBigDecimalArray, toBigIntegerArray, toBooleanArray, toByteArray, toCharArray, toDateArray, toDoubleArray, toFloatArray, toIntArray, toLongArray, toObjectArray, toShortArray, toStringArray
 
Methods inherited from interface org.ujmp.core.interfaces.BasicMatrixProperties
allValues, bigDecimalValue, bigIntegerValue, booleanValue, byteValue, charValue, containsBigDecimal, containsBigInteger, containsBoolean, containsByte, containsChar, containsDate, containsDouble, containsFloat, containsInt, containsLong, containsMissingValues, containsNull, containsObject, containsShort, containsString, dateValue, det, doubleValue, equals, equalsAnnotation, equalsContent, floatValue, getAbsoluteValueMean, getAbsoluteValueSum, getDimensionCount, getEuklideanValue, getMaxValue, getMeanValue, getMinValue, getRMS, getSize, getStdValue, getStorageType, getValueCount, getValueSum, getValueType, getZCount, intValue, isColumnVector, isDiagonal, isEmpty, isMultidimensionalMatrix, isReadOnly, isResizable, isRowVector, isScalar, isSingular, isSparse, isSPD, isSquare, isSymmetric, isTransient, longValue, norm1, norm2, normF, normInf, rank, setSize, shortValue, stringValue, toString, trace
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.basic.BasicDoubleCalculations
atimes, divide, divide, divide, divide, minus, minus, minus, minus, mtimes, mtimes, mtimes, mtimes, plus, plus, plus, plus, times, times, times, times
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.basic.BasicEntrywiseDoubleCalculations
abs, exp, log, log10, log2, power, power, sign, sqrt
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.rounding.RoundingDoubleCalculations
ceil, floor, round
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.hyperbolic.HyperbolicDoubleCalculations
cosh, sinh, tanh
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.trigonometric.TrigonometricDoubleCalculations
cos, sin, tan
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.creators.CreatorDoubleCalculations
eye, ones, rand, randn, zeros
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.statistical.StatisticalDoubleCalculations
corrcoef, cov, cumprod, cumsum, diff, indexOfMax, indexOfMin, max, mean, min, mutualInf, pairedTTest, prod, std, sum, var
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.decomposition.DecompositionDoubleCalculations
chol, eig, eigSymm, ginv, inv, invSPD, invSymm, lu, pinv, princomp, qr, solve, solveSPD, solveSymm, svd
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.missingvalues.MissingValueDoubleCalculations
addMissing, countMissing, deleteColumnsWithMissingValues, deleteRowsWithMissingValues, impute
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.misc.MiscGeneralDoubleCalculations
append, appendHorizontally, appendVertically, center, fadeIn, fadeOut, normalize, replaceMissingBy, standardize
 
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.discretize.DiscretizeCalculations
discretizeToColumns
 
Methods inherited from interface org.ujmp.core.booleanmatrix.calculation.BooleanCalculations
and, and, eq, eq, ge, ge, gt, gt, le, le, lt, lt, ne, ne, not, or, or, xor, xor
 
Methods inherited from interface org.ujmp.core.intmatrix.calculation.IntCalculations
discretize
 
Methods inherited from interface org.ujmp.core.stringmatrix.calculation.StringCalculations
lowerCase, removePunctuation, removeWords, replaceRegex, replaceRegex, stem, tfIdf, upperCase
 
Methods inherited from interface org.ujmp.core.objectmatrix.calculation.ObjectCalculations
bootstrap, bootstrap, convert, delete, delete, delete, deleteColumns, deleteColumns, deleteRows, deleteRows, extractAnnotation, fill, flipdim, includeAnnotation, replace, reshape, select, select, select, selectColumns, selectColumns, selectRows, selectRows, shuffle, sortrows, squeeze, subMatrix, swap, toColumnVector, toRowVector, transpose, transpose, tril, triu, unique, uniqueValueCount
 
Methods inherited from interface org.ujmp.core.interfaces.DistanceMeasures
chebyshevDistanceTo, euklideanDistanceTo, manhattenDistanceTo, minkowskiDistanceTo
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.ujmp.core.annotation.HasAnnotation
getAnnotation, getAxisAnnotation, getAxisAnnotation, getColumnForLabel, getColumnLabel, getColumnObject, getMatrixAnnotation, getPositionForLabel, getRowForLabel, getRowLabel, getRowObject, setAnnotation, setAxisAnnotation, setAxisAnnotation, setColumnLabel, setColumnObject, setMatrixAnnotation, setRowLabel, setRowObject
 
Methods inherited from interface org.ujmp.core.interfaces.Conversions
toBigDecimalMatrix, toBigIntegerMatrix, toBooleanMatrix, toByteMatrix, toCharMatrix, toDateMatrix, toDoubleMatrix, toFloatMatrix, toIntMatrix, toListMatrix, toLongMatrix, toMapMatrix, toObjectMatrix, toSetMatrix, toShortMatrix, toStringMatrix
 
Methods inherited from interface org.ujmp.core.matrix.DenseMatrix2D
getFactory
 

Field Detail

LABELCOLUMN

public static final int LABELCOLUMN
See Also:
Constant Field Values

VERSION

public static final int VERSION
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values

LICENCE

public static final int LICENCE
See Also:
Constant Field Values

JAVA14

public static final int JAVA14
See Also:
Constant Field Values

JAVA5

public static final int JAVA5
See Also:
Constant Field Values

JAVA6

public static final int JAVA6
See Also:
Constant Field Values

DENSESA

public static final int DENSESA
See Also:
Constant Field Values

DENSEAA

public static final int DENSEAA
See Also:
Constant Field Values

DENSEBLOCK

public static final int DENSEBLOCK
See Also:
Constant Field Values

SPARSEDOK

public static final int SPARSEDOK
See Also:
Constant Field Values

SPARSELIL

public static final int SPARSELIL
See Also:
Constant Field Values

SPARSEYALE

public static final int SPARSEYALE
See Also:
Constant Field Values

SPARSECRS

public static final int SPARSECRS
See Also:
Constant Field Values

SPARSECDS

public static final int SPARSECDS
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

BIGDECIMAL

public static final int BIGDECIMAL
See Also:
Constant Field Values

COMPLEX

public static final int COMPLEX
See Also:
Constant Field Values

D2

public static final int D2
See Also:
Constant Field Values

D3

public static final int D3
See Also:
Constant Field Values

D3PLUS

public static final int D3PLUS
See Also:
Constant Field Values

MULTITHREADED

public static final int MULTITHREADED
See Also:
Constant Field Values

INPLACE

public static final int INPLACE
See Also:
Constant Field Values

CACHEDRESULTS

public static final int CACHEDRESULTS
See Also:
Constant Field Values

TRANSPOSE

public static final int TRANSPOSE
See Also:
Constant Field Values

SCALE

public static final int SCALE
See Also:
Constant Field Values

PLUSMINUS

public static final int PLUSMINUS
See Also:
Constant Field Values

INV

public static final int INV
See Also:
Constant Field Values

SOLVE

public static final int SOLVE
See Also:
Constant Field Values

LU

public static final int LU
See Also:
Constant Field Values

QR

public static final int QR
See Also:
Constant Field Values

SVD

public static final int SVD
See Also:
Constant Field Values

CHOL

public static final int CHOL
See Also:
Constant Field Values

EIG

public static final int EIG
See Also:
Constant Field Values

PACKAGE

public static final int PACKAGE
See Also:
Constant Field Values

LABELROW

public static final int LABELROW
See Also:
Constant Field Values

ARRAY4J

public static final int ARRAY4J
See Also:
Constant Field Values

COLT

public static final int COLT
See Also:
Constant Field Values

COMMONSMATH

public static final int COMMONSMATH
See Also:
Constant Field Values

EJML

public static final int EJML
See Also:
Constant Field Values

JAMA

public static final int JAMA
See Also:
Constant Field Values

JAMPACK

public static final int JAMPACK
See Also:
Constant Field Values

JBLAS

public static final int JBLAS
See Also:
Constant Field Values

JLINALG

public static final int JLINALG
See Also:
Constant Field Values

JMATHARRAY

public static final int JMATHARRAY
See Also:
Constant Field Values

JMATRICES

public static final int JMATRICES
See Also:
Constant Field Values

JSCI

public static final int JSCI
See Also:
Constant Field Values

JSCIENCE

public static final int JSCIENCE
See Also:
Constant Field Values

MANTISSA

public static final int MANTISSA
See Also:
Constant Field Values

MTJ

public static final int MTJ
See Also:
Constant Field Values

OJALGO

public static final int OJALGO
See Also:
Constant Field Values

ORBITAL

public static final int ORBITAL
See Also:
Constant Field Values

OWLPACK

public static final int OWLPACK
See Also:
Constant Field Values

PARALLELCOLT

public static final int PARALLELCOLT
See Also:
Constant Field Values

SST

public static final int SST
See Also:
Constant Field Values

UJMP

public static final int UJMP
See Also:
Constant Field Values

VECMATH

public static final int VECMATH
See Also:
Constant Field Values

NONSINGULARLETTER

public static final String NONSINGULARLETTER
See Also:
Constant Field Values

NONSINGULARTEXT

public static final String NONSINGULARTEXT
See Also:
Constant Field Values

ERRORTEXT

public static final String ERRORTEXT
See Also:
Constant Field Values
Constructor Detail

MatrixLibraries

public MatrixLibraries()

MatrixLibraries

public MatrixLibraries(MatrixLibraries.MatrixLibrariesFormat format)
Method Detail

yes

public String yes()

both

public String both()

all

public String all()

squareTall

public String squareTall()

square

public String square()

tall

public String tall()

fat

public String fat()

circle

public String circle()

notSupported

public String notSupported()

unknown

public String unknown()

turn

public String turn(String text)

small

public String small(String text)

footnote

public String footnote(String footnote,
                       String text)

getFootnotes

public List<String> getFootnotes()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

getColumnForPackage

public long getColumnForPackage(String label)


Copyright © 2010. All Rights Reserved.