function iset( x, idx, value, strict ) {
	idx = resolveIndex( idx, numel( getShape( x, false ) ), strict );
	if ( idx === -1 ) {
		return false;
	}
	x.iset( idx, value );
	return true;
}
Sets an ndarray element according to a linear index.

## Notes

-   This function assumes the presence of an `#.iset` method, which all stdlib ndarrays are expected to have.

@private
@param {ndarrayLike} x - input ndarray
@param {string} idx - linear index string
@param {*} value - new value
@param {boolean} strict - boolean indicating whether to enforce strict bounds checking
@throws {RangeError} index exceeds ndarray bounds
@returns {boolean} boolean indicating whether assignment succeeded