CanPower
com.phasmidsoftware.number.algebra.core.CanPower
Represents a type class for performing power operations on instances of type T.
CONSIDER two parametric types
This trait defines the behavior for raising an instance of T to a power specified by a Scalar. Implementations of this trait are responsible for defining how the power operation is computed and whether it is valid for specific inputs.
Type parameters
- T
-
the type of the instance that supports the power operation
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
In this article