Namespaces

Types

Type ILinearAlgebra

Namespace MathNet.Numerics.Algorithms.LinearAlgebra

Interface to linear algebra algorithms that work off 1-D arrays.

Methods

Public instance methods

void AddVectorToScaledVector(Double[] y, double alpha, Double[] x)

Adds a scaled vector to another: y += alpha*x.
This is equivalent to the AXPY BLAS routine.
Parameters
Double[] y The vector to update.
double alpha The value to scale by.
Double[] x The vector to add to y.

void ScaleArray(double alpha, Double[] x)

Scales an array. Can be used to scale a vector and a matrix.
This is equivalent to the SCAL BLAS routine.
Parameters
double alpha The scalar.
Double[] x The values to scale.