mirror of
https://github.com/boostorg/ublas.git
synced 2026-01-25 06:42:27 +00:00
112 lines
3.8 KiB
Plaintext
112 lines
3.8 KiB
Plaintext
# Boost.uBLAS
|
|
#
|
|
# Copyright (c) 2018, Cem Bassoy, cem.bassoy@gmail.com
|
|
# Copyright (c) 2019, Amit Singh, amitsingh19975@gmail.com
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0. (See
|
|
# accompanying file LICENSE_1_0.txt or copy at
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
# The authors gratefully acknowledge the support of
|
|
# Google and Fraunhofer IOSB, Ettlingen, Germany
|
|
#
|
|
|
|
import ../../../../config/checks/config : requires ;
|
|
|
|
project boost/ublas/test/tensor
|
|
: requirements
|
|
<toolset>gcc:<cxxflags>"-Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-but-set-variable"
|
|
<toolset>clang:<cxxflags>"-Wall -Wno-unknown-pragmas -Wno-sign-compare"
|
|
[ requires cxx17_if_constexpr ]
|
|
;
|
|
|
|
alias unit_test_framework
|
|
: # sources
|
|
/boost//unit_test_framework
|
|
;
|
|
|
|
# make aliases explicit so the libraries will only be built when requested
|
|
explicit unit_test_framework ;
|
|
|
|
|
|
test-suite boost-ublas-tensor-test
|
|
: #
|
|
[ run #
|
|
algorithm/test_algorithm_accumulate.cpp
|
|
algorithm/test_algorithm_copy.cpp
|
|
algorithm/test_algorithm_trans.cpp
|
|
algorithm/test_algorithm_transform.cpp
|
|
#
|
|
extents/test_extents_access_operator.cpp
|
|
extents/test_extents_assignment_operator.cpp
|
|
extents/test_extents_at.cpp
|
|
extents/test_extents_comparision.cpp
|
|
extents/test_extents_construction.cpp
|
|
extents/test_extents_empty.cpp
|
|
extents/test_extents_is_matrix.cpp
|
|
extents/test_extents_is_scalar.cpp
|
|
extents/test_extents_is_tensor.cpp
|
|
extents/test_extents_is_vector.cpp
|
|
extents/test_extents_is_valid.cpp
|
|
extents/test_extents_product.cpp
|
|
extents/test_extents_size.cpp
|
|
#
|
|
functions/test_functions_inner.cpp
|
|
functions/test_functions_matrix.cpp
|
|
functions/test_functions_norm.cpp
|
|
functions/test_functions_outer.cpp
|
|
functions/test_functions_real_imag_conj.cpp
|
|
functions/test_functions_tensor.cpp
|
|
functions/test_functions_tensor_permutation.cpp
|
|
functions/test_functions_trans.cpp
|
|
functions/test_functions_vector.cpp
|
|
#
|
|
multiplication/test_multiplication_inner.cpp
|
|
multiplication/test_multiplication_mtm.cpp
|
|
multiplication/test_multiplication_mtv.cpp
|
|
multiplication/test_multiplication_outer.cpp
|
|
multiplication/test_multiplication_ttm.cpp
|
|
multiplication/test_multiplication_ttt_permutation.cpp
|
|
multiplication/test_multiplication_ttt.cpp
|
|
multiplication/test_multiplication_ttv.cpp
|
|
#
|
|
tensor/test_tensor_access_operator.cpp
|
|
tensor/test_tensor_assignment_operator.cpp
|
|
tensor/test_tensor_at.cpp
|
|
tensor/test_tensor_binary_expression.cpp
|
|
tensor/test_tensor_comparision.cpp
|
|
tensor/test_tensor_comparision_with_scalar.cpp
|
|
tensor/test_tensor_comparision_with_tensor_expression.cpp
|
|
tensor/test_tensor_construction.cpp
|
|
tensor/test_tensor_empty.cpp
|
|
tensor/test_tensor_expression_access.cpp
|
|
tensor/test_tensor_expression_evaluation_all_extents_equal.cpp
|
|
tensor/test_tensor_expression_evaluation_retrieve_extents.cpp
|
|
tensor/test_tensor_operator_arithmetic_assignment.cpp
|
|
tensor/test_tensor_operator_arithmetic_binary.cpp
|
|
tensor/test_tensor_operator_arithmetic_unary.cpp
|
|
tensor/test_tensor_size.cpp
|
|
tensor/test_tensor_unary_expression.cpp
|
|
#
|
|
test_access.cpp
|
|
test_einstein_notation.cpp
|
|
# test_main.cpp
|
|
test_multi_index.cpp
|
|
test_multi_index_utility.cpp
|
|
test_span.cpp
|
|
test_strides.cpp
|
|
test_subtensor.cpp
|
|
test_subtensor_utility.cpp
|
|
test_tensor.cpp
|
|
unit_test_framework
|
|
#
|
|
:
|
|
:
|
|
:
|
|
: test_tensor
|
|
:
|
|
#
|
|
]
|
|
;
|
|
|