Add comment to Matrix::New function.
This commit is contained in:
23
src/Matrix.h
23
src/Matrix.h
@@ -41,10 +41,33 @@ namespace Aurora {
|
||||
|
||||
explicit Matrix(const Matrix::MatrixSlice& slice);
|
||||
|
||||
/**
|
||||
* New a mkl calculate based Matrix
|
||||
* @attention Using New function, must use Aurora:malloc to get memory
|
||||
* @param data
|
||||
* @param rows
|
||||
* @param cols
|
||||
* @param slices
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
static Matrix New(double *data, int rows, int cols = 0, int slices = 0, ValueType type = Normal);
|
||||
|
||||
/**
|
||||
* New a mkl calculate based Matrix
|
||||
* @attention Using New function, must use Aurora:malloc to get memory
|
||||
* @param data
|
||||
* @param shapeMatrix
|
||||
* @return
|
||||
*/
|
||||
static Matrix New(double *data, const Matrix &shapeMatrix);
|
||||
|
||||
/**
|
||||
* New a mkl calculate based Matrix
|
||||
* @attention Memory are allocate by Aurora:malloc function
|
||||
* @param shapeMatrix
|
||||
* @return
|
||||
*/
|
||||
static Matrix New(const Matrix &shapeMatrix);
|
||||
|
||||
Matrix getDataFromDims2(int aColumn);
|
||||
|
||||
Reference in New Issue
Block a user