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
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Nuget packages
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

Skip Navigation LinksHome»Documentation»Reference»Extreme.Data.Text»MatrixMarketFile Class»Methods»ReadVector Method Overloads»ReadVector(T) Method (Stream, TextOptions)

MatrixMarketFileReadVectorT Method (Stream, TextOptions)

Extreme Optimization Numerical Libraries for .NET Professional
Reads a vector from a stream in Matrix Market format.

Namespace:  Extreme.Data.Text
Assembly:  Extreme.Data (in Extreme.Data.dll) Version: 3.1.0
Syntax

C#
VB
C++
F#
Copy
public static Vector<T> ReadVector<T>(
	Stream stream,
	TextOptions options = null
)
Public Shared Function ReadVector(Of T) ( 
	stream As Stream,
	Optional options As TextOptions = Nothing
) As Vector(Of T)
public:
generic<typename T>
static Vector<T>^ ReadVector(
	Stream^ stream, 
	TextOptions^ options = nullptr
)
static member ReadVector : 
        stream : Stream * 
        ?options : TextOptions 
(* Defaults:
        let _options = defaultArg options null
*)
-> Vector<'T> 

Parameters

stream
Type: System.IOStream
A stream.
options (Optional)
Type: Extreme.DataTextOptions
A TextOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the vector.

Return Value

Type: VectorT
The vector that was read from the stream pointed to by stream.
Remarks

The element type of the stored vector does not have to match the element type of the returned vector. However, casting values from this type to type T must succeed.

See Also

Reference

MatrixMarketFile Class
ReadVector Overload
Extreme.Data.Text Namespace

Copyright (c) 2004-2023 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

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