Skip to content

feat: add blas/base/drotmg #5022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 15 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: indentation
---
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: passed
  - 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: passed
  - task: lint_typescript_tests
    status: na
  - task: lint_license_headers
    status: passed
---
  • Loading branch information
ShabiShett07 committed May 1, 2025
commit 038983c10a7753f87b4e6f862e1682775092eddd
76 changes: 38 additions & 38 deletions lib/node_modules/@stdlib/blas/base/drotmg/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,47 +23,47 @@
*/
interface Routine {
/**
* Constructs the parameters for a modified Givens plane rotation.
*
* @param d1 - scaling factor for the first vector component
* @param d2 - scaling factor for the second vector component
* @param x1 - first component of the first vector
* @param y1 - first component of the second vector
* @returns - output array containing the rotation parameters
*
* @example
* var out = drotmg( 3.0, 4.0, 1.5, 2.5 );
* // returns <Float64Array>[ 1.0, 0.45, 0.0, 0.0, 0.6 ]
*
* @example
* var out = drotmg( 3.0, 5.0, 1.0, 2.0 );
* // returns <Float64Array>[ 1.0, 0.3, 0.0, 0.0, 0.5 ]
*/
* Constructs the parameters for a modified Givens plane rotation.
*
* @param d1 - scaling factor for the first vector component
* @param d2 - scaling factor for the second vector component
* @param x1 - first component of the first vector
* @param y1 - first component of the second vector
* @returns - output array containing the rotation parameters
*
* @example
* var out = drotmg( 3.0, 4.0, 1.5, 2.5 );
* // returns <Float64Array>[ 1.0, 0.45, 0.0, 0.0, 0.6 ]
*
* @example
* var out = drotmg( 3.0, 5.0, 1.0, 2.0 );
* // returns <Float64Array>[ 1.0, 0.3, 0.0, 0.0, 0.5 ]
*/
( d1: number, d2: number, x1: number, y1: number ): Float64Array;

/**
* Constructs the parameters for a modified Givens plane rotation.
*
* @param d1 - scaling factor for the first vector component
* @param d2 - scaling factor for the second vector component
* @param x1 - first component of the first vector
* @param y1 - first component of the second vector
* @param out - output array
* @param stride - index increment
* @param offset - starting index
* @returns - output array containing the rotation parameters
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var out = new Float64Array( 5 );
*
* var y = drotmg.assign( 3.0, 4.0, 1.5, 2.5, out, 1, 0 );
* // returns <Float64Array>[ 1.0, 0.45, 0.0, 0.0, 0.6 ]
*
* var bool = (y === out);
* // returns true
*/
* Constructs the parameters for a modified Givens plane rotation.
*
* @param d1 - scaling factor for the first vector component
* @param d2 - scaling factor for the second vector component
* @param x1 - first component of the first vector
* @param y1 - first component of the second vector
* @param out - output array
* @param stride - index increment
* @param offset - starting index
* @returns - output array containing the rotation parameters
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var out = new Float64Array( 5 );
*
* var y = drotmg.assign( 3.0, 4.0, 1.5, 2.5, out, 1, 0 );
* // returns <Float64Array>[ 1.0, 0.45, 0.0, 0.0, 0.6 ]
*
* var bool = (y === out);
* // returns true
*/
assign( d1: number, d2: number, x1: number, y1: number, out: Float64Array, stride: number, offset: number ): Float64Array;
}

Expand Down
144 changes: 72 additions & 72 deletions lib/node_modules/@stdlib/blas/base/drotmg/package.json
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
{
"name": "@stdlib/blas/base/drotmg",
"version": "0.0.0",
"description": "Construct a Givens plane rotation.",
"license": "Apache-2.0",
"author": {
"name": "@stdlib/blas/base/drotmg",
"version": "0.0.0",
"description": "Construct a Givens plane rotation.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
},
"contributors": [
{
"name": "The Stdlib Authors",
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
},
"contributors": [
{
"name": "The Stdlib Authors",
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
}
],
"main": "./lib",
"directories": {
"benchmark": "./benchmark",
"doc": "./docs",
"example": "./examples",
"lib": "./lib",
"test": "./test"
},
"types": "./docs/types",
"scripts": {},
"homepage": "https://github.com/stdlib-js/stdlib",
"repository": {
"type": "git",
"url": "git://github.com/stdlib-js/stdlib.git"
},
"bugs": {
"url": "https://github.com/stdlib-js/stdlib/issues"
},
"dependencies": {},
"devDependencies": {},
"engines": {
"node": ">=0.10.0",
"npm": ">2.7.0"
},
"os": [
"aix",
"darwin",
"freebsd",
"linux",
"macos",
"openbsd",
"sunos",
"win32",
"windows"
],
"keywords": [
"stdlib",
"stdmath",
"mathematics",
"math",
"blas",
"level 1",
"drotmg",
"parameters",
"modified",
"givens",
"rotation",
"matrix",
"linear",
"algebra",
"subroutines",
"vector",
"array",
"ndarray",
"float64",
"float",
"single",
"float32array"
]
}
}
],
"main": "./lib",
"directories": {
"benchmark": "./benchmark",
"doc": "./docs",
"example": "./examples",
"lib": "./lib",
"test": "./test"
},
"types": "./docs/types",
"scripts": {},
"homepage": "https://github.com/stdlib-js/stdlib",
"repository": {
"type": "git",
"url": "git://github.com/stdlib-js/stdlib.git"
},
"bugs": {
"url": "https://github.com/stdlib-js/stdlib/issues"
},
"dependencies": {},
"devDependencies": {},
"engines": {
"node": ">=0.10.0",
"npm": ">2.7.0"
},
"os": [
"aix",
"darwin",
"freebsd",
"linux",
"macos",
"openbsd",
"sunos",
"win32",
"windows"
],
"keywords": [
"stdlib",
"stdmath",
"mathematics",
"math",
"blas",
"level 1",
"drotmg",
"parameters",
"modified",
"givens",
"rotation",
"matrix",
"linear",
"algebra",
"subroutines",
"vector",
"array",
"ndarray",
"float64",
"float",
"single",
"float32array"
]
}
Loading