Class TVector

DescriptionHierarchyFieldsMethodsProperties

Unit

Matrices

Declaration

type TVector = class(TObject)

Description

Class implementing a vector of floating point values. See also TIntegerVector.

Hierarchy

TVector > TObject

Methods

Overview

Public constructor Create(nelements: integer); overload;
Public constructor CreateAndSet(v: TVector);
Public destructor Destroy; override;
Public procedure AppendElement(Value: real);
Public procedure Assign(V: TVector);
Public function AsString(Separator: Char): string;
Public function Average: real;
Public function Dot(Vector: TVector): real;
Public function Maximum: real;
Public procedure SetEqual(Value: real);
Public procedure SetRandom(Min,Max: real);
Public procedure SetSize(NumberOfElements: integer);
Public procedure SetToZero;
Public procedure SetUniformRandom(NumElements, Seed: integer; Min, Max: real);
Public function StandardDeviation: real;
Public function SumElements: real;

Description

Public constructor Create(nelements: integer); overload;
 
Public constructor CreateAndSet(v: TVector);
 
Public destructor Destroy; override;
 
Public procedure AppendElement(Value: real);
 
Public procedure Assign(V: TVector);
 
Public function AsString(Separator: Char): string;
 
Public function Average: real;
 
Public function Dot(Vector: TVector): real;
 
Public function Maximum: real;
 
Public procedure SetEqual(Value: real);
 
Public procedure SetRandom(Min,Max: real);
 
Public procedure SetSize(NumberOfElements: integer);
 
Public procedure SetToZero;
 
Public procedure SetUniformRandom(NumElements, Seed: integer; Min, Max: real);
 
Public function StandardDeviation: real;
 
Public function SumElements: real;
 

Properties

Overview

Public property M[i: integer]: real;
Public property NumberOfElements: integer;

Description

Public property M[i: integer]: real;
 
Public property NumberOfElements: integer;
 
Generated by PasDoc 0.8.8.3 on 2005-05-28 08:13:49