@stdlib/blas-base-transpose-operations
v0.1.0
Published
BLAS transpose operations.
Downloads
2,066
Readme
Transpose Operations
BLAS transpose operations.
Installation
npm install @stdlib/blas-base-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.
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.