Algorithmic Solutions > LEDA > LEDA Guide > Number Types > Double Valued Vectors and Matrices


Double Valued Vectors and Matrices

The data type vector (matrix) represents a vector (matrix) of double values.

Example of double valued vectors and matrices

Strengths

  • many useful functions for linear algebra predefined, so direct computation with vectors and matrices is possible
  • very convenient

Disadvantages

  • operations on vectors and matrices incur rounding errors
  • slower than one-dimensional (two-dimensional) C++-arrays

Tips

Use vector (matrix) for linear algebra if you can afford rounding errors, otherwise consider using Vectors and Matrices with Integer Entries or Vectors with Rational Entries.

 

See also:

Vectors and Matrices with Integer Entries

Rational Vectors


Integers of Arbitrary Length

Algebraic Real Numbers

Rational Numbers

Big Floatingpoint Numbers

Floating Point Filter

Interval Arithmetic

Functions of numerical analysis


Manual Entries:

Double Valued Vectors

Double Valued Matrices




Please send any suggestions, comments or questions to leda@algorithmic-solutions.com
© Copyright 2001-2003, Algorithmic Solutions Software GmbH