glucat 0.12.0
|
#include "glucat/glucat_config.h"
#include "glucat/glucat.h"
#include "glucat/glucat_imp.h"
#include <iostream>
#include <sstream>
#include <iomanip>
#include <limits>
Go to the source code of this file.
Namespaces | |
namespace | cga3 |
Definitions for 3D Conformal Geometric Algebra [DL]. | |
Typedefs | |
using | String = std::string |
using | IndexSet = index_set<lo_ndx, hi_ndx> |
using | scalar_t = double |
using | Clifford = matrix_multi<scalar_t,lo_ndx, hi_ndx,tuning_promoted> |
Functions | |
template<typename Scalar_T > | |
PyObject * | PyFloat_FromDouble (Scalar_T v) |
template<typename Index_Set_T > | |
String | index_set_to_repr (const Index_Set_T &ist) |
The “official” string representation of Index_Set_T ist. | |
template<typename Index_Set_T > | |
String | index_set_to_str (const Index_Set_T &ist) |
The "informal" string representation of Index_Set_T ist. | |
template<typename Multivector_T > | |
String | clifford_to_repr (const Multivector_T &mv) |
The “official” string representation of Multivector_T mv. | |
template<typename Multivector_T > | |
String | clifford_to_str (const Multivector_T &mv) |
The "informal" string representation of Multivector_T mv. | |
template<typename Multivector_T > | |
Multivector_T | cga3::cga3 (const Multivector_T &x) |
Convert Euclidean 3D vector to Conformal Geometric Algebra null vector [DL (10.50)]. | |
template<typename Multivector_T > | |
Multivector_T | cga3::cga3std (const Multivector_T &X) |
Convert CGA3 null vector to standard Conformal Geometric Algebra null vector [DL (10.52)]. | |
template<typename Multivector_T > | |
Multivector_T | cga3::agc3 (const Multivector_T &X) |
Convert CGA3 null vector to Euclidean 3D vector [DL (10.50)]. | |
Variables | |
String | glucat_package_version = GLUCAT_PACKAGE_VERSION |
const index_t | lo_ndx = DEFAULT_LO |
const index_t | hi_ndx = DEFAULT_HI |
const scalar_t | epsilon = std::numeric_limits<scalar_t>::epsilon() |
using Clifford = matrix_multi<scalar_t,lo_ndx, hi_ndx,tuning_promoted> |
Definition at line 148 of file PyClical.h.
using scalar_t = double |
Definition at line 147 of file PyClical.h.
using String = std::string |
Definition at line 51 of file PyClical.h.
|
inline |
The “official” string representation of Multivector_T mv.
Definition at line 75 of file PyClical.h.
Referenced by PyClical.clifford::__repr__().
|
inline |
The "informal" string representation of Multivector_T mv.
Definition at line 86 of file PyClical.h.
References glucat::abs().
Referenced by PyClical.clifford::__str__().
|
inline |
The “official” string representation of Index_Set_T ist.
Definition at line 57 of file PyClical.h.
Referenced by PyClical.index_set::__repr__().
|
inline |
The "informal" string representation of Index_Set_T ist.
Definition at line 66 of file PyClical.h.
Referenced by PyClical.index_set::__str__().
|
inline |
Create a PyFloatObject object from Scalar_T v. Needed because Scalar_T might not be the same as double.
Definition at line 45 of file PyClical.h.
Definition at line 150 of file PyClical.h.
Referenced by glucat::cascade_log(), and glucat::matrix::classify_eigenvalues().
String glucat_package_version = GLUCAT_PACKAGE_VERSION |
Definition at line 53 of file PyClical.h.
const index_t hi_ndx = DEFAULT_HI |
Definition at line 144 of file PyClical.h.
const index_t lo_ndx = DEFAULT_LO |
Definition at line 143 of file PyClical.h.