So-Bogus
A c++ sparse block matrix library aimed at Second Order cone problems
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
bogus::ConstMappedArray< Element > Class Template Reference

Const mapped array, used for Mapped Block Matrices. More...

#include <CppTools.hpp>

Public Types

enum  { is_mutable = 0 }
 
typedef ConstMappedArray< Element > Type
 

Public Member Functions

 ConstMappedArray (const Element *data, std::size_t size)
 
void setData (const Element *data, std::size_t size)
 
const Element * data () const
 
std::size_t size () const
 
bool empty () const
 
const Element * begin () const
 
const Element * end () const
 
const Element & operator[] (std::size_t idx) const
 
void resize (std::size_t s)
 
void reserve (std::size_t)
 
void clear ()
 
void assign (std::size_t s, const Element &)
 

Detailed Description

template<typename Element>
class bogus::ConstMappedArray< Element >

Const mapped array, used for Mapped Block Matrices.


The documentation for this class was generated from the following file: