Add const operator[] to Matrix.
This commit is contained in:
@@ -471,6 +471,8 @@ namespace Aurora {
|
||||
}
|
||||
|
||||
double& Matrix::operator[](size_t index) { return getData()[index];}
|
||||
double Matrix::operator[](size_t index) const { return getData()[index];}
|
||||
|
||||
|
||||
void Matrix::printf() {
|
||||
if(isNull())
|
||||
|
||||
Reference in New Issue
Block a user