module/src/matrix.js
/**
     * Create a new matrix that is a horizontally flipped copy of the current matrix.
     * @return {Matrix}
     */
Create a new matrix that is a horizontally flipped copy of the current matrix.
@return {Matrix}
Create a new matrix that is a horizontally flipped copy of the current matrix . @return { Matrix }
hflip() {
        const copy = this.clone();
        for (let row of copy.data) {
            row.reverse();
        }
        return copy;
    }
hflip ( ) { const copy = this . clone ( ) ; for ( let row of copy . data ) { row . reverse ( ) ; } return copy ; }
Create a new matrix that is a horizontally flipped copy of the current matrix.
Create a new matrix that is a horizontally flipped copy of the current matrix .