vice.migration.migration_matrix.tolist ====================================== Obtain a copy of this migration matrix as a list. **Signature**: x.tolist() Parameters ---------- x : ``migration_matrix`` An instance of this class. Returns ------- copy : ``list`` A list of all values in this matrix. Example Code ------------ >>> import vice >>> example = vice.migration.migration_matrix(3) >>> example.tolist() [[0, 0, 0], [0, 0, 0], [0, 0, 0]]