The v_j surely make up a basis for V, and likewise the w_i make up a basis for W. The linear map f is determined completely by its values on a basis for V.

The matrix A is the matrix of f with respect to the chosen bases for V and W, and the (i,j)'th entry of A is just a_ij.