Problem
1. Write a procedure to implement the evaluate View Mapping Matrix function that calculates the elements of a matrix for performing the window-to-viewport transformation.
2. Write a procedure to implement the set View Representation function to concatenate view Matrix and view Mapping Matrix and to store the result, referenced by a spetified view index, in a viewing table.