47 const double vec_y[3]);
53 void t8_vec_ax (
double vec_x[3],
const double alpha);
60 void t8_vec_axy (
const double vec_x[3],
double vec_y[3],
71 void t8_vec_axb (
const double vec_x[3],
double vec_y[3],
72 const double alpha,
const double b);
80 void t8_vec_axpy (
const double vec_x[3],
double vec_y[3],
89 const double vec_y[3],
double vec_z[3],
97 double t8_vec_dot (
const double vec_x[3],
const double vec_y[3]);
105 const double vec_y[3],
double cross[3]);
This is the administrative header file for t8code.
void t8_vec_axy(const double vec_x[3], double vec_y[3], const double alpha)
Compute Y = alpha * X.
Definition: t8_vec.c:56
void t8_vec_axpy(const double vec_x[3], double vec_y[3], const double alpha)
Y = Y + alpha * X.
Definition: t8_vec.c:75
void t8_vec_cross(const double vec_x[3], const double vec_y[3], double cross[3])
Cross product of X and Y.
Definition: t8_vec.c:104
void t8_vec_axb(const double vec_x[3], double vec_y[3], const double alpha, const double b)
Y = alpha * X + b.
Definition: t8_vec.c:65
double t8_vec_dist(const double vec_x[3], const double vec_y[3])
Euclidean distance of X and Y.
Definition: t8_vec.c:37
double t8_vec_dot(const double vec_x[3], const double vec_y[3])
Dot product of X and Y.
Definition: t8_vec.c:93
double t8_vec_norm(const double vec[3])
Vector norm.
Definition: t8_vec.c:26
void t8_vec_axpyz(const double vec_x[3], const double vec_y[3], double vec_z[3], const double alpha)
Z = Y + alpha * X.
Definition: t8_vec.c:84
void t8_vec_ax(double vec_x[3], const double alpha)
Compute X = alpha * X.
Definition: t8_vec.c:48