File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed 
lib/node_modules/@stdlib/stats/base/dists/t/logpdf 
include/stdlib/stats/base/dists/t Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -165,16 +165,16 @@ for ( i = 0; i < 10; i++ ) {
165165### Usage  
166166
167167``` c 
168- #include  " stdlib/stats/base/dists/arcsine/cdf .h" 
168+ #include  " stdlib/stats/base/dists/t/logpdf .h" 
169169``` 
170170
171- #### stdlib_base_dists_arcsine_cdf ( x, a, b ) 
171+ #### stdlib_base_dists_t_logpdf ( x, a, b ) 
172172
173173Evaluates the natural logarithm of the [ PDF] [ pdf ]  for a [ Student's t] [ t-distribution ]  distribution with degree of freedom ` v ` .
174174
175175``` c 
176176double  out = stdlib_base_dists_t_logpdf( 0.5 , 1.0  );
177- //  returns ~-1.3678734371636097 
177+ //  returns ~-1.368 
178178``` 
179179
180180The function accepts the following arguments:
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ extern "C" {
2727#endif 
2828
2929/** 
30- * Evaluates the log probability density function (logPDF) for a t- distribution with degrees of freedom `v` at a value `x`. 
30+ * Evaluates the log probability density function (logPDF) for a Student's t  distribution with degrees of freedom `v` at a value `x`. 
3131*/ 
3232double  stdlib_base_dists_t_logpdf ( const  double  x , const  double  v  );
3333
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
2626// MAIN // 
2727
2828/** 
29- * Evaluates the log probability density function (logPDF) for a t- distribution with degrees of freedom `v` at a value `x`. 
29+ * Evaluates the log probability density function (logPDF) for a Student's t  distribution with degrees of freedom `v` at a value `x`. 
3030* 
3131* @private  
3232* @param  {number } x - input value 
Original file line number Diff line number Diff line change 2424#include  "stdlib/stats/base/dists/t/logpdf.h" 
2525
2626/** 
27- * Evaluates the log probability density function (logPDF) for a t- distribution with degrees of freedom `v` at a value `x`. 
27+ * Evaluates the log probability density function (logPDF) for a Student's t  distribution with degrees of freedom `v` at a value `x`. 
2828* 
2929* @param x    input value 
3030* @param v    degrees of freedom 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments