Contents

vSgemtx(_:_:_:_:_:_:)

Forms the transpose of a matrix, multiplies it by a scalar and then by a vector, and adds the resulting vector to a second vector.

Declaration

func vSgemtx(_ m: Int32, _ n: Int32, _ alpha: Float, _ a: UnsafePointer<vFloat>, _ x: UnsafePointer<vFloat>, _ y: UnsafeMutablePointer<vFloat>)

Parameters

  • m:

    Number of rows in a, and the length of vector y; must be a multiple of 4.

  • n:

    Number of columns in a, and the length of vector x; must be a multiple of 4.

  • alpha:

    Scalar multiplier for matrix a.

  • a:

    m by n matrix with elements of type float.

  • x:

    Vector with elements of type float.

  • y:

    Destination vector with n elements of type float.

Discussion

The transpose of matrix a is multiplied by alpha and then by vector x; the resulting vector is added to vector y, and the results are stored in y.

See Also

Matrix-Vector Linear Algebra Functions (from vectorOps.h)