Commit Graph

353 Commits

Author SHA1 Message Date
Cem Bassoy
1e71db9cda tensor gsoc 2018. last changes for merge. 2019-02-25 17:05:02 +01:00
Cem Bassoy
6a731af7de tensor gsoc 2018. einstein notation added. 2019-02-18 22:45:38 +01:00
Cem Bassoy
359f716855 tensor gsoc 2018. tensor contraction and transposition added. 2019-02-18 22:45:38 +01:00
Cem Bassoy
3a62977c19 tensor gsoc 2018. expression templates and operators with generic lambdas added. 2019-02-18 22:45:38 +01:00
Cem Bassoy
675db26b4d tensor gsoc 2018. tensor and auxiliary template classes added. 2019-02-18 22:45:38 +01:00
Stefan Seefeld
48ad2104dd Fix extension module lookup. 2018-10-30 00:22:46 -04:00
Fady Essam
9ae62f58d8 Add OpenCL API. 2018-10-29 08:38:37 -04:00
Stefan Seefeld
7cc5d385d2 First OpenCL support infrastructure. 2018-10-29 08:38:37 -04:00
Ronald Wampler
ad76936f49 Fix compilation error when BOOST_UBLAS_SCALED_NORM is defined
Commit e6b113 changed the `size_type` typedef to be based on the
container and in doing so missed the case in vector_norm_2 when
BOOST_UBLAS_SCALED_NORM is define. Also added test cases.
2016-04-07 15:13:17 -04:00
Ronald Wampler
986547a60d Add norm_2_square 2016-03-28 13:24:50 -04:00
Joaquim Duran
02e5983684 In Jamfile.v2:
- Enabled all warnings in g++ and mscv
- Prevent warnings about the checked versions of SCL and CRT libraries.
- test_ticket7296: disabled warning d4127
(based from https://svn.boost.org/trac/boost/wiki/Guidelines/WarningsGuidelines)
2016-01-11 02:54:59 +01:00
Joaquim Duran
5fa629bb09 Changed the type of functions parameter to fix type conversion warnings in test_banded_storage_layout. 2015-12-12 00:42:41 +01:00
Joaquim Duran
b8a7853df8 Removed redundant return statement in four tests. 2015-11-06 01:30:01 +01:00
Joaquim Duran
c0a60f5212 Remove redundant return statements in test_fixed_containers test. 2015-10-31 17:40:22 +01:00
Joaquim Duran
701619a67d - In the test sparse_view_test.cpp, the asyncronous exceptions are captured in bjam and Qt build system.
- In bjam build system, the warning C4996 has been disabled in all tests.
2015-10-25 02:41:37 +01:00
Joaquim Duran
54af3fbf7c utils.hpp: the values of the result of the test are assigned using EXIT macros. 2015-10-19 23:24:21 +02:00
Joaquim Duran
2c0f251d9e In test_matrix_vector, unnedded return statement has been removed. 2015-10-19 23:04:50 +02:00
Joaquim Duran
1c2cf5dcf2 testhelper: fixed warnings about unused parameters. 2015-10-18 00:51:18 +02:00
Joaquim Duran
6227919917 test42.cpp: Fixed warnings about unused parameters. 2015-10-18 00:44:47 +02:00
Joaquim Duran
e3c9bc7933 The type of the distance of matrices and vectors is deduced. 2015-10-01 02:10:14 +02:00
qduran
5699c16bcd For MSVC compliers, unabled warning C4996 (undo previous commit) 2015-08-27 02:52:09 +02:00
qduran
c606ddb075 Fix file permissions. 2015-08-26 01:10:08 +02:00
qduran
b4561a86b3 Fixed type conversion in test_fixed_containers.
Fixed variadic template constructor in fixed_vector and fixed_matrix.
Reordered constructors in fixed_matrix.
2015-08-25 20:03:08 +02:00
Joaquim Duran
149d012bfe Fixed warning about possible loss of data. 2015-08-21 00:02:54 +02:00
Joaquim Duran
a3ebf8a4cc Enabled async-exception to test comp_mat_erase. 2015-08-20 00:22:38 +02:00
Joaquim Duran
a1942dfa03 For MSVC compliers, disabled warning C4996
(https://msdn.microsoft.com/en-us/library/ttcz0bys.aspx)
2015-08-14 01:39:12 +02:00
Joaquim Duran
b7e7f84050 Cast numeric literals to remove warnings. 2015-08-12 14:13:39 +02:00
Joaquim Duran
1e73828651 - Qualified double literals as float.
- Changed variables type in for loop to remove warnings and added temporal
  variable.
2015-08-12 14:08:25 +02:00
Joaquim Duran
849a833922 Changed variable type to remove a warning. 2015-08-12 14:06:18 +02:00
Joaquim Duran
2696b885f7 - Changed types of variables to remove warnings.
- Repladed tabs for spaces in line indentation.
- Replaced ::std::... by std::...
2015-08-11 01:30:17 +02:00
Joaquim Duran
010df5c358 Changed the types of variables to remove warnings. 2015-08-10 00:05:56 +02:00
qduran
74cc99a4bd 'compare_to' function has been renamed to 'compare_distance'. 2015-08-08 15:53:58 +02:00
qduran
0aad284672 Typecast the calculation of mean square distance to avoid warnings (funcion mean_square for matrices and vectors). 2015-08-08 15:31:09 +02:00
Joaquim Duran
46ce9f4265 Simplified string concatenation in test_fixed_containers.cpp. 2015-05-24 02:39:08 +02:00
akumta
a1c774b4f8 Update test_triangular.cpp
Update for 10986
2015-03-13 09:22:31 -07:00
nasos
ce0cc7dbd2 An initial attempt to fix MSVC14 fixed_vector initializer list error. MSVC 14 doesn't have this capability yet and hopefully it will be suppoerted in the future. 2015-01-23 15:36:31 -05:00
Joaquim Duran
c563c9ca89 Merge branch 'develop' into HEAD
Conflicts:
	test/test_coordinate_vector_inplace_merge.cpp
2015-01-06 23:18:42 +01:00
Joaquim Duran
48ad6f4801 The tests and benchmarks are build with the same directives that are defined in bjam files. The tests are build in debug mode and the functions are not inlined. Each test is build in each own directory. 2014-12-30 01:41:12 +01:00
Sean Reilly
baa4a437c0 Resolve issue #7902: Bugs: Division by scalar should use enable_if<>
- This is almost identical to the fix used on #6511: Bugs: Division
  by scalar should use enable_if<> (closed: fixed)
- Scalar multiply was allowed, but divide was not.
- Updated test13 to include test of this capability
- Scaling a matrix now includes two more lines for division
  1. * m1 = [3,3]((1,2,3),(4,5,6),(7,8,9))
  N * m1 = [3,3]((3,6,9),(12,15,18),(21,24,27))
  m1 * 1. = [3,3]((1,2,3),(4,5,6),(7,8,9))
  m1 * N = [3,3]((3,6,9),(12,15,18),(21,24,27))
  m1 / 2. = [3,3]((0.5,1,1.5),(2,2.5,3),(3.5,4,4.5))
  m1 / N = [3,3]((0.333333,0.666667,1),(1.33333,1.66667,2),(2.33333,2.66667,3))
2014-12-10 19:26:52 -05:00
Sean Reilly
0fe4aafd64 Rename the equal_to() function to compare_to() to avoid name conflict in gcc-4.4.7 compiler.
Any test that was using equal_to() was failing.  Re-ran the tests and they all pass now.
2014-12-10 19:26:52 -05:00
Sean Reilly
5af73189a8 Rename the equal_to() function to compare_to() to avoid name conflict in gcc-4.4.7 compiler.
Any test that was using equal_to() was failing.  Re-ran the tests and they all pass now.
2014-12-10 18:41:52 -05:00
Joaquim Duran
9c31de50c2 Added tolerance to functions 'equal_two' and restored in tests. 2014-11-10 01:35:24 +01:00
Joaquim Duran
4c02ee4fc3 Merge remote-tracking branch 'origin/develop' into ublas_feature0010_ide_dev_support
Conflicts:
	test/test_assignment.cpp
	test/test_coordinate_matrix_inplace_merge.cpp
	test/test_coordinate_vector_inplace_merge.cpp
2014-11-09 14:37:02 +01:00
Joaquim Duran
ffe1ec9d3a Functions mean_square have been moved to 'testhelper.hpp'. Created the functions 'equal_to' to test if matrices or vectors are equals (based on mean_square). 2014-11-08 15:54:22 +01:00
Joaquim Duran
08e64804bd The matrices and vectors compared should have the same size. 2014-11-06 00:51:35 +01:00
Joaquim Duran
b6565a2d24 The warnings about unused variables in tests and benchmarks have been fixed. 2014-11-02 15:55:32 +01:00
Joaquim Duran
a0fa1e6547 The relative path in the include directive to locate the header utils.hpp has been removed. 2014-10-31 02:20:35 +01:00
qduran
5b7b11c774 Merge branch 'origin/develop' into HEAD 2014-10-16 00:26:53 +02:00
qduran
ba71d594c9 Merge remote-tracking branch 'upstream/develop' into origin/develop 2014-10-05 20:08:54 +02:00
qduran
a069526f89 Remove the name of unused function parameters to avoid warnings in the compilation. 2014-10-05 19:23:44 +02:00