added unit tests for bigint

This commit is contained in:
2023-05-29 08:43:09 +08:00
parent 42dbf1103d
commit b8f704285c
5 changed files with 73 additions and 34 deletions

View File

@@ -78,7 +78,7 @@ suite "Nim linear algebra library":
var mtx = newHMatrix[float64](100, 100, arr)
var lu = mtx.clone()
let pivot = lu.lup()
var b = newHVector[float64](100)
var b = newHVector[float64](100, 0.0f)
for i in 0...len(b):
b[i] = float64(rng.rand(b.len))