Add operator [] to Matrix
This commit is contained in:
@@ -169,6 +169,9 @@ namespace Aurora {
|
||||
friend Matrix operator==(double aScalar, const Matrix &matrix);
|
||||
Matrix operator==(const Matrix &matrix) const;
|
||||
|
||||
// sub
|
||||
double operator[](size_t index) const;
|
||||
|
||||
|
||||
/**
|
||||
* 矩阵乘法
|
||||
|
||||
Reference in New Issue
Block a user