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
-
explicit Vector(int as)
- allocate vector
-
~Vector()
- deallocate vector
-
Vector& operator= (TSCAL scal)
- set vector to constant values
-
void SetSize(int as)
- set vector size
-
template<typename TB> Vector& operator= (const Expr<TB> & v)
- evaluate matrix expression
Public Fields
-
typedef typename mat_traits<T>: :TSCAL TSCAL
Public Methods
-
void AssignMemory(int as, LocalHeap & lh)
-
void AssignMemory(int as, T* mem)
-
TELEM& operator() (int i) const
-
const TELEM& operator() (int i, int j) const
-
TELEM& operator() (int i, int j)
-
TELEM& operator[] (int i) const
-
int Size() const
-
int Height() const
-
int Width() const
-
SliceVector<T> Slice(int first, int dist)
-
const SliceVector<T> Slice(int first, int dist) const
-
const void* Data() const
-
void* Data()
Public Members
-
typedef T TELEM
-
sub-vector of size next-first, starting at first
Protected Fields
-
int s
-
T* data
Inherited from MatExpr:
Inherited from Expr:
Public Methods
-
T& Spec()
-
const T& Spec() const
explicit Vector(int as)
- allocate vector
~Vector()
- deallocate vector
Vector& operator= (TSCAL scal)
- set vector to constant values
void SetSize(int as)
- set vector size
template<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++.