pwtools._flib.distsq

pwtools._flib.distsq = <fortran function distsq>

dsq = distsq(arrx,arry,dsq,[nx,ny,ndim])

Wrapper for distsq.

Parameters:
  • arrx (input rank-2 array('d') with bounds (nx,ndim))

  • arry (input rank-2 array('d') with bounds (ny,ndim))

  • dsq (input rank-2 array('d') with bounds (nx,ny))

  • nx (input int, optional) – Default: shape(arrx, 0)

  • ny (input int, optional) – Default: shape(arry, 0)

  • ndim (input int, optional) – Default: shape(arrx, 1)

Returns:

dsq

Return type:

rank-2 array(‘d’) with bounds (nx,ny)