FloatArray2

data class FloatArray2(val width: Int, val height: Int, val data: FloatArray) : IArray2<Float>

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, data: FloatArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val height: Int
Link copied to clipboard
open val size: Int
Link copied to clipboard
open override val width: Int

Functions

Link copied to clipboard
fun <T> Iterable<T>.associateByInt(block: (index: Int, value: T) -> Int): IntMap<T>
Link copied to clipboard
open fun asString(): String
open fun asString(margin: String = "", charMap: (Float) -> Char): String
open fun asString(map: Map<Float, Char>, margin: String = ""): String
Link copied to clipboard
fun Iterable<MRectangle>.bounds(target: MRectangle = MRectangle()): MRectangle
fun Iterable<MPoint>.bounds(out: MRectangle = MRectangle(), bb: MBoundsBuilder = MBoundsBuilder()): MRectangle
Link copied to clipboard
Link copied to clipboard
open operator fun contains(v: Float): Boolean
Link copied to clipboard
open fun dump()
Link copied to clipboard
inline fun <E> IArray2<E>.each(callback: (x: Int, y: Int, v: E) -> Unit)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun equalsAt(idx: Int, value: Float): Boolean
Link copied to clipboard
inline fun <E> IArray2<E>.fill(gen: (old: E) -> E)
Link copied to clipboard
operator fun get(x: Int, y: Int): Float
Link copied to clipboard
open override fun getAt(idx: Int): Float
open fun getAt(x: Int, y: Int): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun <E> IArray2<E>.index(x: Int, y: Int): Int
Link copied to clipboard
open fun inside(x: Int, y: Int): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<Float>
Link copied to clipboard
inline fun FloatArray2.map2(gen: (x: Int, y: Int, v: Float) -> Float): FloatArray2
inline fun <TGen : Any, RGen : Any> IArray2<TGen>.map2(gen: (x: Int, y: Int, v: TGen) -> RGen): Array2<RGen>
Link copied to clipboard
inline fun <T> Iterable<T>.mapDouble(callback: (T) -> Double): DoubleArrayList
Link copied to clipboard
inline fun <T> Iterable<T>.mapFloat(callback: (T) -> Float): FloatArrayList
Link copied to clipboard
inline fun <T> Iterable<T>.mapInt(callback: (T) -> Int): IntArrayList
Link copied to clipboard
fun <T> Iterable<T>.multisorted(vararg props: KProperty1<T, Comparable<*>>): List<T>
Link copied to clipboard
open override fun printAt(idx: Int)
open fun printAt(x: Int, y: Int)
Link copied to clipboard
operator fun set(x: Int, y: Int, value: Float)
open fun set(rows: List<List<Float>>)
Link copied to clipboard
open override fun setAt(idx: Int, value: Float)
open fun setAt(x: Int, y: Int, value: Float)
Link copied to clipboard
@JvmName(name = "sumOfFloat")
inline fun <T> Iterable<T>.sumOfDouble(selector: (T) -> Double): Double
Link copied to clipboard
@JvmName(name = "sumOfFloat")
inline fun <T> Iterable<T>.sumOfFloat(selector: (T) -> Float): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun toStringList(charMap: (Float) -> Char, margin: String = ""): List<String>
Link copied to clipboard
fun tryGet(x: Int, y: Int): Float?
Link copied to clipboard
fun trySet(x: Int, y: Int, value: Float)