Index
A
- AbstractDigitList — Class in namespace Riimu\Kit\BaseConversion\DigitList
- Provides common functionality for different digit lists.
- ArrayDigitList — Class in namespace Riimu\Kit\BaseConversion\DigitList
- Handles a list of digits provided as an array.
B
- BaseConverter — Class in namespace Riimu\Kit\BaseConversion
- Arbitrary precision number base converter.
- BaseConverter::baseConvert() — Method in class BaseConverter
- Converts the provided number from base to another.
C
- BaseConverter::convert() — Method in class BaseConverter
- Converts the number provided as a string from source base to target base.
- BaseConverter::convertInteger() — Method in class BaseConverter
- Converts the integer part of a number.
- BaseConverter::convertFractions() — Method in class BaseConverter
- Converts the fractional part of a number.
- Converter — Class in namespace Riimu\Kit\BaseConversion
- Interface for different number base conversion strategies.
- Converter::convertInteger() — Method in class Converter
- Converts the integer part of a number.
- Converter::convertFractions() — Method in class Converter
- Converts the fractional part of a number.
- DecimalConverter::convertInteger() — Method in class DecimalConverter
- Converts the integer part of a number.
- DecimalConverter::convertFractions() — Method in class DecimalConverter
- Converts the fractional part of a number.
- $AbstractDigitList — Property in class AbstractDigitList
- AbstractDigitList::count() — Method in class AbstractDigitList
- Returns the number of different digits.
- DigitList::count() — Method in class DigitList
- Returns the number of different digits.
- NumberBase::canonizeDigits() — Method in class NumberBase
- Replaces all values in the array with actual digits from the digit list.
- ReplaceConverter::convertInteger() — Method in class ReplaceConverter
- Converts the integer part of a number.
- ReplaceConverter::convertFractions() — Method in class ReplaceConverter
- Converts the fractional part of a number.
D
- DecimalConverter — Class in namespace Riimu\Kit\BaseConversion
- Converts numbers by using a mathematical algorithm that relies on integers.
- $AbstractDigitList — Property in class AbstractDigitList
- DigitList — Class in namespace Riimu\Kit\BaseConversion\DigitList
- Interface for different kinds of digit lists.
F
- NumberBase::findCommonRadixRoot() — Method in class NumberBase
- Finds the largest integer root shared by the radix of both numeral systems.
G
- AbstractDigitList::getDigits() — Method in class AbstractDigitList
- Returns all the digits in the list.
- AbstractDigitList::getDigit() — Method in class AbstractDigitList
- Returns the digit that represents the given value.
- AbstractDigitList::getValue() — Method in class AbstractDigitList
- Returns the value for the given digit.
- ArrayDigitList::getValue() — Method in class ArrayDigitList
- Returns the value for the given digit.
- DigitList::getDigits() — Method in class DigitList
- Returns all the digits in the list.
- DigitList::getDigit() — Method in class DigitList
- Returns the digit that represents the given value.
- DigitList::getValue() — Method in class DigitList
- Returns the value for the given digit.
- NumberBase::getRadix() — Method in class NumberBase
- Returns the radix (i.e. base) of the numeral system.
- NumberBase::getDigitList() — Method in class NumberBase
- Returns list of all digits in the numeral system.
- NumberBase::getValue() — Method in class NumberBase
- Returns the decimal value represented by the given digit.
- NumberBase::getValues() — Method in class NumberBase
- Returns the decimal values for given digits.
- NumberBase::getDigit() — Method in class NumberBase
- Returns the digit representing the given decimal value.
- NumberBase::getDigits() — Method in class NumberBase
- Returns the digits representing the given decimal values.
H
- AbstractDigitList::hasStringConflict() — Method in class AbstractDigitList
- Tells if there is conflict that prevents numbers from being represented as a string.
- DigitList::hasStringConflict() — Method in class DigitList
- Tells if there is conflict that prevents numbers from being represented as a string.
- NumberBase::hasStringConflict() — Method in class NumberBase
- Tells if numbers using this numeral system cannot be represented using a string.
- NumberBase::hasDigit() — Method in class NumberBase
- Tells if the given digit is part of this numeral system.
I
- AbstractDigitList::isCaseSensitive() — Method in class AbstractDigitList
- Tells if the digits are case sensitive or not.
- DigitList::isCaseSensitive() — Method in class DigitList
- Tells if the digits are case sensitive or not.
- IntegerDigitList — Class in namespace Riimu\Kit\BaseConversion\DigitList
- Handles a list of digits defined according to number base.
- InvalidDigitException — Class in namespace Riimu\Kit\BaseConversion\DigitList
- Thrown whenever a value for invalid digit is requested.
- InvalidNumberBaseException — Class in namespace Riimu\Kit\BaseConversion
- hrown if the number bases cannot be used by the conversion strategy.
- NumberBase::isCaseSensitive() — Method in class NumberBase
- Tells if this numeral system is case sensitive or not.
N
- NumberBase — Class in namespace Riimu\Kit\BaseConversion
- Represents a positional numeral system with a specific number base.
R
- ReplaceConverter — Class in namespace Riimu\Kit\BaseConversion
- Converts numbers using character replacement.
S
- BaseConverter::setPrecision() — Method in class BaseConverter
- Sets the precision for inaccurate fraction conversions.
- Converter::setPrecision() — Method in class Converter
- Sets the precision for inaccurate fraction conversions.
- DecimalConverter::setPrecision() — Method in class DecimalConverter
- Sets the precision for inaccurate fraction conversions.
- $AbstractDigitList — Property in class AbstractDigitList
- AbstractDigitList::setValueMap() — Method in class AbstractDigitList
- Sets the value map and determines if it's case sensitive.
- StringDigitList — Class in namespace Riimu\Kit\BaseConversion\DigitList
- Handles a list of digits provided as a string.
- NumberBase::splitString() — Method in class NumberBase
- Splits number string into individual digits.
- ReplaceConverter::setPrecision() — Method in class ReplaceConverter
- Sets the precision for inaccurate fraction conversions.
V
- $AbstractDigitList — Property in class AbstractDigitList
_
- BaseConverter::__construct() — Method in class BaseConverter
- Creates a new instance of BaseConverter.
- DecimalConverter::__construct() — Method in class DecimalConverter
- Creates a new instance of DecimalConverter.
- ArrayDigitList::__construct() — Method in class ArrayDigitList
- Creates a new instance of ArrayDigitList.
- IntegerDigitList::__construct() — Method in class IntegerDigitList
- Creates a new instance of IntegerDigitList.
- StringDigitList::__construct() — Method in class StringDigitList
- Creates a new instance of StringDigitList.
- NumberBase::__construct() — Method in class NumberBase
- Creates a new instance of NumberBase.
- ReplaceConverter::__construct() — Method in class ReplaceConverter
- Create new instance of ReplaceConverter.