2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-01-27 19:32:14 +00:00
Commit Graph

356 Commits

Author SHA1 Message Date
Amit Singh
e68819c645 Phase 1: adding static extents and static strides
fix macro for MSVC

adding noexcept

fixing test and making changes

adding comparison test and adding resolving issue

changing extents API

fixing MSVC errors

fixing MSVC error

adding static prod function and adding std::array to static extents and static strides

fixing get_number_list

refactoring meta_function into type_traits and adding staic_traits for static_extents

fixing extents_result_type_outer_prod and combining static_functions and functions

removing unnecessary code and header file

removing unnecessary forward declaration

private member resize and adding removed constructors for matrix and vector

changing size_t to std::size_t and fixing stride_t

adding is_resizable type trait for tensor resizing

improve documenting of is_resizable

refactoring code

changing msvc version in .yml

changing toolset msvc-14.1 to msvc-14.16 and adding VSCLCOMPILER

changing toolset msvc-14.2 and image to VS 2019

refactoring code and adding new matrix to appveyor

adding VS 2019 with msvc-14.1 and disabling VS 2019 with msvc-14.2 and c++2a

adding VS 2019 with msvc-14.2 and changing flag to latest

removing VS 2019 with msvc-14.2 and c++17 and adding timeout to travis.yml

travis_wait workaround

removing VS 2017 from appveyor and refactoring code

adding clang support for c++17 and c++20 and refactoring code

changing dist to bionic and adding source link to clang 10

fixing travis, bugs and adding new examples

fixing example bugs for msvc

updating licence and adding test_expression to jamfile

adding new tests, refactoring code and fixing bugs

fix for msvc c++20

fixing memory problem due to BOOST_AUTO_TEST_SUITE macro defining after fixture

removing const from tests and enabling test_tensor.cpp

removing const from test_fixed_rank_expression_evaluation.cpp

fixing msvc bug

fixing msvc-14.2 bug for c++ latest where it cannot properly capture variables in lambda func

disintegrating tests into smaller units

reducing test_types for testing

reducing tests

reducing test_types for testing in operator arithmetic

improving msvc warinings and separating test_function.cpp into it's own module
2020-04-14 21:17:13 +05:30
Ashar
a490a29cdc Disable coverage for non-tensor unit tests 2019-05-20 23:32:12 +05:30
Ashar
1f5105a62b Adds code coverage to ublas 2019-05-19 00:23:56 +05:30
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