SymbolIndexer

interface SymbolIndexer

An environment to easy transform indexed variables to symbols and back. TODO requires multi-receivers to be beautiful

Functions

Link copied to clipboard
open operator fun <T> Array<T>.get(symbol: Symbol): T
open operator fun DoubleArray.get(symbol: Symbol): Double
open operator fun <T> List<T>.get(symbol: Symbol): T
open operator fun <T> Point<T>.get(symbol: Symbol): T
open operator fun <T> Structure2D<T>.get(rowSymbol: Symbol, columnSymbol: Symbol): T
Link copied to clipboard
open fun indexOf(symbol: Symbol): Int
Link copied to clipboard
open fun Map<Symbol, Double>.toDoubleArray(): DoubleArray
Link copied to clipboard
open fun <T> Map<Symbol, T>.toList(): List<T>
Link copied to clipboard
open fun DoubleArray.toMap(): Map<Symbol, Double>
open fun <T> Point<T>.toMap(): Map<Symbol, T>
Link copied to clipboard
open fun Map<Symbol, Double>.toPoint(): DoubleBuffer
open fun <T> Map<Symbol, T>.toPoint(bufferFactory: BufferFactory<T>): Point<T>

Properties

Link copied to clipboard
abstract val symbols: List<Symbol>

Inheritors

Link copied to clipboard

Sources

Link copied to clipboard