operator ~ method
Negate all values
This is the same as multiplying the matrix with -1.
Implementation
Matrix operator ~() {
return this.map((x) => -x);
}
Negate all values
This is the same as multiplying the matrix with -1.
Matrix operator ~() {
return this.map((x) => -x);
}