comparison tests/test_matrix.nim @ 809:fe5aced90cb2

did: a ton of small improvments
author Sam <sam@basx.dev>
date Sun, 17 Sep 2023 21:09:38 +0700
parents 9cfd59c93ae8
children 71315636ba82
comparison
equal deleted inserted replaced
808:12f7f8a4f726 809:fe5aced90cb2
134 134
135 echo TMat2[float32]().randomized() * One2.randomized() 135 echo TMat2[float32]().randomized() * One2.randomized()
136 echo TMat3[float32]().randomized() * One3.randomized() 136 echo TMat3[float32]().randomized() * One3.randomized()
137 echo TMat4[float32]().randomized() * One4.randomized() 137 echo TMat4[float32]().randomized() * One4.randomized()
138 138
139 echo float32(rand(1'f32)) * TMat2[float32]().randomized()
140 echo TMat2[float]().randomized() * rand(1'f)
141 echo TMat2[float]().randomized() * rand(1'f)
142 echo TMat23[float]().randomized() * rand(1'f)
143 echo TMat23[float]().randomized() * rand(1'f)
144 echo TMat3[float]().randomized() * rand(1'f)
145 echo TMat34[float]().randomized() * rand(1'f)
146 echo TMat43[float]().randomized() * rand(1'f)
147 echo TMat4[float]().randomized() * rand(1'f)
148
139 randomize() 149 randomize()
140 testMatrix() 150 testMatrix()