com.phasmidsoftware.number.algebra.eager.Solution
See theSolution companion trait
Object containing functionality related to Solution, including mathematical computations and rendering solutions as LaTeX.
Attributes
- Companion
-
trait
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
Computes the quadratic offset coefficient for a given index within a cyclic structure.
Computes the quadratic offset coefficient for a given index within a cyclic structure.
The method maps the index k within the range {0, 1, ..., n-1} to an odd position in a 2n-cycle and calculates a corresponding rational coefficient.
Value parameters
- k
-
the index to map, where k is an integer in the range {0, 1, ..., n-1}
- n
-
the total number of branches in the cycle, representing the size of the range
Attributes
- Returns
-
the quadratic offset coefficient as a Rational value
LatexRenderer for Solution (general case).
LatexRenderer for Solution (general case).
Attempts to render based on the concrete type.
Attributes