47template<
class Archive>
48inline void save_construct_data(Archive & ar,
const bertini::start_system::User * t,
const unsigned int file_version);
107 template <
typename Archive>
108 void serialize(Archive& ar,
const unsigned ) {
109 ar & boost::serialization::base_object<StartSystem>(*
this);
121template<
class Archive>
122inline void save_construct_data(
123 Archive & ar,
const bertini::start_system::User * t,
const unsigned int
126 ar << t->user_system_;
127 ar << t->solns_in_dbl_;
129 ar << std::get<0>(t->solns_);
130 ar << std::get<1>(t->solns_);
134template<
class Archive>
135inline void load_construct_data(
136 Archive & ar, bertini::start_system::User * t,
const unsigned int
149 ::new(t)bertini::start_system::User(sys, solns);
155 ::new(t)bertini::start_system::User(sys, solns);
The fundamental polynomial system class for Bertini2.
Definition system.hpp:106
System()
The default constructor for a system.
Definition system.hpp:117
std::shared_ptr< node::Node > Nd
Shorthand for a shared pointer to a generic expression-tree node.
Definition system.hpp:112
Abstract base class for other start systems.
Definition start_base.hpp:83
The user-provided start system for Numerical Algebraic Geometry.
Definition user.hpp:64
User & operator*=(Nd const &n)=delete
unsigned long long NumStartPoints() const override
Get the number of start points for this start system.
User & operator+=(System const &sys)=delete
friend void boost::serialization::save_construct_data(Archive &ar, const User *t, const unsigned int file_version)
User(System const &s, SampCont< complex_dbl > const &solns)
Constructor for making a user-provided start system from another.
friend class boost::serialization::access
Definition user.hpp:104
User(System const &s, SampCont< complex_mp > const &solns)
Construct a user-provided start system from a system and its multiprecision solutions.
Definition zero_dim_solve.hpp:68
Definition algorithm_builder.hpp:36
std::complex< double > complex_dbl
The double-precision complex number type.
Definition double_extensions.hpp:47
Eigen::Matrix< NumT, Eigen::Dynamic, 1 > Vec
A dynamically-sized column vector of NumT.
Definition eigen_extensions.hpp:296
std::deque< Vec< T > > SampCont
Definition config.hpp:33
bmp::number< mpc_complex_backend< 0 >, bmp::et_on > complex_mp
The arbitrary-precision complex number type.
Definition mpfr_complex.hpp:58
Definition mpfr_complex.hpp:191
Definition forbid_mixed_arithmetic.hpp:27
Defines generic start system type.
utilities for start system code.