Generated by DocFX

Class Norm

Static class Norm. Defines a set of extension methods defining norms measures.

Inheritance
System.Object
Norm
Namespace: ISynergy.Framework.Mathematics
Assembly: ISynergy.Framework.Mathematics.dll
Syntax
public static class Norm : object

Methods

View Source

Euclidean(Sparse<Double>)

Gets the Euclidean norm for a matrix.

Declaration
public static double Euclidean(this Sparse<double> a)
Parameters
Type Name Description
Sparse<System.Double> a
Returns
Type Description
System.Double
View Source

Euclidean(Sparse<Double>[], Int32)

Gets the Euclidean norm for a matrix.

Declaration
public static double[] Euclidean(this Sparse<double>[] a, int dimension)
Parameters
Type Name Description
Sparse<System.Double>[] a
System.Int32 dimension
Returns
Type Description
System.Double[]
View Source

Euclidean(Sparse<Single>)

Gets the Euclidean norm for a matrix.

Declaration
public static float Euclidean(this Sparse<float> a)
Parameters
Type Name Description
Sparse<System.Single> a
Returns
Type Description
System.Single
View Source

Euclidean(Sparse<Single>[], Int32)

Gets the Euclidean norm for a matrix.

Declaration
public static float[] Euclidean(this Sparse<float>[] a, int dimension)
Parameters
Type Name Description
Sparse<System.Single>[] a
System.Int32 dimension
Returns
Type Description
System.Single[]
View Source

Euclidean(Double[])

Gets the Euclidean norm for a vector.

Declaration
public static double Euclidean(this double[] a)
Parameters
Type Name Description
System.Double[] a
Returns
Type Description
System.Double
View Source

Euclidean(Double[][])

Gets the Euclidean norm for a matrix.

Declaration
public static double Euclidean(this double[][] a)
Parameters
Type Name Description
System.Double[][] a
Returns
Type Description
System.Double
View Source

Euclidean(Double[][], Int32)

Gets the Euclidean norm for a matrix.

Declaration
public static double[] Euclidean(this double[][] a, int dimension)
Parameters
Type Name Description
System.Double[][] a
System.Int32 dimension
Returns
Type Description
System.Double[]
View Source

Euclidean(Double[,])

Gets the Euclidean norm for a matrix.

Declaration
public static double Euclidean(this double[, ] a)
Parameters
Type Name Description
System.Double[,] a
Returns
Type Description
System.Double
View Source

Euclidean(Double[,], Int32)

Gets the Euclidean norm for a matrix.

Declaration
public static double[] Euclidean(this double[, ] a, int dimension)
Parameters
Type Name Description
System.Double[,] a
System.Int32 dimension
Returns
Type Description
System.Double[]
View Source

Euclidean(Single[])

Gets the Euclidean norm for a vector.

Declaration
public static float Euclidean(this float[] a)
Parameters
Type Name Description
System.Single[] a
Returns
Type Description
System.Single
View Source

Euclidean(Single[][])

Gets the Euclidean norm for a matrix.

Declaration
public static float Euclidean(this float[][] a)
Parameters
Type Name Description
System.Single[][] a
Returns
Type Description
System.Single
View Source

Euclidean(Single[][], Int32)

Gets the Euclidean norm for a matrix.

Declaration
public static float[] Euclidean(this float[][] a, int dimension)
Parameters
Type Name Description
System.Single[][] a
System.Int32 dimension
Returns
Type Description
System.Single[]
View Source

Euclidean(Single[,])

Gets the Euclidean norm for a matrix.

Declaration
public static float Euclidean(this float[, ] a)
Parameters
Type Name Description
System.Single[,] a
Returns
Type Description
System.Single
View Source

Euclidean(Single[,], Int32)

Gets the Euclidean norm for a matrix.

Declaration
public static float[] Euclidean(this float[, ] a, int dimension)
Parameters
Type Name Description
System.Single[,] a
System.Int32 dimension
Returns
Type Description
System.Single[]
View Source

Frobenius(Double[][])

Gets the square root of the sum of squares for all elements in a matrix.

Declaration
public static double Frobenius(this double[][] a)
Parameters
Type Name Description
System.Double[][] a
Returns
Type Description
System.Double
View Source

Frobenius(Double[,])

Gets the square root of the sum of squares for all elements in a matrix.

Declaration
public static double Frobenius(this double[, ] a)
Parameters
Type Name Description
System.Double[,] a
Returns
Type Description
System.Double
View Source

Frobenius(Single[][])

Gets the square root of the sum of squares for all elements in a matrix.

Declaration
public static float Frobenius(this float[][] a)
Parameters
Type Name Description
System.Single[][] a
Returns
Type Description
System.Single
View Source

Frobenius(Single[,])

Gets the square root of the sum of squares for all elements in a matrix.

Declaration
public static float Frobenius(this float[, ] a)
Parameters
Type Name Description
System.Single[,] a
Returns
Type Description
System.Single
View Source

Norm1(Double[][])

Returns the maximum column sum of the given matrix.

Declaration
public static double Norm1(this double[][] a)
Parameters
Type Name Description
System.Double[][] a
Returns
Type Description
System.Double
View Source

Norm1(Double[,])

Returns the maximum column sum of the given matrix.

Declaration
public static double Norm1(this double[, ] a)
Parameters
Type Name Description
System.Double[,] a
Returns
Type Description
System.Double
View Source

Norm2(Double[][])

Returns the maximum singular value of the given matrix.

Declaration
public static double Norm2(this double[][] a)
Parameters
Type Name Description
System.Double[][] a
Returns
Type Description
System.Double
View Source

Norm2(Double[,])

Returns the maximum singular value of the given matrix.

Declaration
public static double Norm2(this double[, ] a)
Parameters
Type Name Description
System.Double[,] a
Returns
Type Description
System.Double
View Source

SquareEuclidean(Sparse<Double>)

Gets the Squared Euclidean norm for a vector.

Declaration
public static double SquareEuclidean(this Sparse<double> a)
Parameters
Type Name Description
Sparse<System.Double> a
Returns
Type Description
System.Double
View Source

SquareEuclidean(Sparse<Double>[], Int32)

Gets the Squared Euclidean norm vector for a matrix.

Declaration
public static double[] SquareEuclidean(this Sparse<double>[] a, int dimension)
Parameters
Type Name Description
Sparse<System.Double>[] a
System.Int32 dimension
Returns
Type Description
System.Double[]
View Source

SquareEuclidean(Sparse<Single>)

Gets the Squared Euclidean norm for a vector.

Declaration
public static float SquareEuclidean(this Sparse<float> a)
Parameters
Type Name Description
Sparse<System.Single> a
Returns
Type Description
System.Single
View Source

SquareEuclidean(Sparse<Single>[], Int32)

Gets the Squared Euclidean norm vector for a matrix.

Declaration
public static float[] SquareEuclidean(this Sparse<float>[] a, int dimension)
Parameters
Type Name Description
Sparse<System.Single>[] a
System.Int32 dimension
Returns
Type Description
System.Single[]
View Source

SquareEuclidean(Double[])

Gets the Squared Euclidean norm for a vector.

Declaration
public static double SquareEuclidean(this double[] a)
Parameters
Type Name Description
System.Double[] a
Returns
Type Description
System.Double
View Source

SquareEuclidean(Double[][])

Gets the Squared Euclidean norm for a matrix.

Declaration
public static double SquareEuclidean(this double[][] a)
Parameters
Type Name Description
System.Double[][] a
Returns
Type Description
System.Double
View Source

SquareEuclidean(Double[][], Int32)

Gets the Squared Euclidean norm vector for a matrix.

Declaration
public static double[] SquareEuclidean(this double[][] a, int dimension)
Parameters
Type Name Description
System.Double[][] a
System.Int32 dimension
Returns
Type Description
System.Double[]
View Source

SquareEuclidean(Double[,])

Gets the Squared Euclidean norm for a matrix.

Declaration
public static double SquareEuclidean(this double[, ] a)
Parameters
Type Name Description
System.Double[,] a
Returns
Type Description
System.Double
View Source

SquareEuclidean(Double[,], Int32)

Gets the Squared Euclidean norm vector for a matrix.

Declaration
public static double[] SquareEuclidean(this double[, ] a, int dimension)
Parameters
Type Name Description
System.Double[,] a
System.Int32 dimension
Returns
Type Description
System.Double[]
View Source

SquareEuclidean(Single[])

Gets the Squared Euclidean norm for a vector.

Declaration
public static float SquareEuclidean(this float[] a)
Parameters
Type Name Description
System.Single[] a
Returns
Type Description
System.Single
View Source

SquareEuclidean(Single[][])

Gets the Squared Euclidean norm for a matrix.

Declaration
public static float SquareEuclidean(this float[][] a)
Parameters
Type Name Description
System.Single[][] a
Returns
Type Description
System.Single
View Source

SquareEuclidean(Single[][], Int32)

Gets the Squared Euclidean norm vector for a matrix.

Declaration
public static float[] SquareEuclidean(this float[][] a, int dimension)
Parameters
Type Name Description
System.Single[][] a
System.Int32 dimension
Returns
Type Description
System.Single[]
View Source

SquareEuclidean(Single[,])

Gets the Squared Euclidean norm for a matrix.

Declaration
public static float SquareEuclidean(this float[, ] a)
Parameters
Type Name Description
System.Single[,] a
Returns
Type Description
System.Single
View Source

SquareEuclidean(Single[,], Int32)

Gets the Squared Euclidean norm vector for a matrix.

Declaration
public static float[] SquareEuclidean(this float[, ] a, int dimension)
Parameters
Type Name Description
System.Single[,] a
System.Int32 dimension
Returns
Type Description
System.Single[]