Extreme Optimization™: Complexity made simple.

Numerical Components
for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Blog
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Contact us
Introduction
Deployment Guide
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand ReferenceReference
  • Home
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Reference
    • Extreme.Mathematics Namespace
    • Extreme.Mathematics.Algorithms Namespace
    • Extreme.Mathematics.Calculus Namespace
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations Namespace
    • Extreme.Mathematics.Curves Namespace
    • Extreme.Mathematics.Curves.Nonlinear Namespace
    • Extreme.Mathematics.EquationSolvers Namespace
    • Extreme.Mathematics.Generic Namespace
    • Extreme.Mathematics.Generic.LinearAlgebra Namespace
    • Extreme.Mathematics.Generic.LinearAlgebra.Providers Namespace
    • Extreme.Mathematics.LinearAlgebra Namespace
    • Extreme.Mathematics.LinearAlgebra.Complex Namespace
    • Extreme.Mathematics.LinearAlgebra.Complex.Decompositions Namespace
    • Extreme.Mathematics.LinearAlgebra.IO Namespace
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers Namespace
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners Namespace
    • Extreme.Mathematics.LinearAlgebra.Providers Namespace
    • Extreme.Mathematics.LinearAlgebra.Sparse Namespace
    • Extreme.Mathematics.Optimization Namespace
    • Extreme.Mathematics.Optimization.LineSearches Namespace
    • Extreme.Mathematics.SignalProcessing Namespace
    • Extreme.Statistics Namespace
    • Extreme.Statistics.Distributions Namespace
    • Extreme.Statistics.IO Namespace
    • Extreme.Statistics.Multivariate Namespace
    • Extreme.Statistics.Random Namespace
    • Extreme.Statistics.Tests Namespace
    • Extreme.Statistics.TimeSeriesAnalysis Namespace
  • Extreme.Mathematics Namespace
    • AccuracyGoal Structure
    • AlgorithmStatus Enumeration
    • ArrayMath Class
    • BigFloat Class
    • BigInteger Structure
    • BigRational Structure
    • ComplexMatrix Class
    • ComplexVector Class
    • Constants Class
    • ConvergenceCriterion Enumeration
    • DecimalMath Class
    • DimensionMismatchException Class
    • DimensionType Enumeration
    • DoubleComparer Class
    • DoubleComplex Structure
    • Elementary Class
    • EquationSolving Class
    • FunctionMath Class
    • IntegerMath Class
    • Intent Enumeration
    • Interval Structure
    • Interval(T) Structure
    • IPermutable Interface
    • MachineConstants Class
    • Matrix Class
    • MatrixDiagonal Enumeration
    • MatrixElementOrder Enumeration
    • MatrixNorm Enumeration
    • MatrixOperationSide Enumeration
    • MatrixTriangle Enumeration
    • NumericalDifferentiation Class
    • NumericalIntegration Class
    • Permutation Class
    • RoundingMode Enumeration
    • SingleComparer Class
    • SingleComplex Structure
    • SingleComplexMatrix Class
    • SingleComplexVector Class
    • SingleInterval Structure
    • SingleMatrix Class
    • SingleMatrixFiller Delegate
    • SingleVector Class
    • SingleVectorFiller Delegate
    • SolutionReport(T) Class
    • Special Class
    • SymbolicMath Class
    • TotalLossOfPrecisionException Class
    • TransposeOperation Enumeration
    • Vector Class
  • Matrix Class
    • Members
    • Constructors
    • Methods
    • Operators
    • Properties
  • Members
Collapse image Expand Image Copy image CopyHover image
                






Matrix Members

Matrix Class Constructors Methods Operators Properties See Also 

The Matrix type exposes the following members.

Constructors

  Name Description
Protected method Matrix Overloaded.

Methods

  Name Description
Public method Static member Abs
Returns a matrix whose components are the absolute values of the components of another matrix.
Public method AbsoluteMax
Returns the value of the component in this matrix that has the largest absolute value.
Public method AbsoluteMin
Returns the value of the component in this matrix that has the smallest absolute value.
Public method Static member Acos
Returns a matrix whose components are the inverse cosine of the components of another matrix.
Public method Static member Add Overloaded.
Public method AddProductToVector
Multiplies a Vector by this Matrix and stores the result in a second vector of type DenseVector.
(Overrides LinearOperator..::..AddProductToVector(Double, Vector, TransposeOperation, Double, DenseVector).)
Public method Static member Apply Overloaded.
Public method ApplyToColumns Overloaded.
Public method ApplyToRows Overloaded.
Public method AsDenseMatrix
Returns this matrix as a dense matrix.
Public method AsGeneralMatrix Obsolete.
Returns this matrix as a dense matrix.
Public method Static member Asin
Returns a matrix whose components are the inverse sine of the components of another matrix.
Public method Static member Atan
Returns a matrix whose components are the inverse tangent of the components of another matrix.
Public method Static member Atan2
Returns a matrix whose components are the inverse tangent of the components of another matrix.
Public method Static member Ceiling
Returns a matrix whose components are the components of another matrix rounded up to the nearest integer.
Public method Static member Clip
Returns a matrix whose components are the components of a matrix constrained to be within the specified interval.
Public method Clone Overloaded.
Public method CloneData
Gives this instance its own copy of its elements.
Public method CloneShape
Creates a new matrix that has the same number of rows and columns and optionally preserves the writable structure.
Public method Static member ComponentwiseDivide Overloaded.
Public method Static member ComponentwiseMultiply Overloaded.
Public method Static member ConditionNumber
Calculates the ratio of the largest to the smallest singular value of a matrix.
Public method CopyTo
Copies the components of this matrix to another matrix.
Public method Static member Cos
Returns a matrix whose components are the cosines of the components of another matrix.
Public method Static member Cosh
Returns a matrix whose components are the hyperbolic cosines of the components of another matrix.
Public method Static member Create Overloaded.
Constructs a new matrix.
Public method Static member CreateBanded Overloaded.
Public method Static member CreateConstant
Constructs a new constant matrix.
Public method Static member CreateDiagonal Overloaded.
Public method Static member CreateLowerBanded
Constructs an upper or lower band matrix
Public method Static member CreateLowerTriangular Overloaded.
Public method Static member CreateSparse Overloaded.
Public method Static member CreateSparseSymmetric Overloaded.
Public method Static member CreateSymmetric Overloaded.
Public method Static member CreateSymmetricBanded
Constructs a symmetric band matrix.
Public method Static member CreateUpperBanded
Constructs an upper or lower band matrix
Public method Static member CreateUpperTriangular Overloaded.
Public method Static member Determinant
Calculates the determinant of a matrix.
Public method Static member Divide
Divides a matrix by a scalar.
Public method Equals Overloaded.
Public method Static member EstimateConditionNumber Overloaded.
Public method Static member Exp
Returns a matrix whose components are the exponential of the components of another matrix.
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method Static member Floor
Returns a matrix whose components are the components of another matrix rounded down to the nearest integer.
Public method FrobeniusNorm
Returns the Frobenius norm of this matrix.
Public method GetCholeskyDecomposition Overloaded.
Public method GetColumn Overloaded.
Returns a column or part of a column of this Matrix.
Public method GetColumnEnumerator Obsolete.
Gets an IEnumerator than can be used to enumerate the columns of this Matrix.
Public method GetColumnSums
Returns the sums of the components of each column of the matrix.
Public method GetComponents Overloaded.
Public method GetConditionNumber
Calculates the condition number of this matrix.
Public method GetDeterminant
Calculates the determinant of this matrix.
(Overrides LinearOperator..::..GetDeterminant()()()().)
Public method GetDiagonal Overloaded.
Public method GetEigenvalueDecomposition Overloaded.
Public method GetExponential
Computes the matrix exponential of a square matrix.
Public method GetHashCode Overloaded.
Public method GetInverse Overloaded.
Public method GetLUDecomposition Overloaded.
Public method GetObjectData
Populates a SerializationInfo with the values needed to serialize the target object.
(Overrides LinearOperator..::..GetObjectData(SerializationInfo, StreamingContext).)
Public method GetParallelColumnEnumerator Obsolete.
Returns a Partitioner instance that allows you to enumerate the columns of this Matrix in parallel.
Public method GetParallelRowEnumerator Obsolete.
Returns a Partitioner instance that allows you to enumerate the rows of this Matrix in parallel.
Public method GetPseudoInverse
Calculates the Moore-Penrose pseudo-inverse of this matrix.
Public method GetQRDecomposition Overloaded.
Public method GetRow Overloaded.
Returns a row or part of a row of this Matrix.
Public method GetRowEnumerator Obsolete.
Returns an IEnumerator instance that allows you to enumerate the rows of this Matrix.
Public method GetRowSums
Returns the sums of the components of each row of the matrix.
Public method GetSingularValueDecomposition Overloaded.
Public method GetSingularValues
Gets a vector containing the singular values of the matrix.
Public method GetSubmatrix Overloaded.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValue
Gets the matrix component at the specified position.
Public method Static member Hypot
Returns a matrix whose components are the hypotenuse of the triangle whose lengths are the components of two other matrices.
Public method InfinityNorm
Returns the infinity norm of this matrix.
Public method Static member Inverse
Calculates the inverse of a matrix.
Public method IsComponentWritable
Returns a value that indicates whether the value of the component at the specified row and column can be changed.
Public method IsSingular
Gets a value indicating whether this matrix is singular.
(Overrides LinearOperator..::..IsSingular()()()().)
Public method Static member Log Overloaded.
Public method Static member Log10
Returns a matrix whose components are the base 10 logarithms of the components of another matrix.
Public method Static member MatrixExponential
Computes the matrix exponential of a square matrix.
Public method Static member MatrixPower
Computes the matrix raised to the specified power.
Public method Static member Max Overloaded.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Static member Min Overloaded.
Public method Static member Multiply Overloaded.
Public method MultiplyTranspose Overloaded.
Protected method NormInternal
Calculates a matrix norm.
Public method OneNorm
Returns the 1-norm of this matrix.
Public method PermuteColumns
Permutes the columns of the matrix using the specified Permutation.
Public method PermuteRows
Permutes the rows of the matrix using the specified Permutation.
Public method PermuteRowsAndColumns Overloaded.
Public method Static member Pow Overloaded.
Public method Static member PseudoInverse
Calculates the Moore-Penrose pseudo-inverse of a matrix.
Public method Static member Rank Overloaded.
Returns the numerical rank of the matrix.
Public method Static member Reciprocal
Returns a matrix whose components are the inverses (reciprocals) of the components of another matrix.
Public method Static member Round
Returns a matrix whose components are the components of another matrix rounded to the nearest integer.
Public method ScaleColumns
Scales the columns of the matrix by the values specified by a vector.
Public method ScaleRows
Scales the rows of the matrix by the values specified by a vector.
Public method SetToZero
Sets all elements of the matrix to zero.
Public method SetValue Overloaded.
Public method ShallowCopy
Makes a shallow copy of this matrix.
Public method Static member Sin
Returns a matrix whose components are the sines of the components of another matrix.
Public method Static member Sinh
Returns a matrix whose components are the hyperbolic sines of the components of another matrix.
Public method Solve Overloaded.
Solves the system of simultaneous linear equations represented by this instance.
Public method SolveTo
Solves the system for the specified right-hand side.
(Inherited from LinearOperator.)
Public method SolveTranspose Overloaded.
Solves the transposed system of simultaneous linear equations represented by this instance.
Public method SolveTransposeTo
Solves the transposed system for the specified right-hand side.
(Inherited from LinearOperator.)
Public method SortColumns Overloaded.
Public method SortRows Overloaded.
Public method Static member Sqrt
Returns a matrix whose components are the square roots of the components of another matrix.
Public method Static member Subtract
Subtracts two matrix objects.
Public method SwapColumns
Swaps the columns with the specified indices.
Public method SwapRows
Swaps the rows with the specified indices.
Public method Static member Tan
Returns a matrix whose components are the tangents of the components of another matrix.
Public method Static member Tanh
Returns a matrix whose components are the hyperbolic tangents of the components of another matrix.
Public method ToArray Overloaded.
Public method ToDenseMatrix
Makes a copy of this instance and returns it as a dense matrix.
Public method ToGeneralMatrix Obsolete.
Makes a copy of this instance and returns it as a dense matrix.
Public method ToString Overloaded.
Public method Trace
Gets the sum of the diagonal elements of this matrix.
Public method Transpose
Returns the transpose of this instance.
Public method TwoNorm
Returns the two-norm of this matrix.
Public method UnscaleColumns
Scales the columns of the matrix by the inverse of the values specified by a vector.
Public method UnscaleRows
Scales the rows of the matrix by the inverse of the values specified by a vector.

Operators

  Name Description
Public operator Static member Addition
Adds two matrix objects.
Public operator Static member AdditionAssignment Overloaded.
Public operator Static member Division
Divides a matrix by a scalar.
Public operator Static member DivisionAssignment
Divides a matrix by a constant in place.
Public operator Static member DotDivide
Returns the elementwise quotient of two matrices.
Public operator Static member DotDivideEquals
Divides the components of a matrix by the corresponding components of another matrix.
Public operator Static member DotMultiply
Returns the elementwise product of two matrices.
Public operator Static member DotMultiplyEquals
Multiplies the components of a matrix by the corresponding components of another matrix.
Public operator Static member Equality
Returns a value indicating whether two instances of matrix are equal.
Public operator Static member Inequality
Returns a value indicating whether two instances of matrix are not equal.
Public operator Static member Multiply Overloaded.
Public operator Static member MultiplyAssignment
Multiplies a matrix by a constant in place.
Public operator Static member Subtraction
Subtracts two matrix objects.
Public operator Static member SubtractionAssignment Overloaded.

Properties

  Name Description
Public property ColumnCount
Gets the number of columns in the matrix.
(Overrides LinearOperator..::..ColumnCount.)
Public property Columns
Gets the ColumnCollection for this instance.
Public property ColumnwiseComponents
Enumerates the components of the matrix column by column.
Public property ElementOrder
Gets a value indicating the order in which the matrix elements are stored.
Public property IsLowerTriangular
Gets a value that indicates if all components of the matrix above the main diagonal are zero.
Public property IsSparse
Gets a value that indicates whether the matrix is sparse.
Public property IsSymmetrical
Gets a value that indicates if the matrix is symmetrical about the main diagonal.
Public property IsUnitDiagonal
Gets a value indicating whether all diagonal elements of this instance are equal to 1.
Public property IsUpperTriangular
Gets a value that indicates if all components of the matrix below the main diagonal are zero.
Public property Item Overloaded.
Public property NonzeroComponents
Gets a collection of the nonzero components of the matrix.
Public property RowCount
Gets the number of rows in the matrix.
(Overrides LinearOperator..::..RowCount.)
Public property Rows
Gets the RowCollection for this instance.
Public property RowwiseComponents
Enumerates the components of the matrix column by column.
Public property WritableComponents
Enumerates the writable components of the matrix column by column.

See Also

Matrix Class
Extreme.Mathematics Namespace

Send comments on this topic to support@extremeoptimization.com

Copyright (c) 2004-2011 ExoAnalytics Inc.

Copyright © 2003-2013, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.