Description Usage Arguments Details Value References See Also Examples

View source: R/homology_calculation.R

This function calculates the degenerate homology group of a given rack or birack.

1 | ```
degenerate_homology(degree, k, return_values = FALSE)
``` |

`degree` |
This is the degree of the Homology group, that is, if one wants to calculate $H^D_3$, then degree=3. |

`k` |
This describes the order of the underlying rack or birack. |

`return_values` |
If return_values = TRUE, the functions returns the diagonal of the Smith Normal Form. If FALSE (the default), the function calls output_results instead which prints the homology group to the screen. |

This function is based on the algorithm described in the references below. It should be sufficient for most users to change the up/down action functions according to their requirements and then run the calculation.

NULL if return_values is FALSE, the diagonal of the Smith Normal Form if return_values is TRUE.

http://www.maths.sussex.ac.uk/Staff/RAF/Maths/homo.pdf

1 | ```
degenerate_homology(3,3)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.