JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
LinearOutputConv.java
Go to the documentation of this file.
1 package kermor.dscomp;
2 
3 import org.apache.commons.math.linear.RealMatrix;
4 
13 public class LinearOutputConv implements IOutputConv {
14 
15  private RealMatrix C;
16 
17  public LinearOutputConv(RealMatrix C) {
18  this.C = C;
19  }
20 
21  /* (non-Javadoc)
22  * @see kermor.IOutputConv#evaluate(double, double[], double[])
23  */
24  @Override
25  public double[] evaluate(double t, double[] x, double[] mu) {
26  return C.operate(x);
27  }
28 
29  @Override
30  public int getOutputDimension() {
31  return C.getRowDimension();
32  }
33 
34 }
double[] evaluate(double t, double[] x, double[] mu)
Constant linear output conversion .
Interface for dynamical system output conversion matrices .