koblas

BlasOperation

The double-precision CBLAS operations Koblas binds, each with the symbol it resolves to.

Gemmt is the one operation outside the standard. oneMKL, AOCL and OpenBLAS export it; Accelerate does not, and ArmPL is not assumed to. A vendor that lacks it composes the result instead, which is why the route of a gemmt call says which of the two happened rather than naming the operation alone.

Entries

Link copied to clipboard

dot = xᵀ · y.

Link copied to clipboard

y = alpha · x + y.

Link copied to clipboard

x = alpha · x.

Link copied to clipboard

y = x.

Link copied to clipboard

nrm2 = ‖x‖₂, computed without avoidable overflow.

Link copied to clipboard

asum = Σ|xᵢ|.

Link copied to clipboard

The index of the first entry of largest magnitude.

Link copied to clipboard

Exchanges x and y.

Link copied to clipboard

Applies a plane rotation to x and y.

Link copied to clipboard

y = alpha · op(A) · x + beta · y.

Link copied to clipboard

y = alpha · A · x + beta · y for symmetric A.

Link copied to clipboard

A = alpha · x · yᵀ + A.

Link copied to clipboard

A = alpha · x · xᵀ + A in the selected triangle.

Link copied to clipboard

A = alpha · (x · yᵀ + y · xᵀ) + A in the selected triangle.

Link copied to clipboard

Solves op(A) · x = b for triangular A.

Link copied to clipboard

x = op(A) · x for triangular A.

Link copied to clipboard

C = alpha · op(A) · op(B) + beta · C.

Link copied to clipboard

C = alpha · A · B + beta · C for symmetric A.

Link copied to clipboard

C = alpha · A · Aᵀ + beta · C in the selected triangle.

Link copied to clipboard

C = alpha · (A · Bᵀ + B · Aᵀ) + beta · C in the selected triangle.

Link copied to clipboard

B = alpha · op(A) · B for triangular A.

Link copied to clipboard

Solves op(A) · X = alpha · B for triangular A.

Link copied to clipboard

Gemm restricted to one triangle of C, exported by some vendors and composed on the rest.

Properties

entries

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

entryPoint

The CBLAS symbol, unsuffixed and therefore LP64.

level

The BLAS level, used to group report rows.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

valueOf

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

values

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.