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.R»RdataFile Class»Methods»Write Method Overloads»Write(T) Method (String, Matrix(T), String, Boolean, Boolean)

RdataFileWriteT Method (String, MatrixT, String, Boolean, Boolean)

Extreme Optimization Numerical Libraries for .NET Professional
Writes a matrix to the specified file.

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

C#
VB
C++
F#
Copy
public static void Write<T>(
	string path,
	Matrix<T> matrix,
	string name = "matrix",
	bool compress = true,
	bool ascii = false
)
Public Shared Sub Write(Of T) ( 
	path As String,
	matrix As Matrix(Of T),
	Optional name As String = "matrix",
	Optional compress As Boolean = true,
	Optional ascii As Boolean = false
)
public:
generic<typename T>
static void Write(
	String^ path, 
	Matrix<T>^ matrix, 
	String^ name = L"matrix", 
	bool compress = true, 
	bool ascii = false
)
static member Write : 
        path : string * 
        matrix : Matrix<'T> * 
        ?name : string * 
        ?compress : bool * 
        ?ascii : bool 
(* Defaults:
        let _name = defaultArg name "matrix"
        let _compress = defaultArg compress true
        let _ascii = defaultArg ascii false
*)
-> unit 

Parameters

path
Type: SystemString
The file to write the matrix to.
matrix
Type: Extreme.MathematicsMatrixT
The matrix to write.
name (Optional)
Type: SystemString
A name for the matrix. The default is matrix.
compress (Optional)
Type: SystemBoolean
Optional. Specifies whether the data should be compressed. The default is
ascii (Optional)
Type: SystemBoolean
Optional. Specifies whether the data should be written in human-readable ASCII format. The default is .

Type Parameters

T
The type of the elements of the matrix.
See Also

Reference

RdataFile Class
Write Overload
Extreme.Data.R 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.