@@ -170,8 +170,8 @@ protected double sinc_sum(int n) {
170
170
}
171
171
172
172
private double randmatmul (int i ) {
173
- SimpleMatrix a = SimpleMatrix .random (i , i , -1d , +1d , rand );
174
- SimpleMatrix b = SimpleMatrix .random (i , i , -1d , +1d , rand );
173
+ SimpleMatrix a = SimpleMatrix .random_DDRM (i , i , -1d , +1d , rand );
174
+ SimpleMatrix b = SimpleMatrix .random_DDRM (i , i , -1d , +1d , rand );
175
175
return a .mult (b ).get (0 );
176
176
}
177
177
@@ -182,10 +182,10 @@ private double[] randmatstat(int t) {
182
182
SimpleMatrix v = new SimpleMatrix (new double [t ][1 ]); //zeros(t,1);
183
183
SimpleMatrix w = new SimpleMatrix (new double [t ][1 ]); //zeros(t,1);
184
184
for (int i =0 ; i < t ; i ++) {
185
- SimpleMatrix a = SimpleMatrix .random (n , n , -1d , +1d , rand );
186
- SimpleMatrix b = SimpleMatrix .random (n , n , -1d , +1d , rand );
187
- SimpleMatrix c = SimpleMatrix .random (n , n , -1d , +1d , rand );
188
- SimpleMatrix d = SimpleMatrix .random (n , n , -1d , +1d , rand );
185
+ SimpleMatrix a = SimpleMatrix .random_DDRM (n , n , -1d , +1d , rand );
186
+ SimpleMatrix b = SimpleMatrix .random_DDRM (n , n , -1d , +1d , rand );
187
+ SimpleMatrix c = SimpleMatrix .random_DDRM (n , n , -1d , +1d , rand );
188
+ SimpleMatrix d = SimpleMatrix .random_DDRM (n , n , -1d , +1d , rand );
189
189
190
190
p .combine (0 , 0 *n , a );
191
191
p .combine (0 , 1 *n , b );
0 commit comments