board_toggle_matrix: Get the toggle matrix used to solve the board using linear...

Description Usage Arguments

View source: R/board-attribs.R

Description

A lightsout game can be solved using Gaussian elimination. A special matrix A needs to be used to solve Ax=b, where b is the current board configuration and x is the solution. This function returns the matrix A.

Usage

1

Arguments

board

A lightsout board object


lightsout documentation built on May 2, 2019, 1:10 p.m.