You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Returns the BLAS diagonal type string associated with a BLAS diagonal type enumeration constant.
395
+
*
396
+
* @param value - enumeration constant
397
+
* @returns diagonal type string
398
+
*
399
+
* @example
400
+
* var str2enum = require( '@stdlib/blas/base/diagonal-type-str2enum' );
401
+
*
402
+
* var v = str2enum( 'unit' );
403
+
* // returns <number>
404
+
*
405
+
* var s = ns.diagonalTypeEnum2Str( v );
406
+
* // returns 'unit'
407
+
*/
408
+
diagonalTypeEnum2Str: typeofdiagonalTypeEnum2Str;
409
+
410
+
/**
411
+
* Returns the enumeration constant associated with a BLAS diagonal type value.
412
+
*
413
+
* ## Notes
414
+
*
415
+
* - Downstream consumers of this function should **not** rely on specific integer values (e.g., `UNIT == 0`). Instead, the function should be used in an opaque manner.
416
+
*
417
+
* @param value - diagonal type value
418
+
* @returns enumeration constant
419
+
*
420
+
* @example
421
+
* var v = ns.diagonalTypeResolveEnum( 'non-unit' );
* Returns the enumeration constant associated with a BLAS diagonal type.
442
+
*
443
+
* ## Notes
444
+
*
445
+
* - Downstream consumers of this function should **not** rely on specific integer values (e.g., `UNIT == 0`). Instead, the function should be used in an opaque manner.
446
+
*
447
+
* @param diagonal - diagonal type
448
+
* @returns enumeration constant
449
+
*
450
+
* @example
451
+
* var v = ns.diagonalTypeStr2Enum( 'unit' );
452
+
* // returns <number>
453
+
*/
454
+
diagonalTypeStr2Enum: typeofdiagonalTypeStr2Enum;
455
+
381
456
/**
382
457
* Returns a list of diagonal element types.
383
458
*
@@ -827,6 +902,69 @@ interface Namespace {
827
902
*/
828
903
layouts: typeoflayouts;
829
904
905
+
/**
906
+
* Returns the BLAS matrix triangle string associated with a BLAS matrix triangle enumeration constant.
907
+
*
908
+
* @param value - enumeration constant
909
+
* @returns matrix triangle string
910
+
*
911
+
* @example
912
+
* var str2enum = require( '@stdlib/blas/base/matrix-triangle-str2enum' );
* Returns the enumeration constant associated with a BLAS matrix triangle value.
924
+
*
925
+
* ## Notes
926
+
*
927
+
* - Downstream consumers of this function should **not** rely on specific integer values (e.g., `UPPER == 0`). Instead, the function should be used in an opaque manner.
928
+
*
929
+
* @param value - matrix triangle value
930
+
* @returns enumeration constant
931
+
*
932
+
* @example
933
+
* var v = ns.matrixTriangleResolveEnum( 'lower' );
* Returns the enumeration constant associated with a BLAS matrix triangle.
954
+
*
955
+
* ## Notes
956
+
*
957
+
* - Downstream consumers of this function should **not** rely on specific integer values (e.g., `UPPER == 0`). Instead, the function should be used in an opaque manner.
* Returns the enumeration constant associated with a BLAS operation side value.
998
+
*
999
+
* ## Notes
1000
+
*
1001
+
* - Downstream consumers of this function should **not** rely on specific integer values (e.g., `LEFT == 0`). Instead, the function should be used in an opaque manner.
* Returns the enumeration constant associated with a BLAS operation side.
1028
+
*
1029
+
* ## Notes
1030
+
*
1031
+
* - Downstream consumers of this function should **not** rely on specific integer values (e.g., `LEFT == 0`). Instead, the function should be used in an opaque manner.
0 commit comments