C# Class SimLab.ArrayHelper

Mostra file Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
CreateAllSlices ( int max ) : List
NewFloatArray ( int size, float value = 2 ) : float[]
NewIntArray ( int dimenSize, int value = 1 ) : int[]

创建数组

Method Details

CreateAllSlices() public static method

public static CreateAllSlices ( int max ) : List
max int
return List

NewFloatArray() public static method

public static NewFloatArray ( int size, float value = 2 ) : float[]
size int
value float
return float[]

NewIntArray() public static method

创建数组
public static NewIntArray ( int dimenSize, int value = 1 ) : int[]
dimenSize int 数组大小
value int 初始值
return int[]