-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74b9ba8
commit e1253da
Showing
11 changed files
with
106 additions
and
173 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ Daniel Killenberger <[email protected]> | |
Daniel Yu <[email protected]> | ||
Debashis Maharana <[email protected]> | ||
Desh Deepak Kant <[email protected]> | ||
Dhruv Arvind Singh <[email protected]> | ||
Divyansh Seth <[email protected]> | ||
Dominic Lim <[email protected]> | ||
Dominik Moritz <[email protected]> | ||
|
@@ -49,6 +50,7 @@ Joey Reed <[email protected]> | |
Jordan Gallivan <[email protected]> | ||
Joris Labie <[email protected]> | ||
Justin Dennison <[email protected]> | ||
Karan Anand <[email protected]> | ||
Karthik Prakash <[email protected]> | ||
Kohantika Nath <[email protected]> | ||
Krishnendu Das <[email protected]> | ||
|
@@ -117,7 +119,7 @@ UtkershBasnet <[email protected]> | |
Vaibhav Patel <[email protected]> | ||
Varad Gupta <[email protected]> | ||
Vinit Pandit <[email protected]> | ||
Vivek maurya <[email protected].com> | ||
Vivek Maurya <vm8118134@gmail.com> | ||
Xiaochuan Ye <[email protected]> | ||
Yaswanth Kosuru <[email protected]> | ||
Yernar Yergaziyev <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Copyright (c) 2016-2024 The Stdlib Authors. | ||
Copyright (c) 2016-2025 The Stdlib Authors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* @license Apache-2.0 | ||
* | ||
* Copyright (c) 2025 The Stdlib Authors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
#include "stdlib/stats/base/dmeanvar.h" | ||
#include "stdlib/blas/base/shared.h" | ||
#include "stdlib/napi/export.h" | ||
#include "stdlib/napi/argv.h" | ||
#include "stdlib/napi/argv_int64.h" | ||
#include "stdlib/napi/argv_double.h" | ||
#include "stdlib/napi/argv_strided_float64array.h" | ||
#include <node_api.h> | ||
|
||
/** | ||
* Receives JavaScript callback invocation data. | ||
* | ||
* @param env environment under which the function is invoked | ||
* @param info callback data | ||
* @return Node-API value | ||
*/ | ||
static napi_value addon( napi_env env, napi_callback_info info ) { | ||
STDLIB_NAPI_ARGV( env, info, argv, argc, 6 ); | ||
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 ); | ||
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 3 ); | ||
STDLIB_NAPI_ARGV_INT64( env, strideOut, argv, 5 ); | ||
STDLIB_NAPI_ARGV_DOUBLE( env, correction, argv, 1 ); | ||
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, X, N, strideX, argv, 2 ); | ||
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, Out, 2, strideOut, argv, 4 ); | ||
API_SUFFIX(stdlib_strided_dmeanvar)( N, correction, X, strideX, Out, strideOut ); | ||
return NULL; | ||
} | ||
|
||
STDLIB_NAPI_MODULE_EXPORT_FCN( addon ) |
This file was deleted.
Oops, something went wrong.
File renamed without changes.