insert_last
- pyoptex.doe.cost_optimal.codex.insert.insert_last(new_run, state, params)[source]
Inserts a new run at the last position and returns a new state.
Parameters
- new_runnp.array(1, 1d)
The new run to be added to the design.
- state
State The state from which to start.
- params
Parameters The simulation parameters.
Returns
- new_state
State The new state after inserting the run at the last position.