Package-level declarations

Types

Link copied to clipboard
@Serializable(with = ColumnVectorSerializer::class)
open class ColumnVector<out N>(val coefficients: MDList1<N>)
Link copied to clipboard
@Serializable(with = MatrixSerializer::class)
open class Matrix<out N>(val coefficients: MDList2<N>)
Link copied to clipboard
@Serializable(with = RowVectorSerializer::class)
open class RowVector<out N>(val coefficients: MDList1<N>)
Link copied to clipboard
class SettableColumnVector<N>(val coefficients: SettableMDList1<N>) : ColumnVector<N>
Link copied to clipboard
@Serializable(with = SettableMatrixSerializer::class)
class SettableMatrix<N>(val coefficients: SettableMDList2<N>) : Matrix<N>
Link copied to clipboard
class SettableRowVector<N>(val coefficients: SettableMDList1<N>) : RowVector<N>
Link copied to clipboard
interface VectorKategory<N>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun <N> ColumnVector(vararg elements: N): ColumnVector<N>
fun <N> ColumnVector(size: UInt, initializer: (coefficient: UInt) -> N): ColumnVector<N>
Link copied to clipboard
fun <N> KoneContextRegistryBuilder.installVectorKategoryFor(numberType: SuppliedType<N>, mdListProducer: MDListProducer = ArrayMDListProducer)
fun <N> KoneContextRegistryBuilder.installVectorKategoryFor(numberType: SuppliedType<N>, mdList1Producer: MDList1Producer = ArrayMDList1Producer, mdList2Producer: MDList2Producer = ArrayMDList2Producer)
Link copied to clipboard
Link copied to clipboard
fun <N, R> KoneContextRegistry.inVectorKategoryScopeFor(numberType: SuppliedType<N>, block: (Ring<N>, VectorKategory<N>) -> R): R
Link copied to clipboard
fun <E> Matrix(vararg elements: KoneList<E>): Matrix<E>
fun <E> Matrix(rowNumber: UInt, columnNumber: UInt, initializer: (row: UInt, column: UInt) -> E): Matrix<E>
Link copied to clipboard
operator fun <N> ColumnVector<N>.minus(other: ColumnVector<N>): ColumnVector<N>
operator fun <N> Matrix<N>.minus(other: Matrix<N>): Matrix<N>
operator fun <N> RowVector<N>.minus(other: RowVector<N>): RowVector<N>
Link copied to clipboard
operator fun <N> ColumnVector<N>.plus(other: ColumnVector<N>): ColumnVector<N>
operator fun <N> Matrix<N>.plus(other: Matrix<N>): Matrix<N>
operator fun <N> RowVector<N>.plus(other: RowVector<N>): RowVector<N>
Link copied to clipboard
fun requireShapeEquality(left: Matrix<*>, right: Matrix<*>)
fun requireShapeEquality(left: RowVector<*>, right: RowVector<*>)
Link copied to clipboard
fun <N> RowVector(vararg elements: N, mdList1Producer: MDList1Producer = ArrayMDList1Producer): RowVector<N>
fun <N> RowVector(size: UInt, mdList1Producer: MDList1Producer = ArrayMDList1Producer, initializer: (index: UInt) -> N): RowVector<N>
Link copied to clipboard
fun <N> SettableColumnVector(vararg elements: N): SettableColumnVector<N>
fun <N> SettableColumnVector(size: UInt, initializer: (coefficient: UInt) -> N): SettableColumnVector<N>
Link copied to clipboard
operator fun <N> N.times(other: ColumnVector<N>): ColumnVector<N>
operator fun <N> N.times(other: Matrix<N>): Matrix<N>
operator fun <N> N.times(other: RowVector<N>): RowVector<N>
operator fun <N> ColumnVector<N>.times(other: N): ColumnVector<N>
operator fun <N> Matrix<N>.times(other: N): Matrix<N>
operator fun <N> Matrix<N>.times(other: ColumnVector<N>): ColumnVector<N>
operator fun <N> Matrix<N>.times(other: Matrix<N>): Matrix<N>
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
Link copied to clipboard
operator fun <N> ColumnVector<N>.unaryMinus(): ColumnVector<N>
operator fun <N> Matrix<N>.unaryMinus(): Matrix<N>
operator fun <N> RowVector<N>.unaryMinus(): RowVector<N>
Link copied to clipboard
fun <N> Ring<N>.vectorKategory(mdListProducer: MDListProducer = ArrayMDListProducer): VectorKategory<N>
fun <N> Ring<N>.vectorKategory(mdList1Producer: MDList1Producer = ArrayMDList1Producer, mdList2Producer: MDList2Producer = ArrayMDList2Producer): VectorKategory<N>