NGSolve  4.9
Public Types | Public Member Functions
ngbla::Vector< T > Class Template Reference

A Vector class with memory allocation/deallocation. More...

#include <vector.hpp>

Inheritance diagram for ngbla::Vector< T >:
ngbla::FlatVector< T > ngbla::CMCPMatExpr< FlatVector< T > > ngbla::MatExpr< FlatVector< T > > ngbla::Expr< FlatVector< T > >

List of all members.

Public Types

typedef mat_traits< T >::TSCAL TSCAL
 scalar of element type

Public Member Functions

 Vector ()
 default constructor
 Vector (int as)
 allocate vector
 Vector (const Vector &v2)
 allocate and copy matrix
template<typename TB >
 Vector (const Expr< TB > &v2)
 allocate and compute
 ~Vector ()
 deallocate vector
Vectoroperator= (TSCAL scal)
 set vector to constant values
void SetSize (int as)
 set vector size
template<typename TB >
Vectoroperator= (const Expr< TB > &v)
 evaluate matrix expression
Vectoroperator= (const Vector &v2)

Detailed Description

template<typename T = double>
class ngbla::Vector< T >

A Vector class with memory allocation/deallocation.


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