len(3) 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) equivalents.

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