This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! Github Dark v1.20.84 (2018-11-19) */ | |
/*! Repository: https://github.com/StylishThemes/GitHub-Dark */ | |
/*! Userstyle: http://userstyles.org/styles/37035 */ | |
/*! License: https://creativecommons.org/licenses/by-sa/4.0/ */ | |
/* Override default browser styles */ | |
button { | |
color: #b5b5b5 !important; | |
} | |
/* begin auto-generated rules - use tools/generate.js to generate them */ | |
/* auto-generated rule for "background: #fff" */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def solve_right(A, b): | |
try: a = A.solve_right(b) | |
except: return "no solution" | |
if A.rank() == len(b): return a | |
return (a, matrix(A.right_kernel().basis())) | |
# Solve matrix A with rank 2 | |
F = IntegerModRing(5) | |
A = matrix(F, [[0,2,1,3],[4,0,1,0],[2,4,0,1]]) | |
b = vector([4,2,4]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"strconv" | |
) |
OlderNewer