|
double | sep_rv (rvector v1, rvector v2) |
| Angular separation between row vectors. More...
|
|
svector | s_convert (rvector from) |
| Convert rvector to svector. More...
|
|
rvector | rv_convert (svector from) |
| Convert svector to rvector. More...
|
|
rvector | rv_zero () |
| Zero row order vector. More...
|
|
rvector | rv_unitx (double scale) |
| Scaled x row vector. More...
|
|
rvector | rv_unity (double scale) |
| Scaled y row vector. More...
|
|
rvector | rv_unitz (double scale) |
| Scaled z row vector. More...
|
|
rvector | rv_one () |
| Row vector of ones. More...
|
|
rvector | rv_one (double x, double y, double z) |
| Row vector of values. More...
|
|
rvector | rv_shortest (rvector v) |
| Shortest vector. More...
|
|
rvector | rv_shortest2 (rvector v) |
|
rvector | rv_normal (rvector v) |
| Normalize row order vector. More...
|
|
void | normalize_rv (rvector &v) |
| Normalize row order vector in place. More...
|
|
double | normVector3 (double x, double y, double z) |
| basic function to compute the L2 norm of a 3d generic vector with separate entries More...
|
|
void | normalizeVector3 (double &x, double &y, double &z) |
| basic function to normalize any 3d vector with separate entries More...
|
|
rvector | rv_smult (double a, rvector b) |
| Multiply row vector by scalar. More...
|
|
rvector | rv_sadd (double a, rvector b) |
| Add scalar to each element of vector. More...
|
|
rvector | rv_add (rvector a, rvector b) |
| Add two row vectors. More...
|
|
rvector | rv_sub (rvector a, rvector b) |
| Subtract two vectors. More...
|
|
rvector | rv_div (rvector a, rvector b) |
| Divide two row vectors. More...
|
|
rvector | rv_mult (rvector a, rvector b) |
| Multiply two row vectors. More...
|
|
rvector | rv_cross (rvector a, rvector b) |
| Take cross product of two row vectors. More...
|
|
double | dot_rv (rvector a, rvector b) |
| Dot product of two row vectors. More...
|
|
double | sep_cv (cvector v1, cvector v2) |
| Angular separation between vectors. More...
|
|
cvector | cv_zero () |
| Zero cartesian vector. More...
|
|
cvector | cv_unitx () |
| Unit x vector. More...
|
|
cvector | cv_unity () |
| Unit y vector. More...
|
|
cvector | cv_unitz () |
| Unit z vector. More...
|
|
cvector | cv_one () |
| Vector of ones. More...
|
|
cvector | cv_normal (cvector v) |
| Normalize cartesian vector. More...
|
|
void | normalize_cv (cvector &v) |
| Normalize cartesian vector in place, i.e. divides it by its own norm. More...
|
|
cvector | cv_smult (double a, cvector b) |
| Multiply vector by scalar. More...
|
|
cvector | cv_sadd (double a, cvector b) |
| Add scalar to each element of vector. More...
|
|
cvector | cv_add (cvector a, cvector b) |
| Add two vectors. More...
|
|
cvector | cv_sub (cvector a, cvector b) |
| Subtract two vectors. More...
|
|
cvector | cv_div (cvector a, cvector b) |
| Divide two vectors. More...
|
|
cvector | cv_mult (cvector a, cvector b) |
| Multiply two vectors. More...
|
|
cvector | cv_cross (cvector a, cvector b) |
| Take cross product of two vectors. More...
|
|
double | dot_cv (cvector a, cvector b) |
|
double | length_cv (cvector v) |
|
double | cv_norm (cvector v) |
|
double | norm_cv (cvector v) |
|
double | sum_cv (cvector vec) |
|
cvector | cv_sqrt (cvector a) |
|
bool | equal_rv (rvector v1, rvector v2) |
| Boolean equate of row vetor. More...
|
|
double | length_rv (rvector v) |
| Length of row vector. More...
|
|
double | norm_rv (rvector vec) |
| Infinite norm of row vector. More...
|
|
double | sum_rv (rvector vec) |
| Sum elements of a row vector. More...
|
|
rvector | rv_sqrt (rvector vec) |
| Row vector square root. More...
|
|
std::ostream & | operator<< (std::ostream &out, const rvector &a) |
|
std::ostream & | operator<< (std::ostream &out, const vector< rvector > &a) |
|
std::istream & | operator>> (std::istream &in, rvector &a) |
|
rvector | operator* (rvector v, double scalar) |
|
rvector | operator* (double scalar, rvector v) |
|
rvector | operator* (rvector v1, rvector v2) |
|
rvector | operator/ (rvector v, double scalar) |
|
bool | operator== (rvector a, rvector b) |
|
bool | operator!= (rvector a, rvector b) |
|
std::ostream & | operator<< (std::ostream &out, const cvector &a) |
|
std::istream & | operator>> (std::istream &in, cvector &a) |
|
std::ostream & | operator<< (std::ostream &out, const svector &a) |
|
std::istream & | operator>> (std::istream &in, svector &a) |
|
std::ostream & | operator<< (std::ostream &out, const gvector &a) |
|
std::istream & | operator>> (std::istream &in, gvector &a) |
|
std::ostream & | operator<< (std::ostream &out, const avector &a) |
|
std::istream & | operator>> (std::istream &in, avector &a) |
|
gvector | gv_zero () |
| Zero geodetic vector. More...
|
|
double | norm_q (quaternion q) |
|
void | normalize_q (quaternion *q) |
|
double | sep_q (quaternion q1, quaternion q2) |
| Angular separation between quaternions. More...
|
|
quaternion | q_zero () |
| Zero quaternion. More...
|
|
quaternion | q_conjugate (quaternion q) |
|
quaternion | q_times (quaternion q1, quaternion q2) |
| Multiply the elements of 2 quaternions. More...
|
|
double | inner_q (quaternion q1, quaternion q2) |
| Inner product of two quaternions. More...
|
|
quaternion | q_sqrt (quaternion q1) |
| Square root of the elements of a quaternion. More...
|
|
quaternion | q_fmult (rvector r1, quaternion q2) |
| rvector quaternion multiply More...
|
|
quaternion | q_fmult (quaternion q1, quaternion q2) |
|
quaternion | q_mult (quaternion q1, quaternion q2) |
|
quaternion | q_rmult (quaternion q1, quaternion q2) |
|
quaternion | q_smult (double a, quaternion b) |
| Multiply quaternion by scalar. More...
|
|
quaternion | q_add (quaternion a, quaternion b) |
| Add two quaternions. More...
|
|
quaternion | q_sub (quaternion a, quaternion b) |
| Subtract two quaternions. More...
|
|
void | qrotate (double ipos[3], double rpos[3], double angle, double *opos) |
|
quaternion | q_euler2quaternion (avector rpw) |
|
avector | a_quaternion2euler (quaternion q) |
|
quaternion | q_axis2quaternion_cv (cvector v) |
|
quaternion | q_eye () |
| Identity quaternion. More...
|
|
quaternion | q_identity () |
|
double | length_q (quaternion q) |
| Length of quaternion. More...
|
|
cvector | cv_quaternion2axis (quaternion q) |
|
quaternion | q_change_around_cv (cvector around, double angle) |
| Create rotation quaternion from axis and angle. More...
|
|
quaternion | q_change_around_x (double angle) |
| Rotation quaternion for X axis. More...
|
|
quaternion | q_change_around_y (double angle) |
| Rotation quaternion for Y axis. More...
|
|
quaternion | q_change_around_z (double angle) |
| Rotation quaternion for Z axis. More...
|
|
quaternion | q_change_around (int axis, double angle) |
| Rotation quaternion for indicated axis. More...
|
|
std::ostream & | operator<< (std::ostream &out, const quaternion &a) |
|
std::istream & | operator>> (std::istream &in, quaternion &a) |
|
std::ostream & | operator<< (std::ostream &out, const qcomplex &a) |
|
std::istream & | operator>> (std::istream &in, qcomplex &a) |
|
std::ostream & | operator<< (std::ostream &out, const qlast &a) |
|
std::istream & | operator>> (std::istream &in, qlast &a) |
|
std::ostream & | operator<< (std::ostream &out, const qfirst &a) |
|
std::istream & | operator>> (std::istream &in, qfirst &a) |
|
Vector | Cosmos::Math::Vectors::operator* (const double scale, const Vector &v) |
| Reverse scalar product. More...
|
|
std::ostream & | Cosmos::Math::Vectors::operator<< (std::ostream &out, const Vector &v) |
|
Vector | Cosmos::Math::Vectors::eye (double scale) |
|
Vector | Cosmos::Math::Vectors::unitxV (double scale) |
|
Vector | Cosmos::Math::Vectors::unityV (double scale) |
|
Vector | Cosmos::Math::Vectors::unitzV (double scale) |
|
Quaternion | Cosmos::Math::Quaternions::operator* (const Vectors::Vector &v, const Quaternion &q) |
|
std::ostream & | Cosmos::Math::Quaternions::operator<< (std::ostream &os, const Quaternion &q) |
| Scalar division. More...
|
|
Quaternion | Cosmos::Math::Quaternions::operator* (double scale, const Quaternion &q) |
| Reverse scalar product. More...
|
|
Quaternion | Cosmos::Math::Quaternions::drotate_between (Vectors::Vector a, Vectors::Vector b) |
|
Quaternion | Cosmos::Math::Quaternions::irotate_for (Vectors::Vector sourcea, Vectors::Vector sourceb, Vectors::Vector targeta, Vectors::Vector targetb) |
| Create irotate quaternion from two orthogonal vectors. More...
|
|
Quaternion | Cosmos::Math::Quaternions::drotate_around_x (double angle) |
| Rotation Quaternion for X axis. More...
|
|
Quaternion | Cosmos::Math::Quaternions::drotate_around_y (double angle) |
| Rotation Quaternion for Y axis. More...
|
|
Quaternion | Cosmos::Math::Quaternions::drotate_around_z (double angle) |
| Rotation Quaternion for Z axis. More...
|
|
Quaternion | Cosmos::Math::Quaternions::drotate_around (int axis, double angle) |
| Rotation Quaternion for indicated axis. More...
|
|
Quaternion | Cosmos::Math::Quaternions::eye (double scale) |
|