def sparse_dot(full_matrix, sparse_matrix):
    """
    Convenience function to compute the dot product of a full matrix and a sparse matrix. 
    Useful to avoid writing code with a lot of transposes.
    
    :param full_matrix: dense matrix
    :type full_matrix: ndarray
    :param sparse_matrix: sparse matrix
    :type sparse_matrix: csc_matrix
    :return: full_matrix.dot(sparse_matrix)
    :rtype: ndarray
    """
    return sparse_matrix.T.dot(full_matrix.T).T