absolute method

Matrix3 absolute ()

Returns the component wise absolute value of this.

Implementation

Matrix3 absolute() {
  final Matrix3 r = new Matrix3.zero();
  final Float64List rStorage = r._m3storage;
  rStorage[0] = _m3storage[0].abs();
  rStorage[1] = _m3storage[1].abs();
  rStorage[2] = _m3storage[2].abs();
  rStorage[3] = _m3storage[3].abs();
  rStorage[4] = _m3storage[4].abs();
  rStorage[5] = _m3storage[5].abs();
  rStorage[6] = _m3storage[6].abs();
  rStorage[7] = _m3storage[7].abs();
  rStorage[8] = _m3storage[8].abs();
  return r;
}