public class MatrixDouble extends Object
Constructor and Description |
---|
MatrixDouble() |
MatrixDouble(int rows,
int columns) |
MatrixDouble(List<Double> v) |
MatrixDouble(MatrixDouble m) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkForZeroColumn(int col) |
boolean |
checkForZeroRow(int row) |
double |
columnNorm(int col) |
void |
copyColumnFrom(int destColumn,
MatrixDouble sourceMatr,
int sourceColumn) |
void |
copyRowFrom(int destRow,
MatrixDouble sourceMatr,
int sourceRow) |
static String |
fill(int numSpaces) |
void |
fillDiagonalWith(double d) |
void |
fillWith(double d) |
int[] |
getZeroColumns() |
MatrixDouble |
inverse(double eps) |
MatrixDouble |
makeMatrixFromRows(int[] rowIndices) |
double |
maxElement() |
double |
norm() |
void |
nullify() |
void |
paste(MatrixDouble m) |
void |
setUnitMatrix() |
double |
sumOfColumnElements(int col) |
double |
sumOfElements() |
double |
sumOfRowElements(int row) |
void |
swapRows(int row,
int swap) |
String |
toString(int digits,
int decDigits) |
MatrixDouble |
transposed() |
public MatrixDouble()
public MatrixDouble(int rows, int columns)
public MatrixDouble(MatrixDouble m)
public void paste(MatrixDouble m)
public void nullify()
public void fillWith(double d)
public void fillDiagonalWith(double d)
public void setUnitMatrix()
public double norm()
public double sumOfElements()
public double maxElement()
public double sumOfColumnElements(int col)
public double sumOfRowElements(int row)
public double columnNorm(int col)
public MatrixDouble transposed()
public void swapRows(int row, int swap)
public MatrixDouble inverse(double eps)
public void copyRowFrom(int destRow, MatrixDouble sourceMatr, int sourceRow)
public void copyColumnFrom(int destColumn, MatrixDouble sourceMatr, int sourceColumn)
public boolean checkForZeroColumn(int col)
public boolean checkForZeroRow(int row)
public int[] getZeroColumns()
public static String fill(int numSpaces)
public String toString(int digits, int decDigits)
public MatrixDouble makeMatrixFromRows(int[] rowIndices)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.