calgo

package
v0.0.0-...-ac1304b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2013 License: LGPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlkMult

func BlkMult(C, A, B []float64, alpha float64, ldC, ldA, ldB, M, N, P, S, L, R, E int)

C += alpha*A*B for block defined by rows [R:E] and columns [S:L]. C is M*N, A is M*P, B is P*N and 0 <= L < S < N and 0 <= R < E < M

func BlkMultVp

func BlkMultVp(C, A, B []float64, alpha float64, ldC, ldA, ldB, M, N, P, S, L, R, E, vlen int)

C += alpha*A*B for block defined by rows [R:E] and columns [S:L]. C is M*N, A is M*P, B is P*N and 0 <= L < S < N and 0 <= R < E < M Panels in A and B are accessed in vlen blocks and accumulated to C.

func Mult

func Mult(C, A, B []float64, alpha float64, ldC, ldA, ldB, M, N, P int)

Calculate C +=alpha*A*B where C is M*N, A is M*P, B is P*N and alpha is scalar. Arrays C, A, B are column major order matrix data arrays.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL