C# 클래스 Accord.Math.ComplexMatrix

Static class ComplexExtensions. Defines a set of extension methods that operates mainly on multidimensional arrays and vectors of AForge.NET's Complex data type.
파일 보기 프로젝트 열기: accord-net/framework

공개 메소드들

메소드 설명
Abs ( this x ) : Complex[]

Computes the absolute value of an array of complex numbers.

Im ( this c ) : ].double[

Returns the imaginary matrix part of the complex matrix c.

Im ( this c ) : double[]

Returns the imaginary vector part of the complex vector c.

IsEqual ( this objA, Complex objB, double threshold ) : bool

Compares two matrices for equality, considering an acceptance threshold.

Magnitude ( this c ) : ].double[

Gets the magnitude of every complex number in a matrix.

Magnitude ( this c ) : double[]

Gets the magnitude of every complex number in an array.

Multiply ( this a, Complex b ) : Complex[]

Elementwise multiplication of two complex vectors.

Phase ( this c ) : double[]

Gets the phase of every complex number in an array.

Range ( this array ) : DoubleRange

Gets the range of the magnitude values in a complex number vector.

Re ( this c ) : ].double[

Returns the real matrix part of the complex matrix c.

Re ( this c ) : double[]

Returns the real vector part of the complex vector c.

Sum ( this x ) : Complex

Computes the sum of an array of complex numbers.

ToArray ( this c ) : ].double[

Converts a complex number to a matrix of scalar values in which the first column contains the real values and the second column contains the imaginary values.

ToComplex ( this real ) : Complex[]

Converts a vector of real numbers to complex numbers.

ToComplex ( this real, double imag ) : Complex[]

Combines a vector of real and a vector of imaginary numbers to form complex numbers.

비공개 메소드들

메소드 설명
SquaredMagnitude ( this value ) : double

메소드 상세

Abs() 공개 정적인 메소드

Computes the absolute value of an array of complex numbers.
public static Abs ( this x ) : Complex[]
x this
리턴 Complex[]

Im() 공개 정적인 메소드

Returns the imaginary matrix part of the complex matrix c.
public static Im ( this c ) : ].double[
c this A matrix of complex numbers.
리턴 ].double[

Im() 공개 정적인 메소드

Returns the imaginary vector part of the complex vector c.
public static Im ( this c ) : double[]
c this A vector of complex numbers.
리턴 double[]

IsEqual() 공개 정적인 메소드

Compares two matrices for equality, considering an acceptance threshold.
public static IsEqual ( this objA, Complex objB, double threshold ) : bool
objA this
objB Complex
threshold double
리턴 bool

Magnitude() 공개 정적인 메소드

Gets the magnitude of every complex number in a matrix.
public static Magnitude ( this c ) : ].double[
c this
리턴 ].double[

Magnitude() 공개 정적인 메소드

Gets the magnitude of every complex number in an array.
public static Magnitude ( this c ) : double[]
c this
리턴 double[]

Multiply() 공개 정적인 메소드

Elementwise multiplication of two complex vectors.
public static Multiply ( this a, Complex b ) : Complex[]
a this
b Complex
리턴 Complex[]

Phase() 공개 정적인 메소드

Gets the phase of every complex number in an array.
public static Phase ( this c ) : double[]
c this
리턴 double[]

Range() 공개 정적인 메소드

Gets the range of the magnitude values in a complex number vector.
public static Range ( this array ) : DoubleRange
array this A complex number vector.
리턴 AForge.DoubleRange

Re() 공개 정적인 메소드

Returns the real matrix part of the complex matrix c.
public static Re ( this c ) : ].double[
c this A matrix of complex numbers.
리턴 ].double[

Re() 공개 정적인 메소드

Returns the real vector part of the complex vector c.
public static Re ( this c ) : double[]
c this A vector of complex numbers.
리턴 double[]

Sum() 공개 정적인 메소드

Computes the sum of an array of complex numbers.
public static Sum ( this x ) : Complex
x this
리턴 Complex

ToArray() 공개 정적인 메소드

Converts a complex number to a matrix of scalar values in which the first column contains the real values and the second column contains the imaginary values.
public static ToArray ( this c ) : ].double[
c this An array of complex numbers.
리턴 ].double[

ToComplex() 공개 정적인 메소드

Converts a vector of real numbers to complex numbers.
public static ToComplex ( this real ) : Complex[]
real this The real numbers to be converted.
리턴 Complex[]

ToComplex() 공개 정적인 메소드

Combines a vector of real and a vector of imaginary numbers to form complex numbers.
public static ToComplex ( this real, double imag ) : Complex[]
real this The real part of the complex numbers.
imag double The imaginary part of the complex numbers
리턴 Complex[]