C# 클래스 Encog.Engine.Util.EngineArray

Simple array utilities for Encog.
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
AllocateBool2D ( int rows, int cols ) : bool[][]

Allocate a 2D array of bools.

AllocateDouble2D ( int rows, int cols ) : double[][]

Allocate a 2D array of doubles.

ArrayCopy ( double input ) : double[]

Copy a double array.

ArrayCopy ( double source ) : double[][]

Copy a 2d array.

ArrayCopy ( int input ) : int[]

Copy an int array.

ArrayCopy ( double src, double dst ) : void

Completely copy one array into another.

ArrayCopy ( double source, float target ) : void

Copy a double array to a float array.

ArrayCopy ( double source, int sourceIndex, double output, int targetIndex, int size ) : void

Copy an array of doubles.

ArrayCopy ( float source, double target ) : void

Copy a float array to a double array.

ArrayCopy ( int src, int dst ) : void

Completely copy one array into another.

Fill ( double target, int value ) : void

Fill the array with the specified value.

Fill ( float target, int value ) : void

Fill the array with the specified value.

FindStringInArray ( String search, String searchFor ) : int

Search for a string in an array.

ListToDouble ( IList list ) : double[]

Convert the collection to an array list of doubles.

VectorProduct ( double a, double b ) : double

Calculate the product of two vectors (a scalar value).

비공개 메소드들

메소드 설명
Fill ( double p, double value ) : void

Fill the specified array with the specified value.

메소드 상세

AllocateBool2D() 공개 정적인 메소드

Allocate a 2D array of bools.
public static AllocateBool2D ( int rows, int cols ) : bool[][]
rows int The number of rows.
cols int The number of columns.
리턴 bool[][]

AllocateDouble2D() 공개 정적인 메소드

Allocate a 2D array of doubles.
public static AllocateDouble2D ( int rows, int cols ) : double[][]
rows int The number of rows.
cols int The number of columns.
리턴 double[][]

ArrayCopy() 공개 정적인 메소드

Copy a double array.
public static ArrayCopy ( double input ) : double[]
input double The array to copy.
리턴 double[]

ArrayCopy() 공개 정적인 메소드

Copy a 2d array.
public static ArrayCopy ( double source ) : double[][]
source double The source.
리턴 double[][]

ArrayCopy() 공개 정적인 메소드

Copy an int array.
public static ArrayCopy ( int input ) : int[]
input int The array to copy.
리턴 int[]

ArrayCopy() 공개 정적인 메소드

Completely copy one array into another.
public static ArrayCopy ( double src, double dst ) : void
src double Source array.
dst double Destination array.
리턴 void

ArrayCopy() 공개 정적인 메소드

Copy a double array to a float array.
public static ArrayCopy ( double source, float target ) : void
source double The double array.
target float The float array.
리턴 void

ArrayCopy() 공개 정적인 메소드

Copy an array of doubles.
public static ArrayCopy ( double source, int sourceIndex, double output, int targetIndex, int size ) : void
source double The source array.
sourceIndex int The source index.
output double The output array.
targetIndex int The output index.
size int The size to copy.
리턴 void

ArrayCopy() 공개 정적인 메소드

Copy a float array to a double array.
public static ArrayCopy ( float source, double target ) : void
source float The double array.
target double The float array.
리턴 void

ArrayCopy() 공개 정적인 메소드

Completely copy one array into another.
public static ArrayCopy ( int src, int dst ) : void
src int Source array.
dst int Destination array.
리턴 void

Fill() 공개 정적인 메소드

Fill the array with the specified value.
public static Fill ( double target, int value ) : void
target double The array to fill.
value int The value to fill.
리턴 void

Fill() 공개 정적인 메소드

Fill the array with the specified value.
public static Fill ( float target, int value ) : void
target float The array to fill.
value int The value to fill.
리턴 void

FindStringInArray() 공개 정적인 메소드

Search for a string in an array.
public static FindStringInArray ( String search, String searchFor ) : int
search String Where to search.
searchFor String What we are looking for.
리턴 int

ListToDouble() 공개 정적인 메소드

Convert the collection to an array list of doubles.
public static ListToDouble ( IList list ) : double[]
list IList The list to convert.
리턴 double[]

VectorProduct() 공개 정적인 메소드

Calculate the product of two vectors (a scalar value).
public static VectorProduct ( double a, double b ) : double
a double First vector to multiply.
b double Second vector to multiply.
리턴 double