C# 클래스 numl.Math.LinearAlgebra.Vector

A vector.
파일 보기 프로젝트 열기: sethjuarez/numl 1 사용 예제들

공개 메소드들

메소드 설명
Calc ( Vector v, double>.Func f ) : Vector

Calcs.

Calc ( Vector v, Func f ) : Vector

Calcs.

Combine ( ) : Vector

Combines the given v.

ContainsNaN ( Vector vector ) : bool

Query if 'vector' contains NaN.

Diag ( Vector v ) : Matrix

Diags.

Diag ( Vector v, int n, int d ) : Matrix

Diags.

Dot ( Vector one, Vector two ) : double

Dots.

Exp ( Vector v ) : Vector

Exponents the given v.

IsNaN ( Vector vector ) : bool

Query if 'vector' is NaN.

Log ( Vector v ) : Vector

Logs the given v.

Norm ( Vector x ) : double

Normals.

Norm ( Vector x, double p ) : double

Normals.

NormRand ( int n, double mean, double stdDev = 1, int precision = -1 ) : Vector

Normalise random.

Ones ( int n ) : Vector

Ones.

Outer ( Vector x, Vector y ) : Matrix

Outers.

Prod ( Vector v ) : double

Products the given v.

Rand ( int n ) : Vector

Rands.

Round ( Vector v, int decimals ) : Vector

Rounds.

SortOrder ( Vector vector ) : Vector

Sort order.

Sum ( Vector v ) : double

Sums the given v.

Zeros ( int n ) : Vector

Zeros.

operator ( ) : IEnumerable

Returns an array of matching indices where each value is less than the supplied value.

operator ( ) : Vector

Mod operator.

operator ( ) : bool

Inequality operator.

메소드 상세

Calc() 공개 정적인 메소드

Calcs.
public static Calc ( Vector v, double>.Func f ) : Vector
v Vector A variable-length parameters list containing v.
f double>.Func The Func<int,double,double> to process.
리턴 Vector

Calc() 공개 정적인 메소드

Calcs.
public static Calc ( Vector v, Func f ) : Vector
v Vector A variable-length parameters list containing v.
f Func The Func<int,double,double> to process.
리턴 Vector

Combine() 공개 정적인 메소드

Combines the given v.
Thrown when the requested operation is invalid.
public static Combine ( ) : Vector
리턴 Vector

ContainsNaN() 공개 정적인 메소드

Query if 'vector' contains NaN.
public static ContainsNaN ( Vector vector ) : bool
vector Vector The vector.
리턴 bool

Diag() 공개 정적인 메소드

Diags.
public static Diag ( Vector v ) : Matrix
v Vector A variable-length parameters list containing v.
리턴 Matrix

Diag() 공개 정적인 메소드

Diags.
public static Diag ( Vector v, int n, int d ) : Matrix
v Vector A variable-length parameters list containing v.
n int The int to process.
d int The int to process.
리턴 Matrix

Dot() 공개 정적인 메소드

Dots.
Thrown when the requested operation is invalid.
public static Dot ( Vector one, Vector two ) : double
one Vector The one.
two Vector The two.
리턴 double

Exp() 공개 정적인 메소드

Exponents the given v.
public static Exp ( Vector v ) : Vector
v Vector A variable-length parameters list containing v.
리턴 Vector

IsNaN() 공개 정적인 메소드

Query if 'vector' is NaN.
public static IsNaN ( Vector vector ) : bool
vector Vector The vector.
리턴 bool

Log() 공개 정적인 메소드

Logs the given v.
public static Log ( Vector v ) : Vector
v Vector A variable-length parameters list containing v.
리턴 Vector

Norm() 공개 정적인 메소드

Normals.
public static Norm ( Vector x ) : double
x Vector The Vector to process.
리턴 double

Norm() 공개 정적인 메소드

Normals.
Thrown when the requested operation is invalid.
public static Norm ( Vector x, double p ) : double
x Vector The Vector to process.
p double The double to process.
리턴 double

NormRand() 공개 정적인 메소드

Normalise random.
public static NormRand ( int n, double mean, double stdDev = 1, int precision = -1 ) : Vector
n int The int to process.
mean double (Optional) the mean.
stdDev double (Optional) the standard development.
precision int (Optional) the precision.
리턴 Vector

Ones() 공개 정적인 메소드

Ones.
public static Ones ( int n ) : Vector
n int The int to process.
리턴 Vector

Outer() 공개 정적인 메소드

Outers.
Thrown when the requested operation is invalid.
public static Outer ( Vector x, Vector y ) : Matrix
x Vector The Vector to process.
y Vector The Vector to process.
리턴 Matrix

Prod() 공개 정적인 메소드

Products the given v.
public static Prod ( Vector v ) : double
v Vector A variable-length parameters list containing v.
리턴 double

Rand() 공개 정적인 메소드

Rands.
public static Rand ( int n ) : Vector
n int The int to process.
리턴 Vector

Round() 공개 정적인 메소드

Rounds.
public static Round ( Vector v, int decimals ) : Vector
v Vector A variable-length parameters list containing v.
decimals int (Optional) the decimals.
리턴 Vector

SortOrder() 공개 정적인 메소드

Sort order.
public static SortOrder ( Vector vector ) : Vector
vector Vector The vector.
리턴 Vector

Sum() 공개 정적인 메소드

Sums the given v.
public static Sum ( Vector v ) : double
v Vector A variable-length parameters list containing v.
리턴 double

Zeros() 공개 정적인 메소드

Zeros.
public static Zeros ( int n ) : Vector
n int The int to process.
리턴 Vector

operator() 공개 정적인 메소드

Returns an array of matching indices where each value is less than the supplied value.
public static operator ( ) : IEnumerable
리턴 IEnumerable

operator() 공개 정적인 메소드

Mod operator.
public static operator ( ) : Vector
리턴 Vector

operator() 공개 정적인 메소드

Inequality operator.
public static operator ( ) : bool
리턴 bool