public final class MatrixOps extends Object
| Modifier and Type | Method and Description |
|---|---|
static double[][] |
difference(double[][] A,
double[][] B)
Computes C = A - B.
|
static double[][] |
difference(double[][] A,
double[][] B,
double[][] C)
Computes C = A - B.
|
static int[][] |
difference(int[][] A,
int[][] B)
Computes C = A - B.
|
static int[][] |
difference(int[][] A,
int[][] B,
int[][] C)
Computes C = A - B.
|
static double[][] |
product(double[][] A,
double[][] B)
Computes C = A * B.
|
static double[][] |
product(double[][] A,
double[][] B,
double[][] C)
Computes C = A * B.
|
static int[][] |
product(int[][] A,
int[][] B)
Computes C = A * B.
|
static int[][] |
product(int[][] A,
int[][] B,
int[][] C)
Computes C = A * B.
|
static double[][] |
sum(double[][] A,
double[][] B)
Computes C = A + B.
|
static double[][] |
sum(double[][] A,
double[][] B,
double[][] C)
Computes C = A + B.
|
static int[][] |
sum(int[][] A,
int[][] B)
Computes C = A + B.
|
static int[][] |
sum(int[][] A,
int[][] B,
int[][] C)
Computes C = A + B.
|
static double[][] |
transposeSquareMatrixInline(double[][] matrix)
Transpose a square matrix inline.
|
static int[][] |
transposeSquareMatrixInline(int[][] matrix)
Transpose a square matrix inline.
|
public static int[][] transposeSquareMatrixInline(int[][] matrix)
matrix - the matrix to transpose, with result replacing contents of matrix.public static double[][] transposeSquareMatrixInline(double[][] matrix)
matrix - the matrix to transpose, with result replacing contents of matrix.public static int[][] sum(int[][] A,
int[][] B,
int[][] C)
A - matrixB - matrixC - if C is null then a new matrix is constructed for result, otherwise C is used for result.public static double[][] sum(double[][] A,
double[][] B,
double[][] C)
A - matrixB - matrixC - if C is null then a new matrix is constructed for result, otherwise C is used for result.public static int[][] sum(int[][] A,
int[][] B)
A - matrixB - matrixpublic static double[][] sum(double[][] A,
double[][] B)
A - matrixB - matrixpublic static int[][] difference(int[][] A,
int[][] B,
int[][] C)
A - matrixB - matrixC - if C is null then a new matrix is constructed for result, otherwise C is used for result.public static double[][] difference(double[][] A,
double[][] B,
double[][] C)
A - matrixB - matrixC - if C is null then a new matrix is constructed for result, otherwise C is used for result.public static int[][] difference(int[][] A,
int[][] B)
A - matrixB - matrixpublic static double[][] difference(double[][] A,
double[][] B)
A - matrixB - matrixpublic static int[][] product(int[][] A,
int[][] B,
int[][] C)
A - matrixB - matrixC - if C is null then a new matrix is constructed for result, otherwise C is used for result.public static double[][] product(double[][] A,
double[][] B,
double[][] C)
A - matrixB - matrixC - if C is null then a new matrix is constructed for result, otherwise C is used for result.public static int[][] product(int[][] A,
int[][] B)
A - matrixB - matrixpublic static double[][] product(double[][] A,
double[][] B)
A - matrixB - matrixCopyright © 2005-2020 Vincent A. Cicirello. All rights reserved.