output_results: Function that prints the calculated homology group to the...

Description Usage Arguments Details Value See Also Examples

View source: R/homology_calculation.R

Description

This functions takes the diagonal of the Smith Normal Form of the homology representation and from this prints the homology groups.

Usage

1
output_results(hom_type, Delta, degree, k)

Arguments

hom_type

This is the type of homology group, one of degenerate (if called from degenerate_homology), quandle (if called from homology(quandle=TRUE)) and rack (if called from homology(quandle=FALSE)).

Delta

This is the diagonal of the Smith Normal Form of the homology representation.

degree

This is the degree of the Homology group, that is, if one wants to calculate $H_3$, then degree=3.

k

This describes the order of the underlying rack or birack.

Details

This function prints the specified homology group of the given biquandle from the diagonal of the Smith Normal Form of the representation.

In particular, all 1 give nothing, all zeros give a Z each and every other integer n gives a Z_n.

Value

This function does return 0. Otherwise, it is only used for printing output to the screen.

See Also

homology degenerate_homology

Examples

1
2
3
4
5
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.
##H_2^Q(R_3):
output_results("quandle",c(1,1,1,1),2,3)

quhomology documentation built on May 1, 2019, 8:44 p.m.