Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/LU-decomposition/Racket/lu-decomposition.rkt
Normal file
15
Task/LU-decomposition/Racket/lu-decomposition.rkt
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#lang racket
|
||||
(require math)
|
||||
(define A (matrix
|
||||
[[1 3 5]
|
||||
[2 4 7]
|
||||
[1 1 0]]))
|
||||
|
||||
(matrix-lu A)
|
||||
; result:
|
||||
; (mutable-array #[#[1 0 0]
|
||||
; #[2 1 0]
|
||||
; #[1 1 1]])
|
||||
; (mutable-array #[#[1 3 5]
|
||||
; #[0 -2 -3]
|
||||
; #[0 0 -2]])
|
||||
Loading…
Add table
Add a link
Reference in a new issue