Package-level declarations

Properties

Link copied to clipboard

A wrapper for image operations. The receiver array must have shape [width, height, channels] where channels is 3 or 4.

Functions

Link copied to clipboard

Converts an HSV(A) image to RGB(A)

Link copied to clipboard

Converts an RGB(A) image to HSV(A)

Link copied to clipboard
infix fun <Error class: unknown class><F64FlatArray>.cosineDistance(other: <Error class: unknown class><F64FlatArray>): <Error class: unknown class><Float>

Calculates the cosine distance between this and some other column.

infix fun <Error class: unknown class><F64FlatArray>.cosineDistance(other: F64FlatArray): <Error class: unknown class><Float>

Calculates the cosine distance between this and some other vector.

Link copied to clipboard

Reads a CSV file into an F64Array.

fun F64Array.Companion.fromCSV(csv: <Error class: unknown class>, separator: String = ","): F64Array

Reads a CSV file into an F64Array.

Link copied to clipboard

Reads a Bitmap into an F64Array.

Reads a BufferedImage into an F64Array.

Reads an image file into an F64Array.

Link copied to clipboard
infix fun <Error class: unknown class><F64FlatArray>.innerProduct(other: <Error class: unknown class><F64FlatArray>): <Error class: unknown class><Float>

Calculates the inner product between this and some other column.

infix fun <Error class: unknown class><F64FlatArray>.innerProduct(other: F64FlatArray): <Error class: unknown class><Float>

Calculates the inner product between this and some other vector.

Link copied to clipboard
infix fun <Error class: unknown class><F64FlatArray>.l1Distance(other: <Error class: unknown class><F64FlatArray>): <Error class: unknown class><Float>

Calculates the L1 distance between this and some other column.

infix fun <Error class: unknown class><F64FlatArray>.l1Distance(other: F64FlatArray): <Error class: unknown class><Float>

Calculates the L1 distance between this and some other vector.

Link copied to clipboard
infix fun <Error class: unknown class><F64FlatArray>.l2Distance(other: <Error class: unknown class><F64FlatArray>): <Error class: unknown class><Float>

Calculates the L2 distance between this and some other column.

infix fun <Error class: unknown class><F64FlatArray>.l2Distance(other: F64FlatArray): <Error class: unknown class><Float>

Calculates the L2 distance between this and some other vector.

Link copied to clipboard
fun <Error class: unknown class>.ndarray(name: String): <Error class: unknown class><F64Array>

A column type for storing vectors in Exposed.

Link copied to clipboard

Creates a Bitmap from the F64Array

Link copied to clipboard
Link copied to clipboard
fun F64Array.toCSV(separator: String = ","): Sequence<String>

Writes an F64Array to a CSV string.

fun F64Array.toCSV(csv: <Error class: unknown class>, separator: String = ",")

Writes an F64Array to a CSV file.

Link copied to clipboard
fun F64FlatArray.toDataColumn(name: String): <Error class: unknown class><Double>

Converts an F64FlatArray to a DataColumn.

Link copied to clipboard
fun F64Array.toDJL(manager: <Error class: unknown class>? = null): <Error class: unknown class>

Converts an F64Array to a NDArray.

Link copied to clipboard
fun F64FlatArray.toEmbedding(): <Error class: unknown class>

Converts an F64FlatArray to an Embedding.

Link copied to clipboard
fun <Error class: unknown class><Number>.toF64Array(): F64FlatArray

Converts a DataColumn to an F64FlatArray.

fun <Error class: unknown class>.toF64Array(): F64FlatArray

Converts an Embedding to an F64FlatArray.

fun <Error class: unknown class>.toF64Array(): F64Array

Converts an NDArray to an F64Array.

fun <Error class: unknown class>.toF64Array(scale: Boolean = true): F64ImageArray

Converts a Mat to an F64Array.

Link copied to clipboard
fun F64Array.toImage(file: File)

Writes an F64Array to an image file.

Link copied to clipboard
fun F64Array.toOpenCVMat(type: Int = CvType.CV_64FC4): <Error class: unknown class>

Converts an F64Array to a Mat.

fun F64ImageArray.toOpenCVMat(type: Int = CvType.CV_64FC4, scale: Boolean = true): <Error class: unknown class>

Converts an F64ImageArray to a Mat.

Link copied to clipboard
fun <Error class: unknown class>.usePGVector()

Initializes the Database to use the pgvector extension and registers managers for the correct type.

Link copied to clipboard
fun <Error class: unknown class>.vector(name: String, size: Int = 384): <Error class: unknown class><F64FlatArray>

A column type for storing vectors in PostgreSQL.