IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Old.Vector_OldNumerics< ComponentType > Class Template Referenceabstract
+ Inheritance diagram for IG.Old.Vector_OldNumerics< ComponentType >:

Public Member Functions

 Vector_OldNumerics (int dim1, ComponentType comp)
 
 Vector_OldNumerics (ComponentType[] array)
 
void Init (int dim)
 Initializes a matrix with dimendions dim1 and dim2. More...
 
void Init (int dim, ComponentType comp)
 Initializes a vector with dimendion length and sets all vec to comp. More...
 
void Init (ComponentType[] array)
 Initializes a vector with dimendion length and sets all vec to comp. More...
 
void Init (Vector_OldNumerics< ComponentType > v)
 Initializes a vector with dimendion length and sets all vec to comp. More...
 
override string ToString ()
 Redefinition of Tostring(), converts a vector to string representation. More...
 
void Add (Vector_OldNumerics< ComponentType > a)
 XVector addition. More...
 
void Subtract (Vector_OldNumerics< ComponentType > a)
 XVector subtraction. More...
 
void Multiply (ComponentType scalar)
 Multiplication of a vector by a scalar. More...
 
ComponentType RightScalarProduct (Vector_OldNumerics< ComponentType > a)
 Right scalar product. More...
 
ComponentType LeftScalarProduct (Vector_OldNumerics< ComponentType > a)
 Right scalar product. More...
 

Static Public Member Functions

static ComponentType[] Copy (Vector_OldNumerics< ComponentType > v)
 
static void Example ()
 

Protected Member Functions

 Vector_OldNumerics ()
 
abstract ComponentType Add (ComponentType a, ComponentType b)
 
abstract ComponentType Subtract (ComponentType a, ComponentType b)
 
abstract ComponentType Multiply (ComponentType a, ComponentType b)
 
abstract ComponentType Divide (ComponentType a, ComponentType b)
 
abstract ComponentType Negative (ComponentType a)
 
abstract ComponentType Inverse (ComponentType a)
 
abstract ComponentType Conjugate (ComponentType a)
 

Protected Attributes

int _dim
 
ComponentType[] _tab
 

Properties

int Dimension [get]
 Returns vector dimension. More...
 
int Dimension2 [get]
 Returns vector dimension. More...
 
int d [get]
 Synonyme for Dimension, returns vector dimension. More...
 
virtual ComponentType this[int ind] [get, set]
 Gets or sets a specific vector componene. More...
 
abstract ComponentType Zero [get]
 

Constructor & Destructor Documentation

IG.Old.Vector_OldNumerics< ComponentType >.Vector_OldNumerics ( )
inlineprotected
IG.Old.Vector_OldNumerics< ComponentType >.Vector_OldNumerics ( int  dim1,
ComponentType  comp 
)
inline
IG.Old.Vector_OldNumerics< ComponentType >.Vector_OldNumerics ( ComponentType[]  array)
inline

Member Function Documentation

void IG.Old.Vector_OldNumerics< ComponentType >.Init ( int  dim)
inline

Initializes a matrix with dimendions dim1 and dim2.

Parameters
dim1Number of rows.
dim2Number of columns.
void IG.Old.Vector_OldNumerics< ComponentType >.Init ( int  dim,
ComponentType  comp 
)
inline

Initializes a vector with dimendion length and sets all vec to comp.

Parameters
lengthXVector dimension.
void IG.Old.Vector_OldNumerics< ComponentType >.Init ( ComponentType[]  array)
inline

Initializes a vector with dimendion length and sets all vec to comp.

Parameters
lengthXVector dimension.
void IG.Old.Vector_OldNumerics< ComponentType >.Init ( Vector_OldNumerics< ComponentType >  v)
inline

Initializes a vector with dimendion length and sets all vec to comp.

Parameters
lengthXVector dimension.

References IG.Old.Vector_OldNumerics< ComponentType >.Dimension.

static ComponentType [] IG.Old.Vector_OldNumerics< ComponentType >.Copy ( Vector_OldNumerics< ComponentType >  v)
inlinestatic
override string IG.Old.Vector_OldNumerics< ComponentType >.ToString ( )
inline

Redefinition of Tostring(), converts a vector to string representation.

Returns

Referenced by IG.Old.Vector_OldNumerics< ComponentType >.Example().

abstract ComponentType IG.Old.Vector_OldNumerics< ComponentType >.Add ( ComponentType  a,
ComponentType  b 
)
protectedpure virtual
abstract ComponentType IG.Old.Vector_OldNumerics< ComponentType >.Subtract ( ComponentType  a,
ComponentType  b 
)
protectedpure virtual
abstract ComponentType IG.Old.Vector_OldNumerics< ComponentType >.Multiply ( ComponentType  a,
ComponentType  b 
)
protectedpure virtual
abstract ComponentType IG.Old.Vector_OldNumerics< ComponentType >.Divide ( ComponentType  a,
ComponentType  b 
)
protectedpure virtual
abstract ComponentType IG.Old.Vector_OldNumerics< ComponentType >.Negative ( ComponentType  a)
protectedpure virtual
abstract ComponentType IG.Old.Vector_OldNumerics< ComponentType >.Inverse ( ComponentType  a)
protectedpure virtual
abstract ComponentType IG.Old.Vector_OldNumerics< ComponentType >.Conjugate ( ComponentType  a)
protectedpure virtual
void IG.Old.Vector_OldNumerics< ComponentType >.Add ( Vector_OldNumerics< ComponentType >  a)
inline
void IG.Old.Vector_OldNumerics< ComponentType >.Subtract ( Vector_OldNumerics< ComponentType >  a)
inline
void IG.Old.Vector_OldNumerics< ComponentType >.Multiply ( ComponentType  scalar)
inline

Multiplication of a vector by a scalar.

ComponentType IG.Old.Vector_OldNumerics< ComponentType >.RightScalarProduct ( Vector_OldNumerics< ComponentType >  a)
inline
ComponentType IG.Old.Vector_OldNumerics< ComponentType >.LeftScalarProduct ( Vector_OldNumerics< ComponentType >  a)
inline

Right scalar product.

References IG.Old.Vector_OldNumerics< ComponentType >.Dimension, and Zero.

static void IG.Old.Vector_OldNumerics< ComponentType >.Example ( )
inlinestatic

Member Data Documentation

int IG.Old.Vector_OldNumerics< ComponentType >._dim
protected
ComponentType [] IG.Old.Vector_OldNumerics< ComponentType >._tab
protected

Property Documentation

int IG.Old.Vector_OldNumerics< ComponentType >.Dimension2
get

Returns vector dimension.

int IG.Old.Vector_OldNumerics< ComponentType >.d
get

Synonyme for Dimension, returns vector dimension.

virtual ComponentType IG.Old.Vector_OldNumerics< ComponentType >.this[int ind]
getset

Gets or sets a specific vector componene.

Parameters
indComponent index running from 0 to l-1.
Returns
a referance to a component for a reference type ComponentType or its value for value types.
abstract ComponentType IG.Old.Vector_OldNumerics< ComponentType >.Zero
getprotected

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