Module arthroprod::ops [] [src]

Standard operations on AR types: Alphas and Multivectors.

Almost all of the operations contained in ops are based on the find_prod function which computes the Full Product of two Alphas under the algebra. Override versions of some functions exist which allow the caller to specify custom values for ALLOWED, TARGETS, and METRIC.

NOTE: Using the overrides will result in a panic! in cases where there would normally be an error. This is to prevent malformed calculations from being coerced into a valid Alpha value.

In almost all cases you want to use the non-override functions which take their configuration from the constants defined in the consts module.

Functions

find_prod

Compute the product of two alphas.

find_prod_override

Allow the caller to specify a different metric and set of target alphas when computing a product.