Class FieldODEState<T extends RealFieldElement<T>>

    • Constructor Detail

      • FieldODEState

        public FieldODEState​(T time,
                             T[] state,
                             T[][] secondaryState)
        Simple constructor.
        Parameters:
        time - time
        state - state at time
        secondaryState - state at time (may be null)
    • Method Detail

      • copy

        protected T[][] copy​(Field<T> field,
                             T[][] original)
        Copy a two-dimensions array.
        Parameters:
        field - field to which elements belong
        original - original array (may be null)
        Returns:
        copied array or null if original array was null
      • getTime

        public T getTime()
        Get time.
        Returns:
        time
      • getStateDimension

        public int getStateDimension()
        Get main state dimension.
        Returns:
        main state dimension
      • getState

        public T[] getState()
        Get main state at time.
        Returns:
        main state at time
      • getNumberOfSecondaryStates

        public int getNumberOfSecondaryStates()
        Get the number of secondary states.
        Returns:
        number of secondary states.