C# Class PerseusPluginLib.Norm.ScaleToInterval

Inheritance: IMatrixProcessing
显示文件 Open project: JurgenCox/perseus-plugins

Public Methods

Method Description
GetMaxThreads ( Parameters parameters ) : int
GetParameters ( IMatrixData mdata, string &errorString ) : Parameters
MapToInterval1 ( bool rows, IMatrixData data, double min, double max, int nthreads ) : void
ProcessData ( IMatrixData mdata, Parameters param, IMatrixData &supplTables, IDocumentData &documents, ProcessInfo processInfo ) : void

Private Methods

Method Description
Calc1 ( int i, IMatrixData data, double min, double max ) : void
Calc2 ( int j, IMatrixData data, double min, double max ) : void

Method Details

GetMaxThreads() public method

public GetMaxThreads ( Parameters parameters ) : int
parameters Parameters
return int

GetParameters() public method

public GetParameters ( IMatrixData mdata, string &errorString ) : Parameters
mdata IMatrixData
errorString string
return Parameters

MapToInterval1() public static method

public static MapToInterval1 ( bool rows, IMatrixData data, double min, double max, int nthreads ) : void
rows bool
data IMatrixData
min double
max double
nthreads int
return void

ProcessData() public method

public ProcessData ( IMatrixData mdata, Parameters param, IMatrixData &supplTables, IDocumentData &documents, ProcessInfo processInfo ) : void
mdata IMatrixData
param Parameters
supplTables IMatrixData
documents IDocumentData
processInfo ProcessInfo
return void