Extreme Optimization > Mathematics Library for .NET > User's Guide > Current Page > Mathematical Properties

Extreme Optimization Mathematics Library for .NET

Mathematical properties

General properties

The RowCount and ColumnCount properties returns the number of rows and columns in the matrix.

The ElementOrder property specifies the order in which elements are stored. Possible values are ColumnMajor , RowMajor, and NotApplicable. These are enumerated by the MatrixElementOrder enumeration type. The default is ColumnMajor.

ColumnMajor order means that, whenever possible, the elements in the same column of a matrix are stored in a contiguous block of memory. Likewise, RowMajor order means that elements in the same row are stored contiguously. Most algorithms have been optimized for column-major order. Conversions are performed as necessary.

For some matrix types, the ElementOrder is meaningless. In this case, the value is NotApplicable.

Mathematical properties

The Extreme Optimization Mathematics Library for .NET provides access to all common mathematical properties of matrices. Because of the cost involved in computing these properties, in particular for large matrices, these properties have been implemented as methods.

The norm of a matrix is a measure for the size of a matrix. Unlike vector norms, matrix norms are often hard to calculate. The easiest to calculate is the Frobenius-norm, defined as the square root of the sum of the squares of the components of a matrix. The FrobeniusNorm method returns the Frobenius norm.

The one-norm of a matrix is defined as the maximum of the sum of the absolute values of the elements in each column. It is available through the OneNorm method.

The infinity-norm of a matrix is defined as the maximum of the sum of the absolute values of the elements in each row. It is available through the InfinityNorm method.

The two-norm of a matrix is defined as the largest increase in the length (two-norm) of a vector when it is multiplied by the matrix. This corresponds to the largest singular value of the matrix. It is available through the TwoNorm method.

The trace of a matrix is the sum of the diagonal elements. It is available through the Trace method.

Other properties, such as the inverse, transpose, and determinant are covered in the section on solving equations.

Overview
Introduction
Features
Documentation
QuickStart Samples
Sample Applications
Downloads
Get it now!
Download trial version
How to Buy
Search

"The Extreme Optimization Statistics Library for .NET is a major boon for those doing statistical work in .NET. I strongly recommend this product."
- Marc Brooks

"I have made it my mission to institutionalize the value of good API design.  I strongly believe that this is key to making developers more productive and happy on our platform. It is clear that you value good API design in your work, and take to heart developer productivity and synergy with the .NET framework."
- Brad Abrams,
Lead Program Manager, Microsoft.

This is a partial list of companies who are using our libraries:
ABB Robotics
Allstate
Applied Materials
Arcam
Astra Schedule
Babson College
Canadian Council on Learning
Canyon Associates
Caxton Associates
CECity
Constellation Energy
CreditSights
DeepOcean
Duke University
Dynamotive
Elecsoft
Engelhard Corporation
Epcor
Equipoise Software
Galileo International
GAM UK
Gammex
GlaxoSmithKline
Global Matrix
The Hartford
Infinera Corporation
Intel
JDS Uniphase
LaBranche & Co.
Learning & Skills Council
Jacobs Consultancy
Litman Gregory
Lucas Systems
Malvern Instruments
Medrio
Merck & Co.
Mintera.
Monitor Software
MorningStar
NanoString Technologies
Paletta Invent
Parametric Portfolio Associates
Prosanos
RATA Associates
RiskShield
Ramboll
Standard & Poor's
Strategic Analysis Corporation
Univ. of Alicante
Univ. of South Carolina
vielife
Xerox
US Army