MathNet.Numerics.LinearAlgebra.Single.DenseMatrix.DoTransposeThisAndMultiply C# (CSharp) Method

DoTransposeThisAndMultiply() protected method

Multiplies the transpose of this matrix with a vector and places the results into the result vector.
protected DoTransposeThisAndMultiply ( Vector rightSide, Vector result ) : void
rightSide Vector The vector to multiply with.
result Vector The result of the multiplication.
return void
        protected override void DoTransposeThisAndMultiply(Vector<float> rightSide, Vector<float> result)
        {
            var denseRight = rightSide as DenseVector;
            var denseResult = result as DenseVector;

            if (denseRight == null || denseResult == null)
            {
                base.DoTransposeThisAndMultiply(rightSide, result);
            }
            else
            {
                Control.LinearAlgebraProvider.MatrixMultiplyWithUpdate(
                    Providers.LinearAlgebra.Transpose.Transpose,
                    Providers.LinearAlgebra.Transpose.DontTranspose,
                    1.0f,
                    _values,
                    _rowCount,
                    _columnCount,
                    denseRight.Values,
                    denseRight.Count,
                    1,
                    0.0f,
                    denseResult.Values);
            }
        }

Same methods

DenseMatrix::DoTransposeThisAndMultiply ( Matrix other, Matrix result ) : void