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.Json»JsonFile Class»Methods»ReadVector Method Overloads»ReadVector(T) Method (String, JsonOptions)

JsonFileReadVectorT Method (String, JsonOptions)

Extreme Optimization Numerical Libraries for .NET Professional
Reads a vector from a file in JSON format.

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

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

Parameters

path
Type: SystemString
The path to the file.
options (Optional)
Type: Extreme.Data.JsonJsonOptions
A JsonOptions 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 data frame that was read from the file pointed to by path.
Exceptions

ExceptionCondition
FileNotFoundException The specified file does not exist.
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

JsonFile Class
ReadVector Overload
Extreme.Data.Json 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.