C# Class Accord.Math.Norm

Static class Norm. Defines a set of extension methods defining norms measures.
ファイルを表示 Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Euclidean ( this a ) : double

Gets the Euclidean norm for a matrix.

Euclidean ( this a, int dimension ) : double[]

Gets the Euclidean norm for a matrix.

Euclidean ( this a ) : float

Gets the Euclidean norm for a matrix.

Euclidean ( this a, int dimension ) : float[]

Gets the Euclidean norm for a matrix.

Frobenius ( this a ) : double

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

Frobenius ( this a ) : float

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

Norm1 ( this a ) : double

Returns the maximum column sum of the given matrix.

Norm2 ( this a ) : double

Returns the maximum singular value of the given matrix.

SquareEuclidean ( this a ) : double

Gets the Squared Euclidean norm for a matrix.

SquareEuclidean ( this a, int dimension ) : double[]

Gets the Squared Euclidean norm vector for a matrix.

SquareEuclidean ( this a ) : float

Gets the Squared Euclidean norm for a matrix.

SquareEuclidean ( this a, int dimension ) : float[]

Gets the Squared Euclidean norm vector for a matrix.

Method Details

Euclidean() public static method

Gets the Euclidean norm for a matrix.
public static Euclidean ( this a ) : double
a this
return double

Euclidean() public static method

Gets the Euclidean norm for a matrix.
public static Euclidean ( this a, int dimension ) : double[]
a this
dimension int
return double[]

Euclidean() public static method

Gets the Euclidean norm for a matrix.
public static Euclidean ( this a ) : float
a this
return float

Euclidean() public static method

Gets the Euclidean norm for a matrix.
public static Euclidean ( this a, int dimension ) : float[]
a this
dimension int
return float[]

Frobenius() public static method

Gets the square root of the sum of squares for all elements in a matrix.
public static Frobenius ( this a ) : double
a this
return double

Frobenius() public static method

Gets the square root of the sum of squares for all elements in a matrix.
public static Frobenius ( this a ) : float
a this
return float

Norm1() public static method

Returns the maximum column sum of the given matrix.
public static Norm1 ( this a ) : double
a this
return double

Norm2() public static method

Returns the maximum singular value of the given matrix.
public static Norm2 ( this a ) : double
a this
return double

SquareEuclidean() public static method

Gets the Squared Euclidean norm for a matrix.
public static SquareEuclidean ( this a ) : double
a this
return double

SquareEuclidean() public static method

Gets the Squared Euclidean norm vector for a matrix.
public static SquareEuclidean ( this a, int dimension ) : double[]
a this
dimension int
return double[]

SquareEuclidean() public static method

Gets the Squared Euclidean norm for a matrix.
public static SquareEuclidean ( this a ) : float
a this
return float

SquareEuclidean() public static method

Gets the Squared Euclidean norm vector for a matrix.
public static SquareEuclidean ( this a, int dimension ) : float[]
a this
dimension int
return float[]