Sign in Join
FPDoc Onlineexperiment

Tvector2_double object

In unit matrix

Double precision vector of two scalars.

Declaration

pascal
Tvector2_double = class

Description

The Tvector2_double object provides a vector of two double precision scalars.

Methods

init_zeroInitializes the vector and sets its elements to zero.
init_oneInitializes the vector and sets its elements to one.
initInitializes the vector, setting its elements to the values passed to the constructor.
lengthCalculates the length of the vector.
squared_lengthCalculates the squared length of the vector.

Fields

dataInternal data of Tvector2.double.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.