GiNaC 1.8.7
Namespaces | Functions
tensor.cpp File Reference

Implementation of GiNaC's special tensors. More...

#include "tensor.h"
#include "idx.h"
#include "indexed.h"
#include "symmetry.h"
#include "relational.h"
#include "operators.h"
#include "lst.h"
#include "numeric.h"
#include "matrix.h"
#include "archive.h"
#include "utils.h"
#include <iostream>
#include <stdexcept>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  GiNaC
 

Functions

 GiNaC::GINAC_IMPLEMENT_REGISTERED_CLASS_OPT (tensdelta, tensor, print_func< print_dflt >(&tensdelta::do_print). print_func< print_latex >(&tensdelta::do_print_latex)) GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(tensmetric
 
 GiNaC::print_func< print_dflt > (&tensmetric::do_print). print_func< print_latex >(&tensmetric
 
 GiNaC::GINAC_BIND_UNARCHIVER (minkmetric)
 
 GiNaC::GINAC_BIND_UNARCHIVER (tensepsilon)
 
 GiNaC::GINAC_BIND_UNARCHIVER (tensdelta)
 
 GiNaC::GINAC_BIND_UNARCHIVER (tensmetric)
 
 GiNaC::GINAC_BIND_UNARCHIVER (spinmetric)
 
ex GiNaC::delta_tensor (const ex &i1, const ex &i2)
 Create a delta tensor with specified indices. More...
 
ex GiNaC::metric_tensor (const ex &i1, const ex &i2)
 Create a symmetric metric tensor with specified indices. More...
 
ex GiNaC::lorentz_g (const ex &i1, const ex &i2, bool pos_sig=false)
 Create a Minkowski metric tensor with specified indices. More...
 
ex GiNaC::spinor_metric (const ex &i1, const ex &i2)
 Create a spinor metric tensor with specified indices. More...
 
ex GiNaC::epsilon_tensor (const ex &i1, const ex &i2)
 Create an epsilon tensor in a Euclidean space with two indices. More...
 
ex GiNaC::epsilon_tensor (const ex &i1, const ex &i2, const ex &i3)
 Create an epsilon tensor in a Euclidean space with three indices. More...
 
ex GiNaC::lorentz_eps (const ex &i1, const ex &i2, const ex &i3, const ex &i4, bool pos_sig=false)
 Create an epsilon tensor in a Minkowski space with four indices. More...
 

Detailed Description

Implementation of GiNaC's special tensors.

Definition in file tensor.cpp.


This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.