---
name: "graphmat++"
section: "3"
platform: "linux"
package: "libclippoly-dev"
version: "0.11-8"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/graphmat++"
---

# graphmat++(3)

Syntatic simple interface to graphmat.

## NAME

\-, +, len - Syntatic simple interface to graphmat.

```

```

## SYNOPSIS

```
#include <graphmat++.h>
```

**hvec2\_t operator-(const hvec2\_t &)**

**hvec2\_t operator-(const hvec2\_t &, const hvec2\_t &)**

**hvec2\_t operator+(const hvec2\_t &, const hvec2\_t &)**

**hvec2\_t operator\*(const hmat2\_t &, const hvec2\_t &)**

**hvec2\_t operator\*(double, const hvec2\_t &)**

**hvec2\_t operator/(const hvec2\_t &, double)**

**const hvec2\_t &operator+=(hvec2\_t &, const hvec2\_t &)**

**const hvec2\_t &operator-=(hvec2\_t &, const hvec2\_t &)**

**const hvec2\_t &operator\*=(hvec2\_t &, double)**

**const hvec2\_t &operator/=(hvec2\_t &, double)**

**double len(const hvec2\_t &)**

## DESCRIPTION

These routines ar an addition to grapmat(3).  Actually, it are just some inline calls to the [graphmat(3)](/graphmat/3.md) equivalents.

## SEE ALSO

[graphmat(3)](/graphmat/3.md), [graphadd(3)](/graphadd/3.md), Graphics and matrix routines.

## NOTE

Only available in C++\
 Code is in the C++ util files.

A lot more should be implemented! (It's easy, any volunteers? :-) Also the hvec3\_t and hmat\* versions should exsist.

## AUTHOR

Klamer Schutte
