source: pacpussensors/trunk/Vislab/lib3dv/eigen/test/eigen2/eigen2_product_small.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 772 bytes
Line 
1// This file is part of Eigen, a lightweight C++ template library
2// for linear algebra. Eigen itself is part of the KDE project.
3//
4// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
5//
6// This Source Code Form is subject to the terms of the Mozilla
7// Public License v. 2.0. If a copy of the MPL was not distributed
8// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
10#define EIGEN_NO_STATIC_ASSERT
11#include "product.h"
12
13void test_eigen2_product_small()
14{
15 for(int i = 0; i < g_repeat; i++) {
16 CALL_SUBTEST_1( product(Matrix<float, 3, 2>()) );
17 CALL_SUBTEST_2( product(Matrix<int, 3, 5>()) );
18 CALL_SUBTEST_3( product(Matrix3d()) );
19 CALL_SUBTEST_4( product(Matrix4d()) );
20 CALL_SUBTEST_5( product(Matrix4f()) );
21 }
22}
Note: See TracBrowser for help on using the repository browser.