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