... | @@ -98,6 +98,37 @@ Function computes second derivative with respect to $`z`$ of 3D real function $` |
... | @@ -98,6 +98,37 @@ Function computes second derivative with respect to $`z`$ of 3D real function $` |
|
* `return` - error code
|
|
* `return` - error code
|
|
|
|
|
|
`d2fdz2` can be the same pointer as `f`, then result overwrites input.
|
|
`d2fdz2` can be the same pointer as `f`, then result overwrites input.
|
|
|
|
### n-th 3D derivative functions:
|
|
|
|
```c
|
|
|
|
int wderiv_dnfdxn_3d_r(int n, double *f, double *dnfdxn)
|
|
|
|
```
|
|
|
|
Function computes n-th derivative with respect to $`x`$ of 3D real function $`f(x,y,z)`$: $`(\frac{d^nf}{dx^n})`$.
|
|
|
|
* `f` - pointer to input function which is array of size [nx*ny*nz]
|
|
|
|
* `dnfdxn` - pointer to output derivative function which is array of size [nx*ny*nz]
|
|
|
|
* `return` - error code
|
|
|
|
|
|
|
|
`dnfdxn` can be the same pointer as `f`, then result overwrites input.
|
|
|
|
|
|
|
|
```c
|
|
|
|
int wderiv_dnfdyn_3d_r(int n, double *f, double *dnfdyn)
|
|
|
|
```
|
|
|
|
Function computes n-th derivative with respect to $`y`$ of 3D real function $`f(x,y,z)`$: $`(\frac{d^nf}{dy^n})`$.
|
|
|
|
* `f` - pointer to input function which is array of size [nx*ny*nz]
|
|
|
|
* `dnfdyn` - pointer to output derivative function which is array of size [nx*ny*nz]
|
|
|
|
* `return` - error code
|
|
|
|
|
|
|
|
`dnfdyn` can be the same pointer as `f`, then result overwrites input.
|
|
|
|
|
|
|
|
|
|
|
|
```c
|
|
|
|
int wderiv_dnfdzn_3d_r(int n, double *f, double *dnfdzn)
|
|
|
|
```
|
|
|
|
Function computes n-th derivative with respect to $`z`$ of 3D real function $`f(x,y,z)`$: $`(\frac{d^nf}{dz^n})`$.
|
|
|
|
* `f` - pointer to input function which is array of size [nx*ny*nz]
|
|
|
|
* `dnfdzn` - pointer to output derivative function which is array of size [nx*ny*nz]
|
|
|
|
* `return` - error code
|
|
|
|
|
|
|
|
`dnfdzn` can be the same pointer as `f`, then result overwrites input.
|
|
|
|
|
|
/**
|
|
/**
|
|
* Function computes gradient
|
|
* Function computes gradient
|
... | | ... | |