|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.linear.RealMatrixImpl
at.tuwien.ifs.feature.extraction.audio.data.RealMatrixExt
public class RealMatrixExt
Copyright Vienna University of Technology
Field Summary | |
---|---|
private static long |
serialVersionUID
|
private int |
type
|
static int |
TYPE_RH
|
static int |
TYPE_RP
|
static int |
TYPE_SSD
|
static int |
TYPE_UNKNOWN
|
Fields inherited from class org.apache.commons.math.linear.RealMatrixImpl |
---|
TOO_SMALL |
Constructor Summary | |
---|---|
RealMatrixExt(double[] vector)
Create a new (column) RealMatrix using vector as the data for the unique column of the vector.length x 1 matrix created. |
|
RealMatrixExt(double[][] matrix)
Create a new RealMatrix using the input 2D double array as matrix. |
|
RealMatrixExt(int rowDimension,
int columnDimension)
Create a new RealMatrix with the supplied row and column dimensions. |
Method Summary | |
---|---|
int |
getType()
returns type (ID) of matrix |
double[] |
meanColumns()
|
double[] |
meanRows()
|
static RealMatrixExt |
median(RealMatrixExt[] matrices)
Computes a median matrix from an array of matrices (taking the median of every single element) |
void |
setType(int type)
sets type (ID) of matrix |
double[] |
sumColumns()
|
double[] |
sumRows()
|
double[] |
vectorize()
vectorize the matrix (i.e. |
Methods inherited from class org.apache.commons.math.linear.RealMatrixImpl |
---|
add, copy, equals, getColumn, getColumnDimension, getColumnMatrix, getData, getDataRef, getDeterminant, getEntry, getIdentity, getLUMatrix, getNorm, getPermutation, getRow, getRowDimension, getRowMatrix, getSubMatrix, getSubMatrix, getTrace, hashCode, inverse, isSingular, isSquare, luDecompose, multiply, operate, preMultiply, preMultiply, scalarAdd, scalarMultiply, setSubMatrix, solve, solve, subtract, toString, transpose |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static final int TYPE_UNKNOWN
public static final int TYPE_RP
public static final int TYPE_SSD
public static final int TYPE_RH
private int type
Constructor Detail |
---|
public RealMatrixExt(double[] vector)
public RealMatrixExt(double[][] matrix)
matrix
- public RealMatrixExt(int rowDimension, int columnDimension)
rowDimension
- columnDimension
- Method Detail |
---|
public void setType(int type)
type
- integer type ID (may be one of the static type IDs of this class)public int getType()
public double[] vectorize()
public double[] sumRows()
public double[] meanRows()
public double[] sumColumns()
public double[] meanColumns()
public static RealMatrixExt median(RealMatrixExt[] matrices)
matrices
- an array of matrices
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |