RowVector

@Serializable(with = RowVectorSerializer::class)
open class RowVector<out N>(val coefficients: MDList1<N>)(source)

Inheritors

Constructors

Link copied to clipboard
constructor(coefficients: MDList1<N>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: UInt

Functions

Link copied to clipboard
inline fun <E> RowVector<E>.all(block: (value: E) -> Boolean): Boolean
Link copied to clipboard
inline fun <E> RowVector<E>.allIndexed(block: (index: UInt, value: E) -> Boolean): Boolean
Link copied to clipboard
inline fun <E> RowVector<E>.any(block: (value: E) -> Boolean): Boolean
Link copied to clipboard
inline fun <E> RowVector<E>.anyIndexed(block: (index: UInt, value: E) -> Boolean): Boolean
Link copied to clipboard
inline fun <E, R> RowVector<E>.fold(initial: R, operation: (acc: R, E) -> R): R
Link copied to clipboard
inline fun <E, R> RowVector<E>.foldIndexed(initial: R, operation: (index: UInt, acc: R, E) -> R): R
Link copied to clipboard
inline fun <E> RowVector<E>.forEach(block: (value: E) -> Unit)
Link copied to clipboard
inline fun <E> RowVector<E>.forEachIndexed(block: (index: UInt, value: E) -> Unit)
Link copied to clipboard
operator fun get(index: UInt): N
Link copied to clipboard
inline fun <E, R> RowVector<E>.map(transform: (E) -> R): RowVector<R>
Link copied to clipboard
inline fun <E, R> RowVector<E>.mapIndexed(transform: (index: UInt, E) -> R): RowVector<R>
Link copied to clipboard
operator fun <N> RowVector<N>.minus(other: RowVector<N>): RowVector<N>
Link copied to clipboard
inline fun <E> RowVector<E>.none(block: (value: E) -> Boolean): Boolean
Link copied to clipboard
inline fun <E> RowVector<E>.noneIndexed(block: (index: UInt, value: E) -> Boolean): Boolean
Link copied to clipboard
operator fun <N> RowVector<N>.plus(other: RowVector<N>): RowVector<N>
Link copied to clipboard
fun <E> RowVector<E>.sum(): E
Link copied to clipboard
inline fun <E, A> RowVector<E>.sumOf(selector: (E) -> A): A
Link copied to clipboard
inline fun <E, A> RowVector<E>.sumOfIndexed(selector: (index: UInt, E) -> A): A
Link copied to clipboard
operator fun <N> RowVector<N>.times(other: N): RowVector<N>
operator fun <N> RowVector<N>.times(other: ColumnVector<N>): N
operator fun <N> RowVector<N>.times(other: Matrix<N>): RowVector<N>
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
operator fun <N> RowVector<N>.unaryMinus(): RowVector<N>
Link copied to clipboard
inline fun <E> RowVector<E>.withEach(block: E.() -> Unit)
Link copied to clipboard
inline fun <E> RowVector<E>.withEachIndexed(block: E.(index: UInt) -> Unit)