mosaic.sim.neuron.netinputs
Interface MatrixInputCoder
- public interface MatrixInputCoder
This is an interface for giving a two-dimensional matrix of real numbered
values to the network. It must be implemented by a class with a defined
Spike coding scheme (the so-called coder).
- See Also:
VectorInputCoder
Method Summary |
void |
enterMatrix(double[][] matrix)
Enters a new real numbered input matrix into the simulation. |
NeuronOutput |
getOutput(int dim1,
int dim2)
Returns the output with the given indices. |
enterMatrix
public void enterMatrix(double[][] matrix)
throws CodingException
- Enters a new real numbered input matrix into the simulation.
- Parameters:
vector
- The input vector to be used.
getOutput
public NeuronOutput getOutput(int dim1,
int dim2)
- Returns the output with the given indices.
- Parameters:
dim1
- The index of the output in dimension 1.dim2
- The index of the output in dimension 2.