From 8b6e79e00ad337a7ef42bd16ac8d2b0bcd4ef524 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Thu, 29 Feb 2024 02:48:24 +0000 Subject: [PATCH] Update artifacts --- math/base/special/csc/coverage.ndjson | 1 + math/base/special/csc/index.html | 131 +++++++++++++ math/base/special/csc/index.js.html | 241 +++++++++++++++++++++++ math/base/special/csc/main.js.html | 268 ++++++++++++++++++++++++++ 4 files changed, 641 insertions(+) create mode 100644 math/base/special/csc/coverage.ndjson create mode 100644 math/base/special/csc/index.html create mode 100644 math/base/special/csc/index.js.html create mode 100644 math/base/special/csc/main.js.html diff --git a/math/base/special/csc/coverage.ndjson b/math/base/special/csc/coverage.ndjson new file mode 100644 index 000000000..070d5f1ad --- /dev/null +++ b/math/base/special/csc/coverage.ndjson @@ -0,0 +1 @@ +[113,113,100,3,3,100,1,1,100,113,113,100,"b60ef6245ac44dbef3076f1122e91f4aa8406e6c","2024-02-28 21:46:28 -0500"] diff --git a/math/base/special/csc/index.html b/math/base/special/csc/index.html new file mode 100644 index 000000000..10f2647cc --- /dev/null +++ b/math/base/special/csc/index.html @@ -0,0 +1,131 @@ + + + + +
++ Press n or j to go to the next uncovered block, b, p or k for the previous block. +
+ ++ Press n or j to go to the next uncovered block, b, p or k for the previous block. +
+ +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 | 1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x + | /** +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +'use strict'; + +/** +* Evaluate the cosecant of a number. +* +* @module @stdlib/math/base/special/csc +* +* @example +* var csc = require( '@stdlib/math/base/special/csc' ); +* +* var v = csc( 0.0 ); +* // returns Infinity +* +* v = csc( 3.141592653589793/2.0 ); +* // returns ~1.0 +* +* v = csc( -3.141592653589793/6.0 ); +* // returns ~-2.0 +* +* v = csc( 3.141592653589793/6.0 ); +* // returns ~2.0 +* +* v = csc( NaN ); +* // returns NaN +*/ + +// MODULES // + +var main = require('./main.js'); + + +// EXPORTS // + +module.exports = main; + |
+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +
+ +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 | 1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +12027x +12027x +12027x +1x +1x +1x +1x +1x + | /** +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +'use strict'; + +// MODULES // + +var sin = require('@stdlib/math/base/special/sin'); + + +// MAIN // + +/** +* Evaluates the cosecant of a number. +* +* @param {number} x - input value (in radians) +* @returns {number} cosecant +* +* @example +* var v = csc( 0.0 ); +* // returns Infinity +* +* @example +* var v = csc( 3.141592653589793/2.0 ); +* // returns ~1.0 +* +* @example +* var v = csc( -3.141592653589793/6.0 ); +* // returns ~-2.0 +* +* @example +* var v = csc( 3.141592653589793/6.0 ); +* // returns ~2.0 +* +* @example +* var v = csc( NaN ); +* // returns NaN +*/ +function csc( x ) { + return 1.0 / sin(x); +} + + +// EXPORTS // + +module.exports = csc; + |