Function hdf_input_n (o2scl_hdf)¶
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::uniform_grid<double> &h, std::string &name)¶
Input a o2scl::uniform_grid object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type uniform_grid, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type uniform_grid, then the error handler is called. Ifname
is unspecified and there is no object with type uniform_grid, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
template<class vec_t, class mat_t>
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::prob_dens_mdim_gaussian<vec_t, mat_t> &p, std::string &name)¶ Input a o2scl::prob_dens_mdim_gaussian object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type prob_dens_mdim_gaussian, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type prob_dens_mdim_gaussian, then the error handler is called. Ifname
is unspecified and there is no object with type prob_dens_mdim_gaussian, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
template<class mat_t, class vecp_t>
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::prob_dens_mdim_gmm<mat_t, vecp_t> &p, std::string &name)¶ Input a o2scl::prob_dens_mdim_gmm object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type prob_dens_mdim_gmm, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type prob_dens_mdim_gmm, then the error handler is called. Ifname
is unspecified and there is no object with type prob_dens_mdim_gmm, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
template<class vec_t, class mat_t>
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::prob_dens_mdim_amr<vec_t, mat_t> &p, std::string &name)¶ Input a o2scl::prob_dens_mdim_amr object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type prob_dens_mdim_amr, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type prob_dens_mdim_amr, then the error handler is called. Ifname
is unspecified and there is no object with type prob_dens_mdim_amr, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
template<class vec_t, class fp_t>
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::table<vec_t, fp_t> &t, std::string &name)¶ Input a o2scl::table object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type table, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type table, then the error handler is called. Ifname
is unspecified and there is no object with type table, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
template<class vec_t>
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::table_units<vec_t> &t, std::string &name)¶ Input a o2scl::table_units object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type table_units, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type table_units, then the error handler is called. Ifname
is unspecified and there is no object with type table_units, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::hist &h, std::string &name)¶
Input a o2scl::hist object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type hist, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type hist, then the error handler is called. Ifname
is unspecified and there is no object with type hist, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::hist_2d &h, std::string &name)¶
Input a o2scl::hist_2d object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type hist_2d, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type hist_2d, then the error handler is called. Ifname
is unspecified and there is no object with type hist_2d, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::table3d &h, std::string &name)¶
Input a o2scl::table3d object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type table3d, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type table3d, then the error handler is called. Ifname
is unspecified and there is no object with type table3d, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::expval_scalar &h, std::string &name)¶
Input a o2scl::expval_scalar object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type expval_scalar, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type expval_scalar, then the error handler is called. Ifname
is unspecified and there is no object with type expval_scalar, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::expval_vector &h, std::string &name)¶
Input a o2scl::expval_vector object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type expval_vector, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type expval_vector, then the error handler is called. Ifname
is unspecified and there is no object with type expval_vector, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::expval_matrix &h, std::string &name)¶
Input a o2scl::expval_matrix object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type expval_matrix, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type expval_matrix, then the error handler is called. Ifname
is unspecified and there is no object with type expval_matrix, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, std::vector<o2scl::contour_line> &cl, std::string &name)¶
Input a vector of o2scl::contour_line objects from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type contour_line, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type contour_line, then the error handler is called. Ifname
is unspecified and there is no object with type contour_line, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, std::vector<o2scl::edge_crossings> &ec, std::string &name)¶
Input a vector of o2scl::edge_crossings objects from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type edge_crossings, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type edge_crossings, then the error handler is called. Ifname
is unspecified and there is no object with type edge_crossings, then the error handler is called. Upon exit,name
contains the name of the object which was read.
-
void o2scl_hdf::hdf_input_n(hdf_file &hf, o2scl::tensor_grid<std::vector<double>, std::vector<size_t>> &t, std::string &name)¶
Input a o2scl::tensor_grid object from a hdf_file.
If
name
has a non-zero length, then this function first reads the first object of type tensor_grid, otherwise, it reads the object of the specified name. Ifname
is specified and no object is found, or if the object with the specified name is not of type tensor_grid, then the error handler is called. Ifname
is unspecified and there is no object with type tensor_grid, then the error handler is called. Upon exit,name
contains the name of the object which was read.