Skip to content

Commit 33796e8

Browse files
committed
chore: add ndarray support
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent fb78c05 commit 33796e8

File tree

1 file changed

+11
-6
lines changed
  • lib/node_modules/@stdlib/blas/base/zaxpy/include/stdlib/blas/base

1 file changed

+11
-6
lines changed

lib/node_modules/@stdlib/blas/base/zaxpy/include/stdlib/blas/base/zaxpy.h

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
/**
2020
* Header file containing function declarations for the C interface to the BLAS Level 1 routine `zaxpy`.
2121
*/
22-
#ifndef ZAXPY_H
23-
#define ZAXPY_H
22+
#ifndef CAXPY_H
23+
#define CAXPY_H
2424

2525
#include "stdlib/blas/base/shared.h"
26-
#include "stdlib/complex/float64/ctor.h"
26+
#include "stdlib/complex/float32/ctor.h"
2727

2828
/*
2929
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C compiler.
@@ -33,12 +33,17 @@ extern "C" {
3333
#endif
3434

3535
/**
36-
* Scale a double-precision complex floating-point vector by a double-precision complex floating-point constant and add the result to a double-precision complex floating-point vector.
36+
* Scales a double-precision complex floating-point vector by a double-precision complex floating-point constant and adds the result to a double-precision complex floating-point vector.
3737
*/
38-
void API_SUFFIX(c_zaxpy)( const CBLAS_INT N, const stdlib_complex128_t alpha, void *X, const CBLAS_INT strideX, void *Y, const CBLAS_INT strideY );
38+
void API_SUFFIX(c_zaxpy)( const CBLAS_INT N, const stdlib_complex128_t alpha, const void *X, const CBLAS_INT strideX, void *Y, const CBLAS_INT strideY );
39+
40+
/**
41+
* Scales a double-precision complex floating-point vector by a double-precision complex floating-point constant and adds the result to a double-precision complex floating-point vector using alternative indexing semantics.
42+
*/
43+
void API_SUFFIX(c_zaxpy_ndarray)( const CBLAS_INT N, const stdlib_complex128_t alpha, const void *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, void *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY );
3944

4045
#ifdef __cplusplus
4146
}
4247
#endif
4348

44-
#endif // !ZAXPY_H
49+
#endif // !CAXPY_H

0 commit comments

Comments
 (0)