public class StaticDeltaMatrix extends Object implements DeltaMatrix
NO_RESPONSE
Constructor and Description |
---|
StaticDeltaMatrix() |
StaticDeltaMatrix(int maxElementSize) |
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
int j,
float v)
Insert a value in the matrix
|
void |
clear()
Clear the delta matrix
|
float |
get(int i,
int j)
Get a value from the matrix
|
static StaticDeltaMatrix |
getInstance() |
public StaticDeltaMatrix()
public StaticDeltaMatrix(int maxElementSize)
public void add(int i, int j, float v)
add
in interface DeltaMatrix
i
- row indexj
- column indexv
- value to insert in delta_matrix[i][j]public float get(int i, int j)
get
in interface DeltaMatrix
i
- row indexj
- column indexpublic void clear()
clear
in interface DeltaMatrix
public static StaticDeltaMatrix getInstance()
Copyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.