glucat  0.8.2
Namespaces | Typedefs | Functions | Variables
PyClical.h File Reference
#include "glucat/glucat.h"
#include "glucat/glucat_imp.h"
#include <iostream>
#include <sstream>
#include <iomanip>
Include dependency graph for PyClical.h:

Go to the source code of this file.

Namespaces

 cga3
 Definitions for 3D Conformal Geometric Algebra [DL].
 

Typedefs

typedef glucat::tuning< glucat::DEFAULT_Mult_Matrix_Threshold, glucat::DEFAULT_Div_Max_Steps, glucat::DEFAULT_Sqrt_Max_Steps, glucat::DEFAULT_Log_Max_Outer_Steps, glucat::DEFAULT_Log_Max_Inner_Steps, glucat::DEFAULT_Basis_Max_Count, glucat::DEFAULT_Fast_Size_Threshold, glucat::DEFAULT_Inv_Fast_Dim_Threshold, glucat::DEFAULT_Products_Size_Threshold, glucat::precision_promotedTune_P
 
typedef std::string String
 
typedef index_set< lo_ndx, hi_ndxIndexSet
 
typedef double scalar_t
 
typedef matrix_multi< scalar_tClifford
 

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. More...
 
template<typename Index_Set_T >
String index_set_to_str (const Index_Set_T &ist)
 The "informal" string representation of Index_Set_T ist. More...
 
template<typename Multivector_T >
String clifford_to_repr (const Multivector_T &mv)
 The “official” string representation of Multivector_T mv. More...
 
template<typename Multivector_T >
String clifford_to_str (const Multivector_T &mv)
 The "informal" string representation of Multivector_T mv. More...
 
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)]. More...
 
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)]. More...
 
template<typename Multivector_T >
Multivector_T cga3::agc3 (const Multivector_T &X)
 Convert CGA3 null vector to Euclidean 3D vector [DL (10.50)]. More...
 

Variables

const index_t lo_ndx = DEFAULT_LO
 
const index_t hi_ndx = DEFAULT_HI
 

Typedef Documentation

Definition at line 160 of file PyClical.h.

Definition at line 157 of file PyClical.h.

typedef double scalar_t

Definition at line 159 of file PyClical.h.

typedef std::string String

Definition at line 65 of file PyClical.h.

Definition at line 49 of file PyClical.h.

Function Documentation

template<typename Multivector_T >
String clifford_to_repr ( const Multivector_T &  mv)
inline

The “official” string representation of Multivector_T mv.

Definition at line 87 of file PyClical.h.

Referenced by PyClical.clifford::__repr__().

template<typename Multivector_T >
String clifford_to_str ( const Multivector_T &  mv)
inline

The "informal" string representation of Multivector_T mv.

Definition at line 98 of file PyClical.h.

References glucat::abs(), and PyClical::e().

Referenced by PyClical.clifford::__str__().

template<typename Index_Set_T >
String index_set_to_repr ( const Index_Set_T &  ist)
inline

The “official” string representation of Index_Set_T ist.

Definition at line 69 of file PyClical.h.

Referenced by PyClical.index_set::__repr__().

template<typename Index_Set_T >
String index_set_to_str ( const Index_Set_T &  ist)
inline

The "informal" string representation of Index_Set_T ist.

Definition at line 78 of file PyClical.h.

References PyClical::ist.

Referenced by PyClical.index_set::__str__().

template<typename Scalar_T >
PyObject* PyFloat_FromDouble ( Scalar_T  v)
inline

Create a PyFloatObject object from Scalar_T v. Needed because Scalar_T might not be the same as double.

Definition at line 59 of file PyClical.h.

Variable Documentation

const index_t hi_ndx = DEFAULT_HI

Definition at line 156 of file PyClical.h.

const index_t lo_ndx = DEFAULT_LO

Definition at line 155 of file PyClical.h.