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»Write Method Overloads»Write(T) Method (String, Matrix(T), JsonOptions)

JsonFileWriteT Method (String, MatrixT, JsonOptions)

Extreme Optimization Numerical Libraries for .NET Professional
Writes a matrix to 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 void Write<T>(
	string path,
	Matrix<T> matrix,
	JsonOptions options = null
)
Public Shared Sub Write(Of T) ( 
	path As String,
	matrix As Matrix(Of T),
	Optional options As JsonOptions = Nothing
)
public:
generic<typename T>
static void Write(
	String^ path, 
	Matrix<T>^ matrix, 
	JsonOptions^ options = nullptr
)
static member Write : 
        path : string * 
        matrix : Matrix<'T> * 
        ?options : JsonOptions 
(* Defaults:
        let _options = defaultArg options null
*)
-> unit 

Parameters

path
Type: SystemString
The path to the file.
matrix
Type: Extreme.MathematicsMatrixT
The matrix to write 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 matrix.
Exceptions

ExceptionCondition
FileNotFoundException The specified file does not exist.
See Also

Reference

JsonFile Class
Write 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.