flip method

List flip({
  1. int? axis,
})

flip (reverse) the matrix along the given axis and returns the modified array.

Implementation

List flip({int? axis}) => Matrix2d().reverse(this, axis);