Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries 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
    • Data Analysis 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
    • Partners
    • Contact us
Introduction
Deployment Guide
Configuration
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 Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference
  • Extreme Optimization
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Configuration
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Data Access Library User's Guide
    • Reference
  • Reference
    • Extreme
    • Extreme.Collections
    • Extreme.Data
    • Extreme.Data.Json
    • Extreme.Data.Matlab
    • Extreme.Data.R
    • Extreme.Data.Stata
    • Extreme.Data.Text
    • Extreme.DataAnalysis
    • Extreme.DataAnalysis.Linq
    • Extreme.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.Distributed.Cuda
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.FSharp
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.Generic.LinearAlgebra
    • Extreme.Mathematics.Generic.LinearAlgebra.Implementation
    • Extreme.Mathematics.Generic.LinearAlgebra.Providers
    • Extreme.Mathematics.Generic.SignalProcessing
    • Extreme.Mathematics.Implementation
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Complex
    • Extreme.Mathematics.LinearAlgebra.Complex.Decompositions
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IO
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.LinearAlgebra.Providers
    • Extreme.Mathematics.LinearAlgebra.Sparse
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.Genetic
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Numerics.FSharp
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.IO
    • Extreme.Statistics.Linq
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Random
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Mathematics.LinearAlgebra
    • BandMatrix Class
    • BandMatrix(T) Class
    • BandVector Class
    • BlockVector(T) Class
    • CholeskyDecomposition Class
    • CholeskyDecomposition(T) Class
    • CloningMethod Enumeration
    • ColumnCollection Structure
    • ColumnCollection(T) Structure
    • ComplexEigenvalueDecomposition Class
    • ComplexSingularValueDecomposition(T) Class
    • ComponentReadOnlyException Class
    • ComposedComplexMatrix(T) Class
    • ComposedComplexVector(T) Class
    • ConstantMatrix Class
    • ConstantMatrix(T) Class
    • ConstantVector Class
    • ConstantVector(T) Class
    • Decomposition Class
    • Decomposition(T) Class
    • DenseMatrix Class
    • DenseMatrix(T) Class
    • DenseVector Class
    • DenseVector(T) Class
    • DiagonalMatrix Class
    • DiagonalMatrix(T) Class
    • EigenvalueDecomposition Class
    • EigenvalueDecomposition(T) Class
    • EigenvalueRange Enumeration
    • GeneralizedDecomposition(T) Class
    • GeneralizedEigenvalueDecomposition(T) Class
    • GeneralizedSingularValueDecomposition(T) Class
    • GeneralizedSingularValueDecompositionFactors Enumeration
    • HermitianEigenvalueDecomposition Class
    • HermitianMatrix(T) Class
    • IDoubleStorage Interface
    • ILeastSquaresSolver Interface
    • IndexedVector Class
    • IndexedVector(T) Class
    • IndexValuePair Structure
    • IndexValuePair(T) Structure
    • IResizableMatrix Interface
    • IResizableMatrix(T) Interface
    • ISingleLeastSquaresSolver Interface
    • ISingleResizableMatrix Interface
    • ISingleStorage Interface
    • Kernel Class
    • LeastSquaresSolutionMethod Enumeration
    • LeastSquaresSolver Class
    • LeastSquaresSolver(T) Class
    • LinearAlgebraOperations Class
    • LinearOperator Class
    • LinearOperator(T) Class
    • LQDecomposition(T) Class
    • LUDecomposition Class
    • LUDecomposition(T) Class
    • MatrixNotPositiveDefiniteException Class
    • MatrixSingularException Class
    • MatrixStructure Enumeration
    • MatrixView Class
    • MatrixView(T) Class
    • NonHermitianEigenvalueDecomposition Class
    • NonHermitianEigenvalueDecomposition(T) Class
    • NonNegativeMatrixFactorization Class
    • NonNegativeMatrixFactorization(T) Class
    • NonsymmetricEigenvalueDecomposition Class
    • PermutationMatrix Class
    • PivotVector Structure
    • QLDecomposition(T) Class
    • QRDecomposition Class
    • QRDecomposition(T) Class
    • Range Structure
    • RowCollection Structure
    • RowCollection(T) Structure
    • RowColumnValueTriplet Structure
    • RowColumnValueTriplet(T) Structure
    • RQDecomposition(T) Class
    • SingleBandCholeskyDecomposition Class
    • SingleBandLUDecomposition Class
    • SingleBandMatrix Class
    • SingleBandVector Class
    • SingleBandVector.BandVectorEnumerator Structure
    • SingleCholeskyDecomposition Class
    • SingleColumnCollection Structure
    • SingleConstantMatrix Class
    • SingleConstantVector Class
    • SingleDecomposition Class
    • SingleDenseMatrix Class
    • SingleDenseVector Class
    • SingleDiagonalMatrix Class
    • SingleEigenvalueDecomposition Class
    • SingleIndexedVector Class
    • SingleIndexValuePair Structure
    • SingleKernel Class
    • SingleLeastSquaresSolver Class
    • SingleLinearTransformation Class
    • SingleLUDecomposition Class
    • SingleMatrixView Class
    • SinglePermutationMatrix Class
    • SingleQRDecomposition Class
    • SingleRowCollection Structure
    • SingleRowColumnValueTriplet Structure
    • SingleSingularValueDecomposition Class
    • SingleSparseLUDecomposition Class
    • SingleSparseMatrix Class
    • SingleSparseVector Class
    • SingleSymmetricEigenvalueDecomposition Class
    • SingleSymmetricMatrix Class
    • SingleTriangularMatrix Class
    • SingularValueDecomposition Class
    • SingularValueDecomposition(T) Class
    • SingularValueDecompositionFactors Enumeration
    • SparseCompressedColumnMatrix Class
    • SparseCompressedColumnMatrix(T) Class
    • SparseMatrix Class
    • SparseMatrix(T) Class
    • SparseVector Class
    • SparseVector(T) Class
    • SymmetricEigenvalueDecomposition Class
    • SymmetricIndefiniteDecomposition Class
    • SymmetricIndefiniteDecomposition(T) Class
    • SymmetricMatrix Class
    • SymmetricMatrix(T) Class
    • TriangularMatrix Class
    • TriangularMatrix(T) Class
  • ComponentReadOnlyException Class
    • ComponentReadOnlyException Constructors
    • ComponentReadOnlyException Properties
    • ComponentReadOnlyException Methods
    • ComponentReadOnlyException Events
ComponentReadOnlyException ClassExtreme Optimization Numerical Libraries for .NET Professional
Represents an exception that is thrown when an attempt is made to set a component of a VectorT or MatrixT whose value is fixed.
Inheritance Hierarchy

SystemObject
  SystemException
    SystemSystemException
      SystemInvalidOperationException
        Extreme.Mathematics.LinearAlgebraComponentReadOnlyException

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
Syntax

C#
VB
C++
F#
Copy
[SerializableAttribute]
public class ComponentReadOnlyException : InvalidOperationException
<SerializableAttribute>
Public Class ComponentReadOnlyException
	Inherits InvalidOperationException
[SerializableAttribute]
public ref class ComponentReadOnlyException : public InvalidOperationException
[<SerializableAttribute>]
type ComponentReadOnlyException =  
    class
        inherit InvalidOperationException
    end

The ComponentReadOnlyException type exposes the following members.

Constructors

  NameDescription
Public methodComponentReadOnlyException
Constructs a new ComponentReadOnlyException.
Public methodComponentReadOnlyException(String)
Constructs a new ComponentReadOnlyException.
Protected methodComponentReadOnlyException(SerializationInfo, StreamingContext)
Initializes a new instance of the ComponentReadOnlyException class with serialized data.
Public methodComponentReadOnlyException(String, Exception)
Constructs a new ComponentReadOnlyException.
Top
Properties

  NameDescription
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Protected propertyHResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyMessage
Gets a message that describes the current exception.
(Inherited from Exception.)
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception.)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)
Top
Events

  NameDescription
Protected eventSerializeObjectState
Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.
(Inherited from Exception.)
Top
Remarks

Many matrices have a clearly defined structure. For example, all elements above the diagonal of a lower triangular matrix are zero. If the matrix is also unit diagonal, then its diagonal elements have the fixed value of 1.

Changing the value of one of these elements would cause the vector or matrix to lose its structure. This is not allowed. If an attempt is made to do so, a ComponentReadOnlyException is thrown.

You can verify whether a component of a vector is writable by calling its IsElementWritable(Int32) method. You can verify whether a component of a matrix is writable by calling its IsElementWritable(Int32, Int32) method. These methods return if the component is read-only, and a ComponentReadOnlyException would be thrown if an attempt was made to change its value.

Version Information

Numerical Libraries

Supported in: 6.0, 5.x, 4.x
See Also

Reference

Extreme.Mathematics.LinearAlgebra Namespace

Copyright (c) 2004-2016 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2018, 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.