September Morn Update

This commit is contained in:
Ingy döt Net 2019-09-12 10:33:56 -07:00
parent 4e2d22a71d
commit aac6731f2c
6856 changed files with 141342 additions and 21127 deletions

View file

@ -3,8 +3,7 @@ function cholesky ($a) {
if ($a) {
$n = $a.count
$end = $n - 1
$l = @(0) * $n
foreach ($i in 0..$end) {$l[$i] = @(0) * $n}
$l = 1..$n | foreach {$row = @(0) * $n; ,$row}
foreach ($k in 0..$end) {
$m = $k - 1
$sum = 0
@ -26,11 +25,7 @@ function cholesky ($a) {
$l
}
function show($a) {
if($a) {
0..($a.Count - 1) | foreach{ if($a[$_]){"$($a[$_])"}else{""} }
}
}
function show($a) {$a | foreach {"$_"}}
$a1 = @(
@(25, 15, -5),