File tree Expand file tree Collapse file tree 10 files changed +14
-14
lines changed
lib/node_modules/@stdlib/math/base/special/dirac-deltaf
include/stdlib/math/base/special Expand file tree Collapse file tree 10 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ limitations under the License.
20
20
21
21
# Dirac Delta
22
22
23
- > Evaluate the [ Dirac delta function] [ dirac-delta-function ] in single-precision floating-point format .
23
+ > Evaluate the [ Dirac delta function] [ dirac-delta-function ] for a single-precision floating-point number .
24
24
25
25
<section class =" intro " >
26
26
@@ -70,7 +70,7 @@ var diracDeltaf = require( '@stdlib/math/base/special/dirac-deltaf' );
70
70
71
71
#### diracDeltaf( x )
72
72
73
- Evaluates the [ Dirac delta function] [ dirac-delta-function ] in single-precision floating-point format .
73
+ Evaluates the [ Dirac delta function] [ dirac-delta-function ] for a single-precision floating-point number .
74
74
75
75
``` javascript
76
76
var v = diracDeltaf ( 0.0 );
@@ -137,7 +137,7 @@ for ( i = 0; i < x.length; i++ ) {
137
137
138
138
#### stdlib_base_dirac_deltaf( x )
139
139
140
- Evaluates the [ Dirac delta function] [ dirac-delta-function ] in single-precision floating-point format .
140
+ Evaluates the [ Dirac delta function] [ dirac-delta-function ] for a single-precision floating-point number .
141
141
142
142
``` c
143
143
float x = stdlib_base_dirac_deltaf( 0 .0f );
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ static double rand_float( void ) {
89
89
* @param x input value
90
90
* @return function result
91
91
*/
92
- float dirac_deltaf ( float x ) {
92
+ static float dirac_deltaf ( float x ) {
93
93
if ( x == 0.0f ) {
94
94
return HUGE_VAL ;
95
95
}
Original file line number Diff line number Diff line change 1
1
2
2
{{alias}}( x )
3
- Evaluates the Dirac delta function in single-precision
4
- floating-point format .
3
+ Evaluates the Dirac delta function for a single-precision
4
+ floating-point number .
5
5
6
6
Parameters
7
7
----------
Original file line number Diff line number Diff line change 19
19
// TypeScript Version: 4.1
20
20
21
21
/**
22
- * Evaluates the Dirac delta function in single-precision floating-point format .
22
+ * Evaluates the Dirac delta function for a single-precision floating-point number .
23
23
*
24
24
* @param x - input value
25
25
* @returns function value
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ extern "C" {
27
27
#endif
28
28
29
29
/**
30
- * Evaluates the Dirac delta function in single-precision floating-point format .
30
+ * Evaluates the Dirac delta function for a single-precision floating-point number .
31
31
*/
32
32
float stdlib_base_dirac_deltaf ( const float x );
33
33
Original file line number Diff line number Diff line change 19
19
'use strict' ;
20
20
21
21
/**
22
- * Evaluate the Dirac delta function in single-precision floating-point format .
22
+ * Evaluate the Dirac delta function for a single-precision floating-point number .
23
23
*
24
24
* @module @stdlib /math/base/special/dirac-deltaf
25
25
*
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ var PINF = require( '@stdlib/constants/float32/pinf' );
27
27
// MAIN //
28
28
29
29
/**
30
- * Evaluates the Dirac delta function in single-precision floating-point format .
30
+ * Evaluates the Dirac delta function for a single-precision floating-point number .
31
31
*
32
32
* @param {number } x - input value
33
33
* @returns {number } function value
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
26
26
// MAIN //
27
27
28
28
/**
29
- * Evaluates the Dirac delta function in single-precision floating-point format .
29
+ * Evaluates the Dirac delta function for a single-precision floating-point number .
30
30
*
31
31
* @private
32
32
* @param {number } x - input value
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @stdlib/math/base/special/dirac-deltaf" ,
3
3
"version" : " 0.0.0" ,
4
- "description" : " Evaluate the Dirac delta function in single-precision floating-point format ." ,
4
+ "description" : " Evaluate the Dirac delta function for a single-precision floating-point number ." ,
5
5
"license" : " Apache-2.0" ,
6
6
"author" : {
7
7
"name" : " The Stdlib Authors" ,
Original file line number Diff line number Diff line change 21
21
#include "stdlib/constants/float32/pinf.h"
22
22
23
23
/**
24
- * Evaluates the Dirac delta function in single-precision floating-point format .
24
+ * Evaluates the Dirac delta function for a single-precision floating-point number .
25
25
*
26
26
* @param x input value
27
- * @return output value
27
+ * @return output value
28
28
*
29
29
* @example
30
30
* float out = stdlib_base_dirac_deltaf( 3.14f );
You can’t perform that action at this time.
0 commit comments