Class IntegerRingEmbedding<E>
java.lang.Object
dk.jonaslindstrom.ruffini.common.algorithms.IntegerRingEmbedding<E>
- Type Parameters:
E
- Element type.
- All Implemented Interfaces:
java.util.function.IntFunction<E>
This function computes the canonical embedding of the integers into any ring by mapping an
integer n to the identity element added to itself n times.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntegerRingEmbedding
-
-
Method Details
-
apply
- Specified by:
apply
in interfacejava.util.function.IntFunction<E>
-