Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SparseVec.h File Reference

#include "vl/VL.h"
#include "vl/Vec.h"
#include "vl/SubSVec.h"
#include "cl/Array.h"
#include <iostream.h>

Include dependency graph for SparseVec.h:

Go to the source code of this file.

Compounds

class  TSparsePair
class  TSparseVec
class  TSVIter

Defines

#define TSVList   Array< TSparsePair >

Functions

TSparseVecoperator+= (TSparseVec &a, const TSparseVec &b)
TSparseVecoperator-= (TSparseVec &a, const TSparseVec &b)
TSparseVecoperator *= (TSparseVec &a, const TSparseVec &b)
TSparseVecoperator *= (TSparseVec &v, TVReal s)
TSparseVecoperator/= (TSparseVec &a, const TSparseVec &b)
TSparseVecoperator/= (TSparseVec &v, TVReal s)
Bool operator== (const TSparseVec &a, const TSparseVec &b)
Bool operator!= (const TSparseVec &a, const TSparseVec &b)
TSparseVec operator+ (const TSparseVec &a, const TSparseVec &b)
TSparseVec operator- (const TSparseVec &a, const TSparseVec &b)
TSparseVec operator- (const TSparseVec &v)
TSparseVec operator * (const TSparseVec &a, const TSparseVec &b)
TSparseVec operator * (const TSparseVec &v, TVReal s)
TSparseVec operator/ (const TSparseVec &a, const TSparseVec &b)
TSparseVec operator/ (const TSparseVec &v, TVReal s)
TSparseVec operator * (TVReal s, const TSparseVec &v)
TVReal dot (const TSparseVec &a, const TSparseVec &b)
TVReal dot (const TSparseVec &a, const TVec &b)
TVReal len (const TSparseVec &v)
TVReal sqrlen (const TSparseVec &v)
TSparseVec norm (const TSparseVec &v)
ostream& operator<< (ostream &s, const TSparseVec &v)
istream& operator>> (istream &s, TSparseVec &v)


Define Documentation

#define TSVList   Array< TSparsePair >

Definition at line 20 of file SparseVec.h.


Function Documentation

TVReal dot (const TSparseVec & a, const TVec & b)

Definition at line 497 of file SparseVec.cc.

TVReal dot (const TSparseVec & a, const TSparseVec & b)

Definition at line 482 of file SparseVec.cc.

TVReal len (const TSparseVec & v)

Definition at line 526 of file SparseVec.cc.

TSparseVec norm (const TSparseVec & v)

Definition at line 531 of file SparseVec.cc.

TSparseVec operator * (TVReal s, const TSparseVec & v)

Definition at line 510 of file SparseVec.cc.

TSparseVec operator * (const TSparseVec & v, TVReal s)

Definition at line 441 of file SparseVec.cc.

TSparseVec operator * (const TSparseVec & v, const TSparseVec & b)

Definition at line 425 of file SparseVec.cc.

TSparseVec & operator *= (TSparseVec & v, TVReal s)

Definition at line 223 of file SparseVec.cc.

TSparseVec & operator *= (TSparseVec & v, const TSparseVec & b)

Definition at line 216 of file SparseVec.cc.

Bool operator!= (const TSparseVec & a, const TSparseVec & b)

Definition at line 266 of file SparseVec.cc.

TSparseVec operator+ (const TSparseVec & a, const TSparseVec & b)

Definition at line 353 of file SparseVec.cc.

TSparseVec & operator+= (TSparseVec & a, const TSparseVec & b)

Definition at line 202 of file SparseVec.cc.

TSparseVec operator- (const TSparseVec & v)

Definition at line 413 of file SparseVec.cc.

TSparseVec operator- (const TSparseVec & a, const TSparseVec & b)

Definition at line 387 of file SparseVec.cc.

TSparseVec & operator-= (TSparseVec & a, const TSparseVec & b)

Definition at line 209 of file SparseVec.cc.

TSparseVec operator/ (const TSparseVec & v, TVReal s)

Definition at line 469 of file SparseVec.cc.

TSparseVec operator/ (const TSparseVec & v, const TSparseVec & b)

Definition at line 453 of file SparseVec.cc.

TSparseVec & operator/= (TSparseVec & v, TVReal s)

Definition at line 237 of file SparseVec.cc.

TSparseVec & operator/= (TSparseVec & v, const TSparseVec & b)

Definition at line 230 of file SparseVec.cc.

ostream & operator<< (ostream & s, const TSparseVec & v)

Definition at line 547 of file SparseVec.cc.

Bool operator== (const TSparseVec & a, const TSparseVec & b)

Definition at line 248 of file SparseVec.cc.

istream & operator>> (istream & s, TSparseVec & v)

Definition at line 581 of file SparseVec.cc.

TVReal sqrlen (const TSparseVec & v)

Definition at line 515 of file SparseVec.cc.


Generated at Sat Aug 5 00:16:48 2000 for Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000