public class Matrix extends Object
| Modifier and Type | Field and Description |
|---|---|
static DecimalFormat |
FORMAT |
double[][] |
values |
| Constructor and Description |
|---|
Matrix(int height) |
Matrix(int height,
int width) |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
add(Matrix matrix) |
Matrix |
diagonale() |
int |
getHeight() |
int |
getWidth() |
Matrix |
multiply(double value) |
Matrix |
multiply(Matrix matrix) |
Matrix |
negate() |
double |
scalar(Matrix matrix) |
Matrix |
subtract(Matrix matrix) |
String |
toString() |
Matrix |
transpose() |
static Matrix |
unity(int size) |
static Matrix |
unity(int height,
int width) |
static Matrix |
vector(double... values) |
public static final DecimalFormat FORMAT
public double[][] values
public static Matrix unity(int size)
public static Matrix unity(int height, int width)
public static Matrix vector(double... values)
public int getHeight()
public int getWidth()
public Matrix transpose()
public Matrix negate()
public Matrix multiply(double value)
public double scalar(Matrix matrix)
public Matrix diagonale()
Copyright © 2014 Intersult GmbH. All rights reserved.