---
name: "tlp_Vector"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/tlp_Vector"
---

# tlp\_Vector(3tulip)

class for mathematical vector

## NAME

tlp::Vector -

class for mathematical vector

## SYNOPSIS

`#include <Vector.h>`

Inherits **tlp::Array\< Obj, SIZE \>**.

### Public Member Functions

VECTOR & **operator\*=** (const Obj &)\
 VECTOR & **operator\*=** (const VECTOR &)\
 VECTOR & **operator/=** (const Obj &)\
 VECTOR & **operator/=** (const VECTOR &)\
 VECTOR & **operator+=** (const Obj &)\
 VECTOR & **operator+=** (const VECTOR &)\
 VECTOR & **operator-=** (const Obj &)\
 VECTOR & **operator-=** (const VECTOR &)\
 VECTOR & **operator^=** (const VECTOR &)\
 VECTOR **operator+** (const VECTOR &) const \
 VECTOR **operator+** (const Obj &) const \
 VECTOR **operator-** (const VECTOR &) const \
 VECTOR **operator-** (const Obj &) const \
 VECTOR **operator/** (const VECTOR &) const \
 VECTOR **operator/** (const Obj &) const \
 VECTOR **operator^** (const VECTOR &) const \
 bool **operator!=** (const VECTOR &) const \
 bool **operator==** (const VECTOR &) const \
 VECTOR & **fill** (const Obj &obj)\
 Obj **norm** () const \
 Obj **dist** (const VECTOR &) const \
 Obj **dotProduct** (const VECTOR &) const \

## Detailed Description

class for mathematical vector

Enables to create a **Vector** of Obj with a limited size and provides Mathematical operation. Mathematical operators must be defined for Obj. Out of bound accesses are only checked in debug mode.

**Author:**

: David Auber auber@tulip-software.org

**Version:**

0\.0.1 24/01/2003

## Member Function Documentation

### Obj tlp::Vector::dist (const VECTOR &) const` [inline]`

### Obj tlp::Vector::dotProduct (const VECTOR &) const` [inline]`

### VECTOR& tlp::Vector::fill (const Obj & obj)` [inline]`

### Obj tlp::Vector::norm () const` [inline]`

### bool tlp::Vector::operator!= (const VECTOR &) const` [inline]`

### VECTOR& tlp::Vector::operator\*= (const VECTOR &)` [inline]`

### VECTOR& tlp::Vector::operator\*= (const Obj &)` [inline]`

Reimplemented in **tlp::Matrix\< Obj, SIZE \>**.

### VECTOR tlp::Vector::operator+ (const Obj &) const` [inline]`

### VECTOR tlp::Vector::operator+ (const VECTOR &) const` [inline]`

### VECTOR& tlp::Vector::operator+= (const VECTOR &)` [inline]`

### VECTOR& tlp::Vector::operator+= (const Obj &)` [inline]`

### VECTOR tlp::Vector::operator- (const Obj &) const` [inline]`

### VECTOR tlp::Vector::operator- (const VECTOR &) const` [inline]`

### VECTOR& tlp::Vector::operator-= (const VECTOR &)` [inline]`

### VECTOR& tlp::Vector::operator-= (const Obj &)` [inline]`

### VECTOR tlp::Vector::operator/ (const Obj &) const` [inline]`

Reimplemented in **tlp::Matrix\< Obj, SIZE \>**.

### VECTOR tlp::Vector::operator/ (const VECTOR &) const` [inline]`

### VECTOR& tlp::Vector::operator/= (const VECTOR &)` [inline]`

### VECTOR& tlp::Vector::operator/= (const Obj &)` [inline]`

Reimplemented in **tlp::Matrix\< Obj, SIZE \>**.

### bool tlp::Vector::operator== (const VECTOR &) const` [inline]`

### VECTOR tlp::Vector::operator^ (const VECTOR &) const` [inline]`

### VECTOR& tlp::Vector::operator^= (const VECTOR &)` [inline]`

## Author

Generated automatically by Doxygen for Tulip Graph Library from the source code.
