Discover Packages
github.com/brrm/cvx
matrix
calgo
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Sep 17, 2024
License: LGPL-3.0, LGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
BlkMult(C, A, B, alpha, ldC, ldA, ldB, M, N, P, S, L, R, E)
BlkMultVp(C, A, B, alpha, ldC, ldA, ldB, M, N, P, S, L, R, E, vlen)
Mult(C, A, B, alpha, ldC, ldA, ldB, M, N, P)
Types
Source Files
Documentation
Documentation
¶
func BlkMult(C, A, B []float64, alpha float64, ldC, ldA, ldB, M, N, P, S, L, R, E int)
func BlkMultVp(C, A, B []float64, alpha float64, ldC, ldA, ldB, M, N, P, S, L, R, E, vlen int)
func Mult(C, A, B []float64, alpha float64, ldC, ldA, ldB, M, N, P int)
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(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.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.