Skip to content

Commit

Permalink
use parallel-crypto3/math includes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Oct 3, 2024
1 parent bcdcfed commit 00cd4e3
Show file tree
Hide file tree
Showing 79 changed files with 217 additions and 217 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#ifndef CRYPTO3_MATH_CALCULATE_DOMAIN_SET_HPP
#define CRYPTO3_MATH_CALCULATE_DOMAIN_SET_HPP

#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>

#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
#ifndef CRYPTO3_MATH_MAKE_EVALUATION_DOMAIN_HPP
#define CRYPTO3_MATH_MAKE_EVALUATION_DOMAIN_HPP

#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/crypto3/math/domains/arithmetic_sequence_domain.hpp>
#include <nil/crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/crypto3/math/domains/extended_radix2_domain.hpp>
#include <nil/crypto3/math/domains/geometric_sequence_domain.hpp>
#include <nil/crypto3/math/domains/step_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/domains/arithmetic_sequence_domain.hpp>
#include <nil/parallel-crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/domains/extended_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/domains/geometric_sequence_domain.hpp>
#include <nil/parallel-crypto3/math/domains/step_radix2_domain.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@

#include <vector>

#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>

#include <nil/crypto3/math/polynomial/basis_change.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/basis_change.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>

#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@

#include <vector>

#include <nil/crypto3/math/detail/field_utils.hpp>
#include <nil/parallel-crypto3/math/detail/field_utils.hpp>

#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>
#include <nil/crypto3/math/algorithms/unity_root.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>
#include <nil/parallel-crypto3/math/algorithms/unity_root.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>
#include <nil/actor/core/parallelization_utils.hpp>

namespace nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

#include <nil/crypto3/algebra/type_traits.hpp>

#include <nil/crypto3/math/algorithms/unity_root.hpp>
#include <nil/crypto3/math/detail/field_utils.hpp>
#include <nil/parallel-crypto3/math/algorithms/unity_root.hpp>
#include <nil/parallel-crypto3/math/detail/field_utils.hpp>

#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <vector>

#include <boost/multiprecision/integer.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@

#include <vector>

#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>
#include <nil/crypto3/math/algorithms/unity_root.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>
#include <nil/parallel-crypto3/math/algorithms/unity_root.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@

#include <vector>

#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>

#include <nil/crypto3/math/polynomial/basis_change.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/basis_change.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>
#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@

#include <vector>

#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>
#include <nil/crypto3/math/algorithms/unity_root.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>
#include <nil/parallel-crypto3/math/algorithms/unity_root.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
#include <algorithm>
#include <vector>

#include <nil/crypto3/math/algorithms/unity_root.hpp>
#include <nil/crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>
#include <nil/crypto3/math/detail/field_utils.hpp>
#include <nil/parallel-crypto3/math/algorithms/unity_root.hpp>
#include <nil/parallel-crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>
#include <nil/parallel-crypto3/math/detail/field_utils.hpp>
#include <nil/crypto3/detail/type_traits.hpp>

#include <nil/actor/core/parallelization_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#include <algorithm>
#include <vector>

#include <nil/crypto3/math/polynomial/basic_operations.hpp>
#include <nil/crypto3/math/polynomial/xgcd.hpp>
#include <nil/parallel-crypto3/math/polynomial/basic_operations.hpp>
#include <nil/parallel-crypto3/math/polynomial/xgcd.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include <vector>

#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
#ifndef CRYPTO3_MATH_LAGRANGE_INTERPOLATION_HPP
#define CRYPTO3_MATH_LAGRANGE_INTERPOLATION_HPP

#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <algorithm>
#include <vector>

#include <nil/crypto3/math/polynomial/basic_operations.hpp>
#include <nil/parallel-crypto3/math/polynomial/basic_operations.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
#include <iterator>
#include <unordered_map>

#include <nil/crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/crypto3/math/polynomial/basic_operations.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/polynomial/basic_operations.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>

#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <algorithm>
#include <vector>

#include <nil/crypto3/math/polynomial/basic_operations.hpp>
#include <nil/parallel-crypto3/math/polynomial/basic_operations.hpp>
#include <string_view>

namespace nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <algorithm>
#include <vector>

#include <nil/crypto3/math/polynomial/basic_operations.hpp>
#include <nil/parallel-crypto3/math/polynomial/basic_operations.hpp>
#include <nil/actor/core/parallelization_utils.hpp>

namespace nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#ifndef CRYPTO3_MATH_POLYNOMIAL_SHIFT_HPP
#define CRYPTO3_MATH_POLYNOMIAL_SHIFT_HPP

#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/actor/core/parallelization_utils.hpp>

namespace nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <boost/math/tools/polynomial_gcd.hpp>
#include <boost/integer/extended_euclidean.hpp>

#include <nil/crypto3/math/polynomial/basic_operations.hpp>
#include <nil/parallel-crypto3/math/polynomial/basic_operations.hpp>

namespace nil {
namespace crypto3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@

#include <vector>

#include <nil/crypto3/math/domains/evaluation_domain.hpp>
#include <nil/crypto3/math/domains/arithmetic_sequence_domain.hpp>
#include <nil/crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/crypto3/math/domains/extended_radix2_domain.hpp>
#include <nil/crypto3/math/domains/geometric_sequence_domain.hpp>
#include <nil/crypto3/math/domains/step_radix2_domain.hpp>

#include <nil/crypto3/math/detail/field_utils.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/parallel-crypto3/math/domains/evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/domains/arithmetic_sequence_domain.hpp>
#include <nil/parallel-crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/domains/extended_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/domains/geometric_sequence_domain.hpp>
#include <nil/parallel-crypto3/math/domains/step_radix2_domain.hpp>

#include <nil/parallel-crypto3/math/detail/field_utils.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial_dfs.hpp>

namespace nil {
namespace crypto3 {
Expand Down
12 changes: 6 additions & 6 deletions parallel-crypto3/libs/parallel-math/test/basic_radix2_domain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@


#include <nil/crypto3/algebra/fields/arithmetic_params/bls12.hpp>
#include <nil/crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/crypto3/math/polynomial/shift.hpp>
#include <nil/crypto3/math/algorithms/unity_root.hpp>
#include <nil/crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/parallel-crypto3/math/polynomial/shift.hpp>
#include <nil/parallel-crypto3/math/algorithms/unity_root.hpp>
#include <nil/parallel-crypto3/math/domains/detail/basic_radix2_domain_aux.hpp>

#include <nil/crypto3/algebra/random_element.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include <boost/timer/timer.hpp>

#include <nil/crypto3/algebra/fields/arithmetic_params/bls12.hpp>
#include <nil/crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/crypto3/random/algebraic_engine.hpp>


Expand Down
16 changes: 8 additions & 8 deletions parallel-crypto3/libs/parallel-math/test/evaluation_domain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@

#include <nil/crypto3/algebra/random_element.hpp>

#include <nil/crypto3/math/coset.hpp>
#include <nil/crypto3/math/domains/arithmetic_sequence_domain.hpp>
#include <nil/crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/crypto3/math/domains/extended_radix2_domain.hpp>
#include <nil/crypto3/math/domains/geometric_sequence_domain.hpp>
#include <nil/crypto3/math/domains/step_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/coset.hpp>
#include <nil/parallel-crypto3/math/domains/arithmetic_sequence_domain.hpp>
#include <nil/parallel-crypto3/math/domains/basic_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/domains/extended_radix2_domain.hpp>
#include <nil/parallel-crypto3/math/domains/geometric_sequence_domain.hpp>
#include <nil/parallel-crypto3/math/domains/step_radix2_domain.hpp>

#include <nil/crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>

#include <nil/crypto3/math/polynomial/evaluate.hpp>
#include <nil/parallel-crypto3/math/polynomial/evaluate.hpp>

#include <typeinfo>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
#include <nil/crypto3/algebra/fields/bls12/base_field.hpp>
#include <nil/crypto3/algebra/fields/arithmetic_params/bls12.hpp>

#include <nil/crypto3/math/polynomial/basic_operations.hpp>
#include <nil/crypto3/math/kronecker_substitution.hpp>
#include <nil/parallel-crypto3/math/polynomial/basic_operations.hpp>
#include <nil/parallel-crypto3/math/kronecker_substitution.hpp>

using namespace nil::crypto3::algebra;
using namespace nil::crypto3::math;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <nil/crypto3/algebra/fields/arithmetic_params/bls12.hpp>
#include <nil/crypto3/algebra/random_element.hpp>

#include <nil/crypto3/math/polynomial/lagrange_interpolation.hpp>
#include <nil/parallel-crypto3/math/polynomial/lagrange_interpolation.hpp>

using namespace nil::crypto3::algebra;
using namespace nil::crypto3::math;
Expand Down
2 changes: 1 addition & 1 deletion parallel-crypto3/libs/parallel-math/test/polynomial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#include <nil/crypto3/algebra/fields/arithmetic_params/bls12.hpp>

#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>

using namespace nil::crypto3::algebra;
using namespace nil::crypto3::math;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@

#include <nil/crypto3/algebra/fields/arithmetic_params/bls12.hpp>

#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/crypto3/math/polynomial/basic_operations.hpp>
#include <nil/crypto3/math/polynomial/xgcd.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/basic_operations.hpp>
#include <nil/parallel-crypto3/math/polynomial/xgcd.hpp>

using namespace nil::crypto3::algebra;
using namespace nil::crypto3::math;
Expand Down
8 changes: 4 additions & 4 deletions parallel-crypto3/libs/parallel-math/test/polynomial_dfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
#include <nil/crypto3/algebra/fields/arithmetic_params/bls12.hpp>
#include <nil/crypto3/algebra/random_element.hpp>

#include <nil/crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/crypto3/math/polynomial/polynomial.hpp>
#include <nil/crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/crypto3/math/polynomial/shift.hpp>
#include <nil/parallel-crypto3/math/algorithms/make_evaluation_domain.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial_dfs.hpp>
#include <nil/parallel-crypto3/math/polynomial/shift.hpp>
#include <nil/actor/core/thread_pool.hpp>
#include <nil/actor/core/parallelization_utils.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#include <nil/crypto3/algebra/fields/arithmetic_params/bls12.hpp>

#include <nil/crypto3/math/polynomial/polynomial_dfs_view.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial_dfs_view.hpp>

using namespace nil::crypto3::algebra;
using namespace nil::crypto3::math;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#include <nil/crypto3/algebra/fields/arithmetic_params/bls12.hpp>

#include <nil/crypto3/math/polynomial/polynomial_view.hpp>
#include <nil/parallel-crypto3/math/polynomial/polynomial_view.hpp>

using namespace nil::crypto3::algebra;
using namespace nil::crypto3::math;
Expand Down
Loading

0 comments on commit 00cd4e3

Please sign in to comment.