libsemigroups  v3.0.0
C++ library for semigroups and monoids
Loading...
Searching...
No Matches
Product< PBR >

Specialization of the adapter Product for instances of PBR.

See also
Product.

Public Member Functions

void operator() (PBR &xy, PBR const &x, PBR const &y, size_t thread_id=0)
 Multiply two PBR objects and store the product in a third.
 

Member Function Documentation

◆ operator()()

void operator() ( PBR & xy,
PBR const & x,
PBR const & y,
size_t thread_id = 0 )
inline

Replaces the contents of xy by the product of x and y.

The parameter thread_id is required since some temporary storage is required to find the product of x and y. Note that if different threads call this member function with the same value of thread_id then bad things will happen.

Parameters
xya PBR whose contents (if any) will be cleared.
xa PBR.
ya PBR.
thread_idthe index of the calling thread (defaults to 0).
Exceptions
This function guarantees not to throw a LibsemigroupsException.
Warning
No checks are made on whether or not the parameters are compatible. If x and y have different degrees, then bad things will happen.
See also
product_inplace_no_checks

The documentation for this struct was generated from the following file: