NCL Home > Documentation > Functions > General applied math, Statistics

dim_rmsd_n_Wrap

Computes the root-mean-square-difference between two variables' given dimensions at all other dimensions.

Prototype

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"  ; This library is automatically loaded
                                                             ; from NCL V6.2.0 onward.
                                                             ; No need for user to explicitly load.

	function dim_rmsd_n_Wrap (
		x        : numeric,  
		y        : numeric,  
		dims [*] : integer   
	)

	return_val  :  float or double

Arguments

x

A variable of numeric type and any dimensionality.

y

A variable of numeric type and same dimensionality as x.

dims

The dimension(s) of x on which to to do the root-mean-square-difference on. Must be consecutive and monotonically increasing.

Description

This function is identical to dim_rmsd_n, except the return value will have metadata added based on metadata attached to x. See the dim_rmsd_n page for full documentation and examples.