Package com.hissain.jscipy.signal.math
Class RK4Solver.Solution
java.lang.Object
com.hissain.jscipy.signal.math.RK4Solver.Solution
- Enclosing class:
- RK4Solver
Result class to hold the solution
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprint()Prints the solution (time and y values) to the console.
-
Field Details
-
t
public final double[] tArray of time points -
y
public final double[] yArray of solution values corresponding to time points
-
-
Constructor Details
-
Solution
public Solution(double[] t, double[] y) Constructs a new Solution object.- Parameters:
t- Array of time points.y- Array of solution values corresponding to time points.
-
-
Method Details
-
print
public void print()Prints the solution (time and y values) to the console.
-