Psi4
Namespaces | Macros | Functions
v3d.h File Reference

Functions for real-space vectors of length 3. More...

#include "package.h"
#include <cmath>

Go to the source code of this file.

Namespaces

 opt
 
 opt::v3d
 

Macros

#define V3D_SQR(x)   ((x)*(x))
 
#define PARALLEL_LIMIT   (1.0e-10)
 

Functions

void opt::v3d::v3d_scm (const double a, double *A)
 
double opt::v3d::v3d_norm (const double *A)
 
double opt::v3d::v3d_dot (const double *A, const double *B)
 
double opt::v3d::v3d_dist (const double *A, const double *B)
 
void opt::v3d::v3d_axpy (const double a, const double *X, const double *Y, double *Z)
 
bool opt::v3d::v3d_normalize (double *A, const double min_norm=1.0e-8, const double max_norm=1.0e8)
 
void opt::v3d::v3d_cross_product (const double *u, const double *v, double *X)
 
bool opt::v3d::v3d_is_parallel (const double *A, const double *B)
 
bool opt::v3d::v3d_eAB (const double *A, const double *B, double *eAB, const double min_norm=1.0e-8, const double max_norm=1.0e15)
 
bool opt::v3d::v3d_angle (const double *A, const double *B, const double *C, double &phi, double tol)
 
bool opt::v3d::v3d_tors (const double *A, const double *B, const double *C, const double *D, double &tau)
 
bool opt::v3d::v3d_oofp (const double *A, const double *B, const double *C, const double *D, double &oop_angle)
 

Detailed Description

Functions for real-space vectors of length 3.

Macro Definition Documentation

#define PARALLEL_LIMIT   (1.0e-10)
#define V3D_SQR (   x)    ((x)*(x))