Namespaces

Types

Type ComplexVector

Namespace MathNet.Numerics.LinearAlgebra

Interfaces IVector<T>, IList<Complex>, ICloneable

Methods

Properties

Public instance methods

ComplexVector Add(IVector<T> b)

Parameters
return ComplexVector
IVector<T> b

ComplexVector Add(Complex b)

Add a complex scalar to all elements of this vector.
This method has the same effect as the overloaded + operator.
Parameters
return ComplexVector
Complex b The complex scalar.

void AddInplace(IVector<T> b)

Parameters
IVector<T> b

void AddInplace(Complex b)

In place addition of a complex scalar to all elements of this vector.
This method changes this vector.
Parameters
Complex b

ComplexVector ArrayDivide(IVector<T> b)

Parameters
return ComplexVector
IVector<T> b

void ArrayDivideInplace(IVector<T> b)

Parameters
IVector<T> b

ComplexVector ArrayMap(Converter<Complex, Complex> mapping)

Parameters
return ComplexVector
Converter<Complex, Complex> mapping

void ArrayMapInplace(Converter<Complex, Complex> mapping)

Parameters
Converter<Complex, Complex> mapping

ComplexVector ArrayMultiply(IVector<T> b)

Parameters
return ComplexVector
IVector<T> b

void ArrayMultiplyInplace(IVector<T> b)

Parameters
IVector<T> b

ComplexVector ArrayPower(Complex exponent)

Array (element-by-element) raise to power.
Parameters
return ComplexVector
Complex exponent

void ArrayPowerInplace(Complex exponent)

In place array (element-by-element) raise to power.
This method changes this vector.
Parameters
Complex exponent

ComplexVector Clone()

Returns a deep copy of this instance.
Parameters
return ComplexVector

ComplexVector Conjugate()

Conjugate this vector.
Parameters
return ComplexVector

void ConjugateInplace()

In place conjugation of this vector.
This method changes this vector.

Complex[] CopyToArray()

Copies the internal data structure to an array.
Parameters
return Complex[]

ComplexVector CrossMultiply(IVector<T> b)

Parameters
return ComplexVector
IVector<T> b

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

ComplexVector Multiply(Complex scalar)

Scale this complex vector with a complex scalar.
This method has the same effect as the overloaded * operator.
Parameters
return ComplexVector
Complex scalar The scalar to scale with

void MultiplyInplace(Complex scalar)

Multiplies in place this Vector by a scalar.
This method changes this vector.
Parameters
Complex scalar

ComplexVector Negate()

Negate this vector.
This method has the same effect as the overloaded - operator.
Parameters
return ComplexVector

void NegateInplace()

In place unary minus of the Vector.
This method changes this vector.

double Norm1()

1-Norm also known as Manhattan Norm or Taxicab Norm.
Parameters
return double

Complex ScalarMultiply(IVector<T> b)

Parameters
return Complex
IVector<T> b

ComplexVector Subtract(IVector<T> b)

Parameters
return ComplexVector
IVector<T> b

ComplexVector Subtract(Complex b)

Subtract a complex scalar from all elements of this vector.
This method has the same effect as the overloaded - operator.
Parameters
return ComplexVector
Complex b The complex scalar.

void SubtractInplace(Complex b)

In place subtraction of a complex scalar from all elements of this vector.
This method changes this vector.
Parameters
Complex b

void SubtractInplace(IVector<T> b)

Parameters
IVector<T> b

ComplexMatrix TensorMultiply(IVector<T> b)

Parameters
return ComplexMatrix
IVector<T> b

ComplexMatrix ToColumnMatrix()

Create a matrix based on this vector in column form (one single column).
Parameters
return ComplexMatrix

ComplexMatrix ToRowMatrix()

Create a matrix based on this vector in row form (one single row).
Parameters
return ComplexMatrix

string ToString()

Formats this vector to a human-readable string
Parameters
return string

Public static methods

ComplexVector ArrayProduct(IVector<T> a, IVector<T> b)

Parameters
return ComplexVector
IVector<T> a
IVector<T> b

ComplexVector ArrayQuotient(IVector<T> a, IVector<T> b)

Parameters
return ComplexVector
IVector<T> a
IVector<T> b

ComplexVector BasisVector(int n, int i)

Generates an n-dimensional unit vector for i'th coordinate.
Parameters
return ComplexVector
int n Dimensionality of vector.
int i Coordinate index.

ComplexVector Create(IList<double> realComponents, IList<double> imagComponents)

Parameters
return ComplexVector
IList<double> realComponents
IList<double> imagComponents

ComplexVector Create(Complex[] components)

Parameters
return ComplexVector
Complex[] components

ComplexVector CrossProduct(IVector<T> u, IVector<T> v)

Parameters
return ComplexVector
IVector<T> u
IVector<T> v

ComplexMatrix DyadicProduct(IVector<T> u, IVector<T> v)

Parameters
return ComplexMatrix
IVector<T> u
IVector<T> v

ComplexVector Ones(int n)

Generates an n-dimensional vector filled with 1.
Parameters
return ComplexVector
int n Dimensionality of vector.

Complex ScalarProduct(IVector<T> u, IVector<T> v)

Parameters
return Complex
IVector<T> u
IVector<T> v

ComplexVector Zeros(int n)

Generates an n-dimensional vector filled with 0.
Parameters
return ComplexVector
int n Dimensionality of vector.

Public properties

Complex Item get; set;

Gets or sets the element indexed by iin the Vector.
return Complex

int Length get;

Gets dimensionality of the vector.
return int