Fortran-lang/stdlib
Contributing and specs
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
softplus_grad
Interface
experimental
10 statements
Source File
stdlib_specialfunctions.fypp
stdlib_specialfunctions
softplus_grad
Contents
Functions
softplus_grad_dp
softplus_grad_sp
public interface softplus_grad
Gradient of the softplus function
Functions
private elemental module function softplus_grad_dp(x) result(y)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=dp),
intent(in)
::
x
Return Value
real(kind=dp)
private elemental module function softplus_grad_sp(x) result(y)
(
Specification
)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=sp),
intent(in)
::
x
Return Value
real(kind=sp)