- (a)
- function oc_rdp(t1_,t2_,maxmem) result(dp)
Purpose: dot product of two real files
- t1_: vector of file tags
- t2_: vector of file tags
- (b)
- function oc_cdp(t1_,t2_,maxmem) result(dp)
Purpose: dot product of two complex files
- t1_: vector of file tags
- t2_: vector of file tags
- (c)
- subroutine oc_assign(t_, sca, maxmem)
Purpose: assign a value to an entire file
- sca: scalar (real or complex)
- (d)
- subroutine oc_linear(t0_, ti_, scai, maxmem)
Purpose: linear combinations of files
- t_: output file tag
- ti_: vector of input file tags
- scai: vector of scalars to multiply the file tags
- (e)
- subroutine oc_random(t_, scale, maxmem)
Purpose: fill a file with random numbers (real or complex)
- scale: scaling factor for the ramdom numbers
- (f)
- subroutine oc_complexify(t_, maxmem)
Purpose: complexify a file
- (g)
- subroutine oc_mask(k_,t_,maxmem)
Purpose: mask a file with another file
- k_: mask file tag
- t_: data file tag
- (h)
- subroutine oc_product(t0_, ti_, maxmem)
Purpose: product of files
- t0_: product file tag
- ti_: vector of input file tags
- (i)
- function oc_norm(t_, maxmem) result(norm)
Purpose: return the norm of a vector
- t_: vector of file tags
- norm: (real) norm of the data in file t_
- (j)
- subroutine oc_normalize(t_, magnitude, maxmem)
Purpose: normalize a file
- t_: vector of file tags
- magnitude: magnitude of the data in file t_