public abstract class AbstractMatrix extends Object implements Matrix
| Constructor and Description |
|---|
AbstractMatrix() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkMatrixDimensions(Matrix B)
Check if size(A) == size(B)
|
int |
getColumnDimension()
Get column dimension.
|
int |
getRowDimension()
Get row dimension
|
double |
norm1()
One norm
|
double |
norm2()
Two norm
|
double |
normF()
Frobenius norm
|
double |
normInf()
Infinity norm
|
public void checkMatrixDimensions(Matrix B)
checkMatrixDimensions in interface Matrixpublic int getColumnDimension()
getColumnDimension in interface Matrixpublic int getRowDimension()
getRowDimension in interface Matrixpublic double norm1()
public double norm2()
public double normF()
public double normInf()
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.