Fix copyFromRawData and fromRawData bug
This commit is contained in:
@@ -53,7 +53,7 @@ namespace Aurora {
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
static Matrix fromRawData(double *data, int rows, int cols = 0, int slices = 0, ValueType type = Normal);
|
||||
static Matrix fromRawData(double *data, int rows, int cols = 1, int slices = 1, ValueType type = Normal);
|
||||
|
||||
/**
|
||||
* Create from a Raw data(double array) with copy the data to a new mkl memory.
|
||||
@@ -64,7 +64,7 @@ namespace Aurora {
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
static Matrix copyFromRawData(double *data, int rows, int cols = 0, int slices = 0, ValueType type = Normal);
|
||||
static Matrix copyFromRawData(double *data, int rows, int cols = 1, int slices = 1, ValueType type = Normal);
|
||||
|
||||
/**
|
||||
* New a mkl calculate based Matrix
|
||||
@@ -76,7 +76,7 @@ namespace Aurora {
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
static Matrix New(double *data, int rows, int cols = 0, int slices = 0, ValueType type = Normal);
|
||||
static Matrix New(double *data, int rows, int cols = 1, int slices = 1, ValueType type = Normal);
|
||||
|
||||
/**
|
||||
* New a mkl calculate based Matrix
|
||||
|
||||
Reference in New Issue
Block a user