Numerical Components for .NET
Namespace: Extreme.Mathematics.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 4.2.11333.0 (4.2.12253.0)
[SerializableAttribute] public sealed class ConstantVector : Vector
<SerializableAttribute> _ Public NotInheritable Class ConstantVector _ Inherits Vector
[SerializableAttribute] public ref class ConstantVector sealed : public Vector
[<SealedAttribute>] [<SerializableAttribute>] type ConstantVector = class inherit Vector end
The ConstantVector class represents a Vector whose components all have the same, constant value. They are used primarily as views on structured matrices, where the structure of the matrix dictates that certain elements be zero or one.
The components of a ConstantVector cannot be modified. Attempting to do so causes an exception of type ComponentReadOnlyException.
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.