16 int rows = internal::random<int>(1,12);
17 int cols = internal::random<int>(1,12);
40 VectorXf
v = VectorXf::Ones(
N);
41 MatrixXf
m = MatrixXf::Ones(
N,3);
42 m = (
v+
v).asDiagonal() *
m;
48 MatrixXf
a = MatrixXf::Random(10,4),
b = MatrixXf::Random(4,10),
c =
a;
55 std::ptrdiff_t
l1 = internal::random<int>(10000,20000);
56 std::ptrdiff_t
l2 = internal::random<int>(100000,200000);
57 std::ptrdiff_t
l3 = internal::random<int>(1000000,2000000);
61 std::ptrdiff_t
k1 = internal::random<int>(10,100)*16;
62 std::ptrdiff_t
m1 = internal::random<int>(10,100)*16;
63 std::ptrdiff_t
n1 = internal::random<int>(10,100)*16;
65 internal::computeProductBlockingSizes<float,float,std::ptrdiff_t>(
k1,
m1,
n1,1);
70 MatrixXf
mat1(10,32);
mat1.setRandom();
71 MatrixXf mat2(32,32); mat2.setRandom();
72 MatrixXf
r1 =
mat1.row(2)*mat2.transpose();
75 MatrixXf
r2 =
mat1.row(2)*mat2;
80 Eigen::MatrixXd
A(10,10),
B,
C;
83 for(
int k=0; k<79; ++k)
93 typedef Matrix<double, 2, -1, 0, 2, -1> Mat2X;
94 Mat2X
x(2,2);
x.setRandom();
95 MatrixXd
y(2,2);
y.setRandom();
96 const Mat2X
K1 =
x *
y.inverse();
97 const Matrix2d
K2 =
x *
y.inverse();
125 #if defined EIGEN_HAS_OPENMP