The gemm routines compute a scalar-matrix-matrix product and add the result to a scalar-matrix product, with general matrices.
The gemm routines compute a scalar-matrix-matrix product and add the result to a scalar-matrix product, with general matrices. C := alpha*op(A)*op(B) + beta*C, where: op(X) is one of op(X) = X, or op(X) = XT, alpha and beta are scalars, A, B and C are matrices: op(A) is an m-by-k matrix, op(B) is a k-by-n matrix, C is an m-by-n matrix.
this interface treat the input array as column-major array.
Specifies the form of op(A) used in the matrix multiplication: if transa=CblasNoTrans, then op(A) = A; if transa=CblasTrans, then op(A) = AT;
Specifies the form of op(B) used in the matrix multiplication: if transb=CblasNoTrans, then op(B) = B; if transb=CblasTrans, then op(B) = BT;
Specifies the number of rows of the matrix op(A) and of the matrix C. The value of m must be at least zero.
Specifies the number of columns of the matrix op(B) and the number of columns of the matrix C. The value of n must be at least zero.
Specifies the number of columns of the matrix op(A) and the number of rows of the matrix op(B). The value of k must be at least zero.
Specifies the scalar alpha.
Array. if transa=CblasNoTrans, size lda*k. if transa=CblasTrans, size lda*m.
a offset
Specifies the leading dimension of a as declared in the calling (sub)program. if transa=CblasNoTrans, lda must be at least max(1, m). if transa=CblasTrans, lda must be at least max(1, k).
Array. if transb=CblasNoTrans, size ldb by n. if transb=CblasTrans, size ldb by k.
b offset
Specifies the leading dimension of b as declared in the calling (sub)program. if transb=CblasNoTrans, ldb must be at least max(1, m). if transb=CblasTrans, ldb must be at least max(1, k).
Specifies the scalar beta. When beta is equal to zero, then c need not be set on input.
Array, size ldc by n. Before entry, the leading m-by-n part of the array c must contain the matrix C, except when beta is equal to zero, in which case c need not be set on entry.
c offset
ldc must be at least max(1, m).
to be fixed: this interface treat the input tensor as row-major array.
to be fixed: this interface treat the input tensor as row-major array.
The gemv routines perform a matrix-vector operation defined as y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y, where: alpha and beta are scalars, x and y are vectors, A is an m-by-n matrix.
The gemv routines perform a matrix-vector operation defined as y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y, where: alpha and beta are scalars, x and y are vectors, A is an m-by-n matrix.
this interface treat the input array as column-major array.
Specifies the operation: if trans=CblasNoTrans, then y := alpha*A*x + beta*y; if trans=CblasTrans, then y := alpha*A'*x + beta*y;
Specifies the number of rows of the matrix A. The value of m must be at least zero.
Specifies the number of columns of the matrix A. The value of n must be at least zero.
Specifies the scalar alpha.
Array, size lda* n. Before entry, the leading m-by-n part of the array a must contain the matrix A.
a offset
Specifies the leading dimension of a as declared in the calling (sub)program. the value of lda must be at least max(1, m).
Array, size at least (1+(n-1)*abs(incx)). Before entry, the incremented array x must contain the vector x.
x offset
Specifies the increment for the elements of x. The value of incx must not be zero.
Specifies the scalar beta. When beta is set to zero, then y need not be set on input.
Array, size at least (1 +(m - 1)*abs(incy)). Before entry with non-zero beta, the incremented array y must contain the vector y.
y offset
Specifies the increment for the elements of y. The value of incy must not be zero.
The ger routines perform a matrix-vector operation defined as A := alpha*x*y'+ A, where: alpha is a scalar, x is an m-element vector, y is an n-element vector, A is an m-by-n general matrix.
The ger routines perform a matrix-vector operation defined as A := alpha*x*y'+ A, where: alpha is a scalar, x is an m-element vector, y is an n-element vector, A is an m-by-n general matrix.
this interface treat the input array as column-major array.
Specifies the number of rows of the matrix A. The value of m must be at least zero.
Specifies the number of columns of the matrix A. The value of n must be at least zero.
Specifies the scalar alpha.
Array, size at least (1 + (m - 1)*abs(incx)). Before entry, the incremented array x must contain the m-element vector x.
x offset
Specifies the increment for the elements of x. The value of incx must not be zero.
Array, size at least (1 + (n - 1)*abs(incy)). Before entry, the incremented array y must contain the n-element vector y.
y offset
Specifies the increment for the elements of y. The value of incy must not be zero.
Array, size lda * n. Before entry, the leading m-by-n part of the array a must contain the matrix A.
a offset
Specifies the leading dimension of a as declared in the calling (sub)program. the value of lda must be at least max(1, m).