19 #include <iostream.hpp>
114 for (
int i=min;i<=
max;++i)
138 for (
int i = min; i <=
max; ++i)
155 constexpr
size_t wsize=
sizeof(int);
159 for (
int i=min;i<=
max;i++)
184 constexpr
size_t size =
sizeof(double);
185 double* ptemp_vec = temp_vec.
get_v() +
max;
186 for (
int i = max; i >=
min; --i)
188 fread(ptemp_vec, size);
207 constexpr
size_t sizeofint =
sizeof(int);
211 int* ptemp_veci = temp_vec.
get_v() +
max;
212 for (
int i = max; i >=
min; --i)
214 fread(ptemp_veci, sizeofint);
236 double* ptemp_veci = temp_vec.
get_v() +
max;
237 for (
int i = max; i >=
min; --i)
257 for (
int i=min;i<=
max;++i)
void save_dvar_matrix_value() const
Saves the size, address, and value information for a dvar_matrix.
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
ivector_position restore_ivector_position()
Description not yet available.
Description not yet available.
dvector restore_dvector_value(const dvector_position &tmp)
Holds the data for the prevariable class.
dvector_position restore_dvector_position()
Description not yet available.
void save_dvector_position(const dvector &v)
Array of integers(int) with indexes from index_min to indexmax.
void save_dvector_value(const dvector &v)
dvector restore_dvar_vector_value(const dvar_vector_position &tmp)
void save_dvar_vector_value(const dvar_vector &v)
dvar_vector_position restore_dvar_vector_position()
int indexmax() const
Get maximum valid index.
void save_dvar_vector_value() const
Saves the size, address, and value information for a dvar_vector.
Description not yet available.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvector restore_dvar_vector_value(const dvar_vector_position &tmp)
Restores the size, address, and value information for a dvar_vector.
dvector_position restore_dvector_position()
void save_dvar_vector_position(const dvar_vector &v)
static _THREAD DF_FILE * fp
ivector restore_ivector_value(const ivector_position &tmp)
Description not yet available.
Class definition of matrix with derivitive information .
ivector restore_ivector_value(const ivector_position &tmp)
void fwrite(const void *s, const size_t num_bytes)
Reads num_bytes from s and writes to buffer.
void save_dvar_matrix_value(const dvar_matrix &m)
void fread(void *s, const size_t num_bytes)
Reads num_bytes from buffer and copies to s.
ivector_position restore_ivector_position()
Description not yet available.
dvar_vector_position restore_dvar_vector_position()
Description not yet available.
void save_ivector_value() const
Saves the size, address, and value information for a ivector.
dvector restore_dvector_value(const dvector_position &tmp)
Restores the size, address, and value information for a dvector.
void save_ivector_value(const ivector &v)
double x
< value of the variable
void save_dvector_position() const
Description not yet available.
void save_dvector_value() const
Saves the size, address, and value information for a dvector.