The ChainCon Software (Release 0.03)
Functions
awdiagsim.h File Reference

A simplicial version of the Alexander-Whitney diagonal. More...

#include <istream>
#include <ostream>
#include "chomp/system/config.h"
#include "chaincon/simplex.h"
#include "chaincon/combtensor.h"
#include "chaincon/tensor.h"

Go to the source code of this file.

Functions

template<class VertexT , class EmptyT >
void AWdiagonal (const tSimplex< VertexT, EmptyT > &s, tCombTensor< tSimplex< VertexT, EmptyT >, tSimplex< VertexT, EmptyT > > &t)
 Computes the Alexander-Whitney diagonal of a simplex. More...
 
int AW_kappa (int n, int dim)
 Computes the sign in the A-W formula for a simplex (see the paper for details). More...
 
template<class VertexT , class EmptyT , class CoefT >
void AWdiagonal (const tSimplex< VertexT, EmptyT > &s, tTensor< tSimplex< VertexT, EmptyT >, tSimplex< VertexT, EmptyT >, CoefT > &t)
 Computes the Alexander-Whitney diagonal of a simplex. More...
 

Detailed Description

A simplicial version of the Alexander-Whitney diagonal.

Definition in file awdiagsim.h.

Function Documentation

◆ AW_kappa()

int AW_kappa ( int  n,
int  dim 
)
inline

Computes the sign in the A-W formula for a simplex (see the paper for details).

Definition at line 74 of file awdiagsim.h.

Referenced by AWdiagonal().

◆ AWdiagonal() [1/2]

template<class VertexT , class EmptyT >
void AWdiagonal ( const tSimplex< VertexT, EmptyT > &  s,
tCombTensor< tSimplex< VertexT, EmptyT >, tSimplex< VertexT, EmptyT > > &  t 
)
inline

Computes the Alexander-Whitney diagonal of a simplex.

Definition at line 51 of file awdiagsim.h.

◆ AWdiagonal() [2/2]

template<class VertexT , class EmptyT , class CoefT >
void AWdiagonal ( const tSimplex< VertexT, EmptyT > &  s,
tTensor< tSimplex< VertexT, EmptyT >, tSimplex< VertexT, EmptyT >, CoefT > &  t 
)
inline

Computes the Alexander-Whitney diagonal of a simplex.

Definition at line 94 of file awdiagsim.h.

References AW_kappa().