|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.matrix.doubles.operation.MatrixUtils
public class MatrixUtils
This class collects a set of utility functions to operate on matrices.
| Constructor Summary | |
|---|---|
MatrixUtils()
|
|
| Method Summary | |
|---|---|
static int[] |
colSums(Matrix A)
|
static int[] |
rowSums(Matrix A)
|
static double[] |
to1DArray(Matrix A)
Get all matrix entries in the form of a 1D double[] array. |
static double[][] |
to2DArray(Matrix A)
Get all matrix entries in the form of a 2D double[][] array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MatrixUtils()
| Method Detail |
|---|
public static int[] rowSums(Matrix A)
public static int[] colSums(Matrix A)
public static double[] to1DArray(Matrix A)
public static double[][] to2DArray(Matrix A)
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||