enum2str
Return the BLAS transpose operation string associated with a BLAS transpose operation enumeration constant.
Usage
var enum2str = require( '@stdlib/blas/base/transpose-operation-enum2str' );
enum2str( operation )
Returns the BLAS transpose operation string associated with a BLAS transpose operation enumeration constant.
var str2enum = require( '@stdlib/blas/base/transpose-operation-str2enum' );
var v = str2enum( 'transpose' );
// returns <number>
var s = enum2str( v );
// returns 'transpose'
If unable to resolve a operation string, the function returns null
.
var v = enum2str( -999999999 );
// returns null
Examples
var str2enum = require( '@stdlib/blas/base/transpose-operation-str2enum' );
var enum2str = require( '@stdlib/blas/base/transpose-operation-enum2str' );
var str = enum2str( str2enum( 'transpose' ) );
// returns 'transpose'
str = enum2str( str2enum( 'conjugate-transpose' ) );
// returns 'conjugate-transpose'