Instantly share code, notes, and snippets.

Embed
What would you like to do?
Demonstrates how to develop a vector input component
package eu.mihosoft.vrl.user;
@ComponentInfo(name="VectorInput", category="ODE")
public class VectorInput implements java.io.Serializable {
private static final long serialVersionUID=1L;
// add your code here
@MethodInfo(name="", valueName="v", valueStyle="default", valueOptions="", hide=false)
public double[] vector(@ParamInfo(name="", style="array", options="") Double[] v) {
return v
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment