CARLsim  5.0.0
CARLsim: a GPU-accelerated SNN simulator
linear_algebra.cpp File Reference
#include <linear_algebra.h>
#include <cmath>

Go to the source code of this file.

Functions

double dist (Point3D &p1, Point3D &p2)
 
double norm (const Point3D &p)
 
double norm2 (const Point3D &p)
 calculate norm^2 More...
 

Function Documentation

◆ dist()

double dist ( Point3D p1,
Point3D p2 
)

Definition at line 5 of file linear_algebra.cpp.

◆ norm()

double norm ( const Point3D p)
TODO:
maybe move to carlsim_helper.h or something...

Definition at line 14 of file linear_algebra.cpp.

◆ norm2()

double norm2 ( const Point3D p)

Definition at line 9 of file linear_algebra.cpp.