C# Class NSoft.NFramework.Numerics.ComplexTool

복소수 연산을 위한 Helper Class입니다.
显示文件 Open project: debop/NFramework

Public Methods

Method Description
Clamp ( this source, System.Complex min, System.Complex max ) : IEnumerable

지정된 Complex 시퀀스의 요소들의 값을 최대, 최소값 범위안에 위치 시킨다.

ClampLength ( this source, double minValue, double maxValue ) : IEnumerable

제공된 Complex 시퀀스의 요소들의 modulus(length)를 지정된 최소, 최대값으로 제한한다.

ClampToRealUnit ( this source ) : IEnumerable

지정된 Complex 시퀀스의 요소들의 Real Part를 0~1 값을 가지게 하고, Image part는 0을 가지게 한다.

Copy ( this src, System.Complex dest ) : void

src 요소를 dest로 복사합니다. 대상 배열의 크기가 원본의 크기보다 크거나 같아야합니다.

Divide ( this first, IEnumerable second ) : IEnumerable

GetLengthRange ( this source, double &min, double &max ) : void

지정된 Complex 시퀀스에서 최대/최소 절대값(Modulus/Length)를 구한다.

Invert ( this source ) : IEnumerable

Invert (1 / c)

Mean ( this source ) : System.Complex

평균, 중간값

Multiply ( this first, IEnumerable second ) : IEnumerable

두 시퀀스를 곱합니다.

Norm ( this complex ) : double

Returns a Norm of a value of this type, which is appropriate for measuring how close this value is to zero.

NormOfDifference ( this complex, System.Complex other ) : double

Returns a Norm of the difference of two values of this type, which is appropriate for measuring how close together these two values are.

Normalize ( this source ) : IEnumerable

시퀀스 요소의 Length들을 0~1의 값을 갖도록 정규화를 수행한다.

Offset ( this source, System.Complex offset ) : IEnumerable

지정된 offset 만큼 Complex 시퀀스의 real part 값을 증가시킨다.

Offset ( this source, double offset ) : IEnumerable

지정된 offset 만큼 Complex 시퀀스의 real part 값을 증가시킨다.

Pow ( this c, double e ) : System.Complex

지수

RMSError ( IEnumerable alpha, IEnumerable beta ) : double

평균 제곱합 제곱근 오차(Root Mean Square Error: RMS 오차)

Reverse ( this source ) : void

지정된 배열을 역순 정렬을 합니다.

Scale ( this source, System.Complex scale ) : IEnumerable

시퀀스의 Complex에 sclae 값을 곱한다.

Scale ( this source, double scale ) : IEnumerable

시퀀스의 Complex에 scale 값을 곱한다.

SequentialApproximateEqual ( this first, IEnumerable second, double epsilon = MathTool.Epsilon ) : bool

지정된 두개의 Complex 시퀀스의 요소들이 오차범위에서 일치하는지 검사한다.

Shift ( this source, int offset ) : void

지정된 Offset 값 만큼 Complex 를 Shift 시킨다.

Sqrt ( this c ) : System.Complex

제곱근

StdDev ( this source ) : System.Complex

표준편차

Sum ( this source ) : System.Complex

Complex 시퀀스의 합을 구한다.

SumOfSquaredError ( IEnumerable alpha, IEnumerable beta ) : double

두 시퀀스의 차이에 대한 제곱 값의 총합

SumOfSquares ( this source ) : System.Complex

지정된 시퀀스의 Complex 요소의 제곱의 합을 구합니다.

SumOfSquares ( this source, int startIndex, int count ) : System.Complex

지정된 시퀀스의 범위에 있는 Complex 요소의 제곱의 합을 구합니다.

SumRecursive ( this source, int startIndex, int count ) : System.Complex

시퀀스의 startIndex 부터 count 갯수 만큼의 요소만을 합산한다.

Swap ( System.Complex &a, System.Complex &b ) : void

두 변수를 교환합니다.

Swap ( this array, int left, int right ) : void

지정된 배열의 지정된 위치의 요소를 교환합니다.

Variance ( this source ) : System.Complex

분산

Method Details

Clamp() public static method

지정된 Complex 시퀀스의 요소들의 값을 최대, 최소값 범위안에 위치 시킨다.
public static Clamp ( this source, System.Complex min, System.Complex max ) : IEnumerable
source this
min System.Complex
max System.Complex
return IEnumerable

ClampLength() public static method

제공된 Complex 시퀀스의 요소들의 modulus(length)를 지정된 최소, 최대값으로 제한한다.
public static ClampLength ( this source, double minValue, double maxValue ) : IEnumerable
source this
minValue double
maxValue double
return IEnumerable

ClampToRealUnit() public static method

지정된 Complex 시퀀스의 요소들의 Real Part를 0~1 값을 가지게 하고, Image part는 0을 가지게 한다.
public static ClampToRealUnit ( this source ) : IEnumerable
source this
return IEnumerable

Copy() public static method

src 요소를 dest로 복사합니다. 대상 배열의 크기가 원본의 크기보다 크거나 같아야합니다.
public static Copy ( this src, System.Complex dest ) : void
src this
dest System.Complex
return void

Divide() public static method

public static Divide ( this first, IEnumerable second ) : IEnumerable
first this
second IEnumerable
return IEnumerable

GetLengthRange() public static method

지정된 Complex 시퀀스에서 최대/최소 절대값(Modulus/Length)를 구한다.
public static GetLengthRange ( this source, double &min, double &max ) : void
source this
min double
max double
return void

Invert() public static method

Invert (1 / c)
public static Invert ( this source ) : IEnumerable
source this
return IEnumerable

Mean() public static method

평균, 중간값
public static Mean ( this source ) : System.Complex
source this
return System.Complex

Multiply() public static method

두 시퀀스를 곱합니다.
public static Multiply ( this first, IEnumerable second ) : IEnumerable
first this
second IEnumerable
return IEnumerable

Norm() public static method

Returns a Norm of a value of this type, which is appropriate for measuring how close this value is to zero.
public static Norm ( this complex ) : double
complex this The number to perfom this operation on.
return double

NormOfDifference() public static method

Returns a Norm of the difference of two values of this type, which is appropriate for measuring how close together these two values are.
public static NormOfDifference ( this complex, System.Complex other ) : double
complex this The number to perfom this operation on.
other System.Complex The value to compare with.
return double

Normalize() public static method

시퀀스 요소의 Length들을 0~1의 값을 갖도록 정규화를 수행한다.
public static Normalize ( this source ) : IEnumerable
source this
return IEnumerable

Offset() public static method

지정된 offset 만큼 Complex 시퀀스의 real part 값을 증가시킨다.
public static Offset ( this source, System.Complex offset ) : IEnumerable
source this
offset System.Complex
return IEnumerable

Offset() public static method

지정된 offset 만큼 Complex 시퀀스의 real part 값을 증가시킨다.
public static Offset ( this source, double offset ) : IEnumerable
source this
offset double
return IEnumerable

Pow() public static method

지수
public static Pow ( this c, double e ) : System.Complex
c this
e double
return System.Complex

RMSError() public static method

평균 제곱합 제곱근 오차(Root Mean Square Error: RMS 오차)
public static RMSError ( IEnumerable alpha, IEnumerable beta ) : double
alpha IEnumerable
beta IEnumerable
return double

Reverse() public static method

지정된 배열을 역순 정렬을 합니다.
public static Reverse ( this source ) : void
source this
return void

Scale() public static method

시퀀스의 Complex에 sclae 값을 곱한다.
public static Scale ( this source, System.Complex scale ) : IEnumerable
source this
scale System.Complex
return IEnumerable

Scale() public static method

시퀀스의 Complex에 scale 값을 곱한다.
public static Scale ( this source, double scale ) : IEnumerable
source this
scale double
return IEnumerable

SequentialApproximateEqual() public static method

지정된 두개의 Complex 시퀀스의 요소들이 오차범위에서 일치하는지 검사한다.
public static SequentialApproximateEqual ( this first, IEnumerable second, double epsilon = MathTool.Epsilon ) : bool
first this
second IEnumerable
epsilon double
return bool

Shift() public static method

지정된 Offset 값 만큼 Complex 를 Shift 시킨다.
public static Shift ( this source, int offset ) : void
source this
offset int
return void

Sqrt() public static method

제곱근
public static Sqrt ( this c ) : System.Complex
c this
return System.Complex

StdDev() public static method

표준편차
public static StdDev ( this source ) : System.Complex
source this
return System.Complex

Sum() public static method

Complex 시퀀스의 합을 구한다.
public static Sum ( this source ) : System.Complex
source this
return System.Complex

SumOfSquaredError() public static method

두 시퀀스의 차이에 대한 제곱 값의 총합
public static SumOfSquaredError ( IEnumerable alpha, IEnumerable beta ) : double
alpha IEnumerable
beta IEnumerable
return double

SumOfSquares() public static method

지정된 시퀀스의 Complex 요소의 제곱의 합을 구합니다.
public static SumOfSquares ( this source ) : System.Complex
source this
return System.Complex

SumOfSquares() public static method

지정된 시퀀스의 범위에 있는 Complex 요소의 제곱의 합을 구합니다.
public static SumOfSquares ( this source, int startIndex, int count ) : System.Complex
source this
startIndex int
count int
return System.Complex

SumRecursive() public static method

시퀀스의 startIndex 부터 count 갯수 만큼의 요소만을 합산한다.
public static SumRecursive ( this source, int startIndex, int count ) : System.Complex
source this
startIndex int
count int
return System.Complex

Swap() public static method

두 변수를 교환합니다.
public static Swap ( System.Complex &a, System.Complex &b ) : void
a System.Complex
b System.Complex
return void

Swap() public static method

지정된 배열의 지정된 위치의 요소를 교환합니다.
public static Swap ( this array, int left, int right ) : void
array this
left int
right int
return void

Variance() public static method

분산
public static Variance ( this source ) : System.Complex
source this
return System.Complex