Object-oriented Scientific Computing Library: Version 0.910
Data Structures | Typedefs | Functions
ovector_tlate.h File Reference

File for definitions of vectors. More...

#include <iostream>
#include <cstdlib>
#include <cmath>
#include <string>
#include <fstream>
#include <sstream>
#include <vector>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_sys.h>
#include <o2scl/err_hnd.h>
#include <o2scl/string_conv.h>
#include <o2scl/uvector_tlate.h>
#include <o2scl/array.h>
#include <o2scl/vector.h>

Go to the source code of this file.


Detailed Description

Idea for Future:
Clean up maybe by moving, for example, ovector reverse classes to a different header file
Idea for Future:
Define ovector_uint classes?

Definition in file ovector_tlate.h.

Data Structures

class  gsl_vector_norm
 Norm object for gsl vectors. More...
class  ovector_const_view_tlate< data_t, vparent_t, block_t >
 A const vector view with finite stride. More...
class  ovector_const_view_tlate< data_t, vparent_t, block_t >::const_iterator
 A const iterator for ovectors. More...
class  ovector_const_view_tlate< data_t, vparent_t, block_t >::iterator
 An iterator for ovectors. More...
class  ovector_base_tlate< data_t, vparent_t, block_t >
 A base class for ovector and ovector_view. More...
class  ovector_view_tlate< data_t, vparent_t, block_t >
 A vector view with finite stride. More...
class  ovector_tlate< data_t, vparent_t, block_t >
 A vector with finite stride. More...
class  ovector_array_tlate< data_t, vparent_t, block_t >
 Create a vector from an array. More...
class  ovector_array_stride_tlate< data_t, vparent_t, block_t >
 Create a vector from an array with a stride. More...
class  ovector_subvector_tlate< data_t, vparent_t, block_t >
 Create a vector from a subvector of another. More...
class  ovector_const_array_tlate< data_t, vparent_t, block_t >
 Create a const vector from an array. More...
class  ovector_const_array_stride_tlate< data_t, vparent_t, block_t >
 Create a const vector from an array with a stride. More...
class  ovector_const_subvector_tlate< data_t, vparent_t, block_t >
 Create a const vector from a subvector of another vector. More...
class  ovector_alloc
 A simple class to provide an allocate() function for ovector. More...
class  ovector_int_alloc
 A simple class to provide an allocate() function for ovector_int. More...
class  ofvector< N >
 A vector where the memory allocation is performed in the constructor. More...

Typedefs

typedef ovector_tlate< double,
gsl_vector_norm, gsl_block > 
ovector
 ovector typedef
typedef ovector_base_tlate
< double, gsl_vector_norm,
gsl_block > 
ovector_base
 ovector_base typedef
typedef ovector_view_tlate
< double, gsl_vector_norm,
gsl_block > 
ovector_view
 ovector_view typedef
typedef
ovector_const_view_tlate
< double, gsl_vector_norm,
gsl_block > 
ovector_const_view
 ovector_const_view typedef
typedef ovector_array_tlate
< double, gsl_vector_norm,
gsl_block > 
ovector_array
 ovector_array typedef
typedef
ovector_array_stride_tlate
< double, gsl_vector_norm,
gsl_block > 
ovector_array_stride
 ovector_array_stride typedef
typedef
ovector_subvector_tlate
< double, gsl_vector_norm,
gsl_block > 
ovector_subvector
 ovector_subvector typedef
typedef
ovector_const_array_tlate
< double, gsl_vector_norm,
gsl_block > 
ovector_const_array
 ovector_const_array typedef
typedef
ovector_const_array_stride_tlate
< double, gsl_vector_norm,
gsl_block > 
ovector_const_array_stride
 ovector_const_array_stride typedef
typedef
ovector_const_subvector_tlate
< double, gsl_vector_norm,
gsl_block > 
ovector_const_subvector
 ovector_const_subvector typedef
typedef ovector_tlate< int,
gsl_vector_int, gsl_block_int > 
ovector_int
 ovector_int typedef
typedef ovector_base_tlate
< int, gsl_vector_int,
gsl_block_int > 
ovector_int_base
 ovector_int_base typedef
typedef ovector_view_tlate
< int, gsl_vector_int,
gsl_block_int > 
ovector_int_view
 ovector_int_view typedef
typedef
ovector_const_view_tlate< int,
gsl_vector_int, gsl_block_int > 
ovector_int_const_view
 ovector_int_const_base typedef
typedef ovector_array_tlate
< int, gsl_vector_int,
gsl_block_int > 
ovector_int_array
 ovector_int_array typedef
typedef
ovector_array_stride_tlate
< int, gsl_vector_int,
gsl_block_int > 
ovector_int_array_stride
 ovector_int_array_stride typedef
typedef
ovector_subvector_tlate< int,
gsl_vector_int, gsl_block_int > 
ovector_int_subvector
 ovector_int_subvector typedef
typedef
ovector_const_array_tlate< int,
gsl_vector_int, gsl_block_int > 
ovector_int_const_array
 ovector_int_const_array typedef
typedef
ovector_const_array_stride_tlate
< int, gsl_vector_int,
gsl_block_int > 
ovector_int_const_array_stride
 ovector_int_const_array_stride typedef
typedef
ovector_const_subvector_tlate
< int, gsl_vector_int,
gsl_block_int > 
ovector_int_const_subvector
 ovector_int_const_subvector typedef

Functions

template<class data_t , class vparent_t , class block_t >
std::ostream & operator<< (std::ostream &os, const ovector_const_view_tlate< data_t, vparent_t, block_t > &v)
 A operator for naive vector output.

Function Documentation

template<class data_t , class vparent_t , class block_t >
std::ostream& operator<< ( std::ostream &  os,
const ovector_const_view_tlate< data_t, vparent_t, block_t > &  v 
)

This outputs all of the vector elements. All of these are separated by one space character, though no trailing space or endl is sent to the output. If the vector is empty, nothing is done.

Definition at line 1845 of file ovector_tlate.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.