Substitute the specified (x,y) pair for the stored x- and y-values in the i th entry of table s.
If the i th entry does not exist, then sufficient entries to encompass the given sequence number are appended to the table and the given (x,y) pair is installed.