Scalable
com.phasmidsoftware.number.algebra.core.Scalable
A trait representing the ability to scale an instance of type T as a whole using an integer multiplier.
This trait defines a contract for types that support a scaling operation, where an instance can be adjusted by multiplying it with an integer. The result of the scaling operation is returned as an Option, allowing implementations to specify cases where scaling may not be valid or possible.
Type parameters
- T
-
the type of the instance that can be scaled
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait Algebraicclass LinearSolutionclass QuadraticSolutionclass Angletrait ExactNumberclass RationalNumberclass WholeNumberclass InversePowerclass Realtrait Equationclass LinearEquationclass QuadraticEquation
Members list
In this article