In file vector.hpp:

template<typename T = double> class Vector

A Vector class with memory allocation/deallocation

Documentation

A Vector class with memory allocation/deallocation

Inheritance:


Public Methods

[more]explicit Vector(int as)
allocate vector
[more] ~Vector()
deallocate vector
[more]Vector& operator= (TSCAL scal)
set vector to constant values
[more]void SetSize(int as)
set vector size
[more]template<typename TB> Vector& operator= (const Expr<TB> & v)
evaluate matrix expression


Inherited from FlatVector:

Public Fields

otypedef typename mat_traits<T>: :TSCAL TSCAL

Public Methods

ovoid AssignMemory(int as, LocalHeap & lh)
ovoid AssignMemory(int as, T* mem)
oTELEM& operator() (int i) const
oconst TELEM& operator() (int i, int j) const
oTELEM& operator() (int i, int j)
oTELEM& operator[] (int i) const
oint Size() const
oint Height() const
oint Width() const
oSliceVector<T> Slice(int first, int dist)
oconst SliceVector<T> Slice(int first, int dist) const
oconst void* Data() const
ovoid* Data()

Public Members

otypedef T TELEM
o sub-vector of size next-first, starting at first

Protected Fields

oint s
oT* data


Inherited from MatExpr:


Inherited from Expr:

Public Methods

oT& Spec()
oconst T& Spec() const

oexplicit Vector(int as)
allocate vector

o ~Vector()
deallocate vector

oVector& operator= (TSCAL scal)
set vector to constant values

ovoid SetSize(int as)
set vector size

otemplate<typename TB> Vector& operator= (const Expr<TB> & v)
evaluate matrix expression


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.