Transpose Operations
BLAS transpose operations.
Usage
var transposeOperations = require( '@stdlib/blas/base/transpose-operations' );
transposeOperations()
Returns a list of BLAS transpose operations.
var out = transposeOperations();
// e.g., returns [ 'no-transpose', 'transpose', 'conjugate-transpose' ]
The output array contains the following operations:
no-transpose
: no transposition.transpose
: transposition.conjugate-transpose
: conjugate transposition.
Examples
var contains = require( '@stdlib/array/base/assert/contains' ).factory;
var transposeOperations = require( '@stdlib/blas/base/transpose-operations' );
var isOp = contains( transposeOperations() );
var bool = isOp( 'transpose' );
// returns true
bool = isOp( 'conjugate-transpose' );
// returns true
bool = isOp( 'beep' );
// returns false
C APIs
Usage
#include "stdlib/blas/base/transpose_operations.h"
STDLIB_BLAS_TRANSPOSE_OPERATION
An enumeration of BLAS transpose operations with the following fields:
- STDLIB_BLAS_NO_TRANSPOSE: no transposition.
- STDLIB_BLAS_TRANSPOSE: transposition.
- STDLIB_BLAS_CONJUGATE_TRANSPOSE: conjugate transposition.
#include "stdlib/blas/base/transpose_operations.h"
const enum STDLIB_BLAS_TRANSPOSE_OPERATION op = STDLIB_BLAS_TRANSPOSE;
Notes
- Enumeration constants should be considered opaque values, and one should not rely on specific integer values.