Skip to content
Merged
Changes from all commits
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
272 changes: 270 additions & 2 deletions lib/node_modules/@stdlib/math/special/data/unary.json
Original file line number Diff line number Diff line change
Expand Up @@ -14215,8 +14215,276 @@
"math.round"
]
},
"@stdlib/math/base/special/croundf": {},
"@stdlib/math/base/special/cround": {},
"@stdlib/math/base/special/croundf": {
"$schema": "math/base@v1.0",
"base_alias": "cround",
"alias": "croundf",
"pkg_desc": "round each component of a single-precision complex floating-point number to the nearest integer",
"desc": "rounds each component of a single-precision complex floating-point number to the nearest integer",
"short_desc": "round each component of a complex number to the nearest integer",
"parameters": [
{
"name": "z",
"desc": "input value",
"type": {
"javascript": "Complex64",
"jsdoc": "Complex64",
"c": "stdlib_complex64_t",
"dtype": "complex64"
},
"domain": null,
"rand": {
"prng": "random/base/uniform",
"parameters": [
[
-10,
10
],
[
-10,
10
]
]
},
"example_values": [
{
"re": 5.5,
"im": 3.3
},
{
"re": -4.2,
"im": 1.7
},
{
"re": 0.8,
"im": -0.4
},
{
"re": -1.5,
"im": 2.9
},
{
"re": 3.1,
"im": -3.7
},
{
"re": -2.6,
"im": 0.5
},
{
"re": 1.9,
"im": -1.1
},
{
"re": -0.3,
"im": 4.8
},
{
"re": 2.4,
"im": 2.6
},
{
"re": -3.9,
"im": -2.2
},
{
"re": 0.1,
"im": 1.5
},
{
"re": -1.7,
"im": -0.9
},
{
"re": 4.6,
"im": 3.5
},
{
"re": -5.1,
"im": 0.2
},
{
"re": 1.3,
"im": -4.4
},
{
"re": -0.6,
"im": 2.1
},
{
"re": 3.7,
"im": -1.8
},
{
"re": -2.3,
"im": 3.9
},
{
"re": 0.5,
"im": -0.7
},
{
"re": -4.8,
"im": 1.2
}
]
}
],
"returns": {
"desc": "result",
"type": {
"javascript": "Complex64",
"jsdoc": "Complex64",
"c": "stdlib_complex64_t",
"dtype": "complex64"
}
},
"keywords": [
"cround",
"round",
"floor",
"ceil",
"integer",
"complex",
"cmplx"
],
"extra_keywords": []
},
"@stdlib/math/base/special/cround": {
"$schema": "math/base@v1.0",
"base_alias": "cround",
"alias": "cround",
"pkg_desc": "round each component of a double-precision complex floating-point number to the nearest integer",
"desc": "rounds each component of a double-precision complex floating-point number to the nearest integer",
"short_desc": "round each component of a complex number to the nearest integer",
"parameters": [
{
"name": "z",
"desc": "input value",
"type": {
"javascript": "Complex128",
"jsdoc": "Complex128",
"c": "stdlib_complex128_t",
"dtype": "complex128"
},
"domain": null,
"rand": {
"prng": "random/base/uniform",
"parameters": [
[
-10,
10
],
[
-10,
10
]
]
},
"example_values": [
{
"re": 5.5,
"im": 3.3
},
{
"re": -4.2,
"im": 1.7
},
{
"re": 0.8,
"im": -0.4
},
{
"re": -1.5,
"im": 2.9
},
{
"re": 3.1,
"im": -3.7
},
{
"re": -2.6,
"im": 0.5
},
{
"re": 1.9,
"im": -1.1
},
{
"re": -0.3,
"im": 4.8
},
{
"re": 2.4,
"im": 2.6
},
{
"re": -3.9,
"im": -2.2
},
{
"re": 0.1,
"im": 1.5
},
{
"re": -1.7,
"im": -0.9
},
{
"re": 4.6,
"im": 3.5
},
{
"re": -5.1,
"im": 0.2
},
{
"re": 1.3,
"im": -4.4
},
{
"re": -0.6,
"im": 2.1
},
{
"re": 3.7,
"im": -1.8
},
{
"re": -2.3,
"im": 3.9
},
{
"re": 0.5,
"im": -0.7
},
{
"re": -4.8,
"im": 1.2
}
]
}
],
"returns": {
"desc": "result",
"type": {
"javascript": "Complex128",
"jsdoc": "Complex128",
"c": "stdlib_complex128_t",
"dtype": "complex128"
}
},
"keywords": [
"cround",
"round",
"floor",
"ceil",
"integer",
"complex",
"cmplx"
],
"extra_keywords": []
},
"@stdlib/math/base/special/round-nearest-even": {
"$schema": "math/base@v1.0",
"base_alias": "roundNearestEven",
Expand Down
Loading