Learn R Programming

quhomology (version 1.1.1)

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

Description

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

Usage

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.

Value

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

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.

See Also

homology degenerate_homology

Examples

Run this code
# NOT RUN {
##---- 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)
# }
# NOT RUN {
<!-- % Add one or more standard keywords, see file 'KEYWORDS' in the -->
# }
# NOT RUN {
<!-- % R documentation directory. -->
# }

Run the code above in your browser using DataLab