Skip to content

Commit cd0ab57

Browse files
kgrytestdlib-bot
authored andcommitted
feat: update math scaffold databases
Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent f7920f6 commit cd0ab57

File tree

1 file changed

+270
-2
lines changed
  • lib/node_modules/@stdlib/math/special/data

1 file changed

+270
-2
lines changed

lib/node_modules/@stdlib/math/special/data/unary.json

Lines changed: 270 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14215,8 +14215,276 @@
1421514215
"math.round"
1421614216
]
1421714217
},
14218-
"@stdlib/math/base/special/croundf": {},
14219-
"@stdlib/math/base/special/cround": {},
14218+
"@stdlib/math/base/special/croundf": {
14219+
"$schema": "math/base@v1.0",
14220+
"base_alias": "cround",
14221+
"alias": "croundf",
14222+
"pkg_desc": "round each component of a single-precision complex floating-point number to the nearest integer",
14223+
"desc": "rounds each component of a single-precision complex floating-point number to the nearest integer",
14224+
"short_desc": "round each component of a complex number to the nearest integer",
14225+
"parameters": [
14226+
{
14227+
"name": "z",
14228+
"desc": "input value",
14229+
"type": {
14230+
"javascript": "Complex64",
14231+
"jsdoc": "Complex64",
14232+
"c": "stdlib_complex64_t",
14233+
"dtype": "complex64"
14234+
},
14235+
"domain": null,
14236+
"rand": {
14237+
"prng": "random/base/uniform",
14238+
"parameters": [
14239+
[
14240+
-10,
14241+
10
14242+
],
14243+
[
14244+
-10,
14245+
10
14246+
]
14247+
]
14248+
},
14249+
"example_values": [
14250+
{
14251+
"re": 5.5,
14252+
"im": 3.3
14253+
},
14254+
{
14255+
"re": -4.2,
14256+
"im": 1.7
14257+
},
14258+
{
14259+
"re": 0.8,
14260+
"im": -0.4
14261+
},
14262+
{
14263+
"re": -1.5,
14264+
"im": 2.9
14265+
},
14266+
{
14267+
"re": 3.1,
14268+
"im": -3.7
14269+
},
14270+
{
14271+
"re": -2.6,
14272+
"im": 0.5
14273+
},
14274+
{
14275+
"re": 1.9,
14276+
"im": -1.1
14277+
},
14278+
{
14279+
"re": -0.3,
14280+
"im": 4.8
14281+
},
14282+
{
14283+
"re": 2.4,
14284+
"im": 2.6
14285+
},
14286+
{
14287+
"re": -3.9,
14288+
"im": -2.2
14289+
},
14290+
{
14291+
"re": 0.1,
14292+
"im": 1.5
14293+
},
14294+
{
14295+
"re": -1.7,
14296+
"im": -0.9
14297+
},
14298+
{
14299+
"re": 4.6,
14300+
"im": 3.5
14301+
},
14302+
{
14303+
"re": -5.1,
14304+
"im": 0.2
14305+
},
14306+
{
14307+
"re": 1.3,
14308+
"im": -4.4
14309+
},
14310+
{
14311+
"re": -0.6,
14312+
"im": 2.1
14313+
},
14314+
{
14315+
"re": 3.7,
14316+
"im": -1.8
14317+
},
14318+
{
14319+
"re": -2.3,
14320+
"im": 3.9
14321+
},
14322+
{
14323+
"re": 0.5,
14324+
"im": -0.7
14325+
},
14326+
{
14327+
"re": -4.8,
14328+
"im": 1.2
14329+
}
14330+
]
14331+
}
14332+
],
14333+
"returns": {
14334+
"desc": "result",
14335+
"type": {
14336+
"javascript": "Complex64",
14337+
"jsdoc": "Complex64",
14338+
"c": "stdlib_complex64_t",
14339+
"dtype": "complex64"
14340+
}
14341+
},
14342+
"keywords": [
14343+
"cround",
14344+
"round",
14345+
"floor",
14346+
"ceil",
14347+
"integer",
14348+
"complex",
14349+
"cmplx"
14350+
],
14351+
"extra_keywords": []
14352+
},
14353+
"@stdlib/math/base/special/cround": {
14354+
"$schema": "math/base@v1.0",
14355+
"base_alias": "cround",
14356+
"alias": "cround",
14357+
"pkg_desc": "round each component of a double-precision complex floating-point number to the nearest integer",
14358+
"desc": "rounds each component of a double-precision complex floating-point number to the nearest integer",
14359+
"short_desc": "round each component of a complex number to the nearest integer",
14360+
"parameters": [
14361+
{
14362+
"name": "z",
14363+
"desc": "input value",
14364+
"type": {
14365+
"javascript": "Complex128",
14366+
"jsdoc": "Complex128",
14367+
"c": "stdlib_complex128_t",
14368+
"dtype": "complex128"
14369+
},
14370+
"domain": null,
14371+
"rand": {
14372+
"prng": "random/base/uniform",
14373+
"parameters": [
14374+
[
14375+
-10,
14376+
10
14377+
],
14378+
[
14379+
-10,
14380+
10
14381+
]
14382+
]
14383+
},
14384+
"example_values": [
14385+
{
14386+
"re": 5.5,
14387+
"im": 3.3
14388+
},
14389+
{
14390+
"re": -4.2,
14391+
"im": 1.7
14392+
},
14393+
{
14394+
"re": 0.8,
14395+
"im": -0.4
14396+
},
14397+
{
14398+
"re": -1.5,
14399+
"im": 2.9
14400+
},
14401+
{
14402+
"re": 3.1,
14403+
"im": -3.7
14404+
},
14405+
{
14406+
"re": -2.6,
14407+
"im": 0.5
14408+
},
14409+
{
14410+
"re": 1.9,
14411+
"im": -1.1
14412+
},
14413+
{
14414+
"re": -0.3,
14415+
"im": 4.8
14416+
},
14417+
{
14418+
"re": 2.4,
14419+
"im": 2.6
14420+
},
14421+
{
14422+
"re": -3.9,
14423+
"im": -2.2
14424+
},
14425+
{
14426+
"re": 0.1,
14427+
"im": 1.5
14428+
},
14429+
{
14430+
"re": -1.7,
14431+
"im": -0.9
14432+
},
14433+
{
14434+
"re": 4.6,
14435+
"im": 3.5
14436+
},
14437+
{
14438+
"re": -5.1,
14439+
"im": 0.2
14440+
},
14441+
{
14442+
"re": 1.3,
14443+
"im": -4.4
14444+
},
14445+
{
14446+
"re": -0.6,
14447+
"im": 2.1
14448+
},
14449+
{
14450+
"re": 3.7,
14451+
"im": -1.8
14452+
},
14453+
{
14454+
"re": -2.3,
14455+
"im": 3.9
14456+
},
14457+
{
14458+
"re": 0.5,
14459+
"im": -0.7
14460+
},
14461+
{
14462+
"re": -4.8,
14463+
"im": 1.2
14464+
}
14465+
]
14466+
}
14467+
],
14468+
"returns": {
14469+
"desc": "result",
14470+
"type": {
14471+
"javascript": "Complex128",
14472+
"jsdoc": "Complex128",
14473+
"c": "stdlib_complex128_t",
14474+
"dtype": "complex128"
14475+
}
14476+
},
14477+
"keywords": [
14478+
"cround",
14479+
"round",
14480+
"floor",
14481+
"ceil",
14482+
"integer",
14483+
"complex",
14484+
"cmplx"
14485+
],
14486+
"extra_keywords": []
14487+
},
1422014488
"@stdlib/math/base/special/round-nearest-even": {
1422114489
"$schema": "math/base@v1.0",
1422214490
"base_alias": "roundNearestEven",

0 commit comments

Comments
 (0)