value to test
boolean indicating if a value is a centrosymmetric matrix
var ndarray = require( `@stdlib/ndarray/ctor` );
var arr = ndarray( 'generic', [ 2, 1, 1, 2 ], [ 2, 2 ], [ 2, 1 ], 0, 'row-major' );
var bool = isCentrosymmetricMatrix( arr );
// returns true
bool = isCentrosymmetricMatrix( [] );
// returns false
Tests if a value is a centrosymmetric matrix.
Notes