Fix Matrix slice toMatrix, add is Scalar and getScalar

This commit is contained in:
Krad
2023-04-27 14:36:15 +08:00
parent 1056f970fa
commit 6d709f74e0
2 changed files with 37 additions and 13 deletions

View File

@@ -149,6 +149,12 @@ namespace Aurora {
*/
void printf();
void printfShape();
bool isScalar() const;
double getScalar() const;
/**
* Get is the Matrix's data is empty or size is zero.
* @return