JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
LinearCoreFun.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 LinearCoreFun implements ICoreFun {
14 
15  private RealMatrix A;
16 
22  public LinearCoreFun(RealMatrix A) {
23  this.A = A;
24  }
25 
29  @Override
30  public double[] evaluate(double t, double[] x, double[] mu) {
31  return A.operate(x);
32  }
33 
34  @Override
35  public boolean timeDependent() {
36  return false;
37  }
38 
39 }
double[] evaluate(double t, double[] x, double[] mu)
LinearCoreFun(RealMatrix A)
Creates a new linear core function.
Constant linear dynamical system core function .
Interface for any dynamical system core function.
Definition: ICoreFun.java:11