#include <vector.h>
Public Types | |
| typedef double | value_type |
| typedef value_type& | reference |
| typedef const reference | const_reference |
| typedef value_type* | iterator |
| typedef const value_type* | const_iterator |
| typedef int | difference_type |
| typedef int | size_type |
Public Methods | |
| real_vector (const v_index_mode t=Index_1) | |
| real_vector (const int n, const v_index_mode t=Index_1) | |
| real_vector (const real_vector &v1) | |
| real_vector (double *const ptr, const int n, const v_index_mode t) | |
| ~real_vector (void) | |
| int | minindex (void) const |
| int | maxindex (void) const |
| int | maxindex (int n) |
| int | maximize (void) |
| real_vector& | shrink (double s) |
| int | is_empty () const |
| real_vector& | make_empty () |
| real_vector& | reindex (const v_index_mode) |
| double | read (const int i) const |
| double& | get (const int i) |
| const double& | get (const int i) const |
| double& | operator[] (const int i) |
| const double& | operator[] (const int i) const |
| real_vector& | copy (const real_vector &v1) |
| real_vector& | operator= (const real_vector &v1) |
| real_vector& | reallocate (const int n, const v_index_mode t) |
| real_vector& | reallocate (const int n) |
| real_vector& | resize (const int Max) |
| real_vector& | resize (const real_vector &v) |
| real_vector& | resize (const complex_vector &v) |
| real_vector& | clean (void) |
| real_vector& | fill (const double s) |
| real_vector& | operator= (const double s) |
| real_vector& | fillall (const double s) |
| real_vector& | unit (int n) |
| int | findmax () const |
| real_vector& | swap (const int n, const int m) |
| real_vector& | apply (double(*f)(double)) |
| real_vector& | apply (double(*f)(const double &x)) |
| real_vector& | apply (double(*f)(double, int)) |
| real_vector& | apply (double(*f)(const double &, int)) |
| real_vector& | operator+= (const double s) |
| real_vector& | operator-= (const double s) |
| real_vector& | operator *= (const double s) |
| real_vector& | operator/= (const double s) |
| real_vector& | operator+= (const real_vector &v1) |
| real_vector& | operator-= (const real_vector &v1) |
| real_vector& | real (const complex_vector &v) |
| real_vector& | imaginary (const complex_vector &v) |
| real_vector& | show (ostream &) |
| real_vector& | show (void) |
| const real_vector& | show (ostream &) const |
| const real_vector& | show (void) const |
| bool | empty () const |
| int | capacity () const |
| void | reserve (int n) |
| double& | front () |
| const double& | front () const |
| double& | back () |
| const double& | back () const |
| void | push_back (double s) |
| void | pop_back () |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
Public Attributes | |
| const int& | size |
| const v_index_mode& | mode |
Static Public Methods | |
| string | out_separator () |
| string | out_separator (const string &) |
| string | out_separator (const char *const) |
| string | out_separator (const char) |
Private Methods | |
| void | construct (const int n, const v_index_mode t) |
| void | constfill (const double f) |
Private Attributes | |
| int | internal_size |
| v_index_mode | internal_mode |
| int | maxindexvalue |
| int | minindexvalue |
| double* | data |
| double* | delete_pointer |
| double | trash |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 341 of file vector.cc. Referenced by copy(), operator+=(), operator-=(), and operator=().
|
|
|
Definition at line 188 of file vector.cc. Referenced by copy(), fill(), fillall(), and real_vector().
|
|
|
Definition at line 136 of file vector.cc. Referenced by operator=(), real_vector(), and reallocate().
|
|
|
Definition at line 398 of file vector.cc. Referenced by operator=(), and reallocate().
|
|
|
Definition at line 762 of file vector.h. Referenced by pop_back(), and reserve().
|
|
|
|
|
|
|
|
|
Definition at line 712 of file vector.h. Referenced by operator=(), and real_matrix::rowswap().
|
|
|
Definition at line 385 of file vector.cc. Referenced by unit().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 682 of file vector.h. Referenced by data_parser::convert(), linterp(), swap(), and unit().
|
|
|
|
|
|
Definition at line 670 of file vector.h. Referenced by complex_vector::copy(), copy(), and empty().
|
|
|
Definition at line 315 of file vector.cc. Referenced by copy(), imaginary(), pop_back(), real(), real_vector(), and reserve().
|
|
|
Definition at line 668 of file vector.h. Referenced by fillall(), operator=(), and newton::solve().
|
|
|
|
|
|
Definition at line 666 of file vector.h. Referenced by clean(), col(), constfill(), data_parser::convert(), complex_vector::copy(), copy(), get(), imaginary(), is_empty(), powell::lambda(), linterp(), max_norm(), maximize(), maxindex(), powell::minimize(), operator *(), operator+(), complex_vector::operator+=(), operator+=(), operator-(), complex_vector::operator-=(), operator-=(), operator<<(), complex_vector::operator=(), operator=(), pop_back(), push_back(), montecarlo::randomize(), read(), real(), real_matrix::real_matrix(), real_vector(), reallocate(), reserve(), complex_vector::resize(), resize(), row(), scalediv(), scalemult(), error_func_parameters::set_parms(), shrink(), and newton::solve().
|
|
|
Definition at line 665 of file vector.h. Referenced by clean(), col(), constfill(), complex_vector::copy(), copy(), get(), imaginary(), is_empty(), powell::lambda(), linterp(), max_norm(), powell::minimize(), operator *(), complex_vector::operator+=(), operator+=(), complex_vector::operator-=(), operator-=(), operator<<(), montecarlo::randomize(), read(), real(), real_matrix::real_matrix(), real_vector(), row(), scalediv(), scalemult(), error_func_parameters::set_parms(), and newton::solve().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 630 of file vector.cc. Referenced by error_func_parameters::vary().
|
|
|
Definition at line 679 of file vector.h. Referenced by real_interp::file(), complex_matrix::fillcol(), real_matrix::fillcol(), complex_matrix::fillrow(), real_matrix::fillrow(), scalediv(), and scalemult().
|
|
|
|
|
|
|
|
|
Definition at line 422 of file vector.cc. Referenced by push_back(), reallocate(), mixer::balancer::rebuild(), reindex(), reserve(), and resize().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 700 of file vector.h. Referenced by col(), data_parser::convert(), imaginary(), linterp(), powell::minimize(), real(), row(), and newton::solve().
|
|
|
|
|
|
|
|
|
Definition at line 105 of file vector.cc. Referenced by show().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Please direct comments and corrections to
supermix@submm.caltech.edu
Go to the supermix home page
Generated by
1.2.7