risk_matrix


risk_matrix, a Python code which computes the adjacency and transition matrices for the game of RISK.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

risk_matrix is available in a MATLAB version and a Python version.

Related Data and Programs:

jordan_matrix_random, a Python code which returns a random matrix in Jordan canonical form.

snakes_matrix, a Python code which computes the transition matrix for Snakes and Ladders.

test_matrix, a Python code which defines test matrices for which the condition number, determinant, eigenvalues, eigenvectors, inverse, null vectors, P*L*U factorization or linear system solution are known. Examples include the Fibonacci, Hilbert, Redheffer, Vandermonde, Wathen and Wilkinson matrices.

wathen_matrix, a Python code which compares storage schemes (full, banded, sparse triplet, sparse) and solution strategies (A\x, linpack, conjugate gradient (CG)) for linear systems involving the Wathen matrix, which can arise when solving a problem using the finite element method (FEM).

Source Code:


Last modified on 25 March 2022.