Extensions.Norm(IEnumerable<Double>, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the L_p norm of coefficients of all terms in a Hamiltonian.
public static double Norm (this System.Collections.Generic.IEnumerable<double> x, double power = 1);
static member Norm : seq<double> * double -> double
<Extension()>
Public Function Norm (x As IEnumerable(Of Double), Optional power As Double = 1) As Double
Parameters
- power
- Double
Selects type of norm.
Returns
L_p norm of Hamiltonian coefficients.