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.Matlab»MatlabDataObject Class»Methods»AsMatrix(T) Method

MatlabDataObjectAsMatrixT Method

Extreme Optimization Numerical Libraries for .NET Professional
Attempts to convert the object to a matrix with the specified element type.

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

C#
VB
C++
F#
Copy
public virtual Matrix<T> AsMatrix<T>(
	bool strict = true
)
Public Overridable Function AsMatrix(Of T) ( 
	Optional strict As Boolean = true
) As Matrix(Of T)
public:
generic<typename T>
virtual Matrix<T>^ AsMatrix(
	bool strict = true
)
abstract AsMatrix : 
        ?strict : bool 
(* Defaults:
        let _strict = defaultArg strict true
*)
-> Matrix<'T> 
override AsMatrix : 
        ?strict : bool 
(* Defaults:
        let _strict = defaultArg strict true
*)
-> Matrix<'T> 

Parameters

strict (Optional)
Type: SystemBoolean
Specifies whether the element type should be matched exactly (), or whether conversions are allowed ().

Type Parameters

T
The element type of the matrix

Return Value

Type: MatrixT
The new matrix if successful; otherwise .

Implements

IDataObjectTObjectAsMatrixT(Boolean)
Remarks

The conversion may fail for two reasons. Either the object is not a matrix or vector, or the element type of the matrix cannot be cast to T.

See Also

Reference

MatlabDataObject Class
Extreme.Data.Matlab 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.