Skip to content
79 changes: 78 additions & 1 deletion lib/node_modules/@stdlib/math/base/special/sqrt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,82 @@
"root",
"power",
"number"
]
],
"__stdlib__": {
"scaffold": {
"$schema": "math/[email protected]",
"base_alias": "sqrt",
"alias": "sqrt",
"pkg_desc": "compute the principal square root",
"desc": "computes the principal square root",
"short_desc": "principal square root",
"parameters": [
{
"name": "x",
"desc": "input value",
"type": {
"javascript": "number",
"jsdoc": "number",
"c": "double",
"dtype": "float64"
},
"domain": [
{
"min": "0",
"max": "infinity"
}
],
"rand": {
"prng": "random/base/uniform",
"parameters": [
0,
100
]
},
"example_values": [
0,
0.01,
0.25,
0.5,
1,
2,
3,
4,
9,
16,
25,
36,
49,
64,
81,
100,
0.1,
10,
50,
99.99
]
}
],
"output_policy": "real_floating_point_and_generic",
"returns": {
"desc": "square",
"type": {
"javascript": "number",
"jsdoc": "number",
"c": "double",
"dtype": "float64"
}
},
"keywords": [
"sqrt",
"square",
"stdmath",
"number",
"math"
],
"extra_keywords": [
"math.sqrt"
]
}
}
}