IGLib  1.7.2
The IGLib base library for development of numerical, technical and business applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Num.MatrixExtensions Class Reference

Extension methods for IMatrix interface. More...

Static Public Member Functions

static string ToStringReadable (this IMatrix mat, int accuracy=4, int padding=8)
 Easily readable string form of a matrix, accuracy and padding can be set. More...
 
static string ToStringMath (this IMatrix mat)
 Returns string representation of the current matrix in the standard IGLib form. Rows and elements are printed in comma separated lists in curly brackets. Extension method for IMatrix interface. More...
 
static string ToString (this IMatrix mat, string elementFormat)
 Returns string representation of the current matrix in the standard IGLib form, with the specified format for elements of the matrix. Rows and elements are printed in comma separated lists in curly brackets. Extension method for IMatrix interface. More...
 
static string ToStringMath (this IMatrix mat, string elementFormat)
 Returns string representation of the current matrix in the standard IGLib form, with the specified format for elements of the matrix. Rows and elements are printed in comma separated lists in curly brackets. Extension method for IMatrix interface. More...
 
static string ToStringNewlines (IMatrix mat)
 Returns a string representation of the current matrix with newlines inserted after each row. Rows and elements are printed in comma separated lists in curly brackets. Extension nethod for IMatrix interface. More...
 
static string ToStringNewlines (IMatrix mat, string elementFormat)
 Returns a string representation of the current matrix with newlines inserted after each row, with the specified format for elements of the matrix. Rows and elements are printed in comma separated lists in curly brackets. Extension nethod for IMatrix interface. More...
 
static string ToStringMath1 (IMatrix mat)
 Returns string representation of the current matrix in the standard IGLib form (Mathematica-like format but with C representation of numbers). Rows and elements are printed in comma separated lists in curly brackets. Extension nethod for IMatrix interface. More...
 

Detailed Description

Extension methods for IMatrix interface.

$A Igor Apr11;

Member Function Documentation

static string IG.Num.MatrixExtensions.ToStringReadable ( this IMatrix  mat,
int  accuracy = 4,
int  padding = 8 
)
inlinestatic

Easily readable string form of a matrix, accuracy and padding can be set.

Parameters
matMatrix to be changed to a string.
accuracyAccuracy of matrix elments representations.
paddingPaddind of matrix elements.
Returns
A readable string representation in tabular form.

References IG.Num.MatrixBase.ToStringReadable().

static string IG.Num.MatrixExtensions.ToStringMath ( this IMatrix  mat)
inlinestatic

Returns string representation of the current matrix in the standard IGLib form. Rows and elements are printed in comma separated lists in curly brackets. Extension method for IMatrix interface.

Parameters
matMatrix whose string representation is returned.

References IG.Num.MatrixBase.ToStringMath().

static string IG.Num.MatrixExtensions.ToString ( this IMatrix  mat,
string  elementFormat 
)
inlinestatic

Returns string representation of the current matrix in the standard IGLib form, with the specified format for elements of the matrix. Rows and elements are printed in comma separated lists in curly brackets. Extension method for IMatrix interface.

Parameters
matMatrix whose string representation is returned.
elementFormatElsment format.

References IG.Num.MatrixBase.ToString().

static string IG.Num.MatrixExtensions.ToStringMath ( this IMatrix  mat,
string  elementFormat 
)
inlinestatic

Returns string representation of the current matrix in the standard IGLib form, with the specified format for elements of the matrix. Rows and elements are printed in comma separated lists in curly brackets. Extension method for IMatrix interface.

Parameters
matMatrix whose string representation is returned.
elementFormatElement format.

References IG.Num.MatrixBase.ToStringMath().

static string IG.Num.MatrixExtensions.ToStringNewlines ( IMatrix  mat)
inlinestatic

Returns a string representation of the current matrix with newlines inserted after each row. Rows and elements are printed in comma separated lists in curly brackets. Extension nethod for IMatrix interface.

Parameters
matMatrix whose string representation is returned.

References IG.Num.MatrixBase.ToStringNewlines().

static string IG.Num.MatrixExtensions.ToStringNewlines ( IMatrix  mat,
string  elementFormat 
)
inlinestatic

Returns a string representation of the current matrix with newlines inserted after each row, with the specified format for elements of the matrix. Rows and elements are printed in comma separated lists in curly brackets. Extension nethod for IMatrix interface.

Parameters
matMatrix whose string representation is returned.
elementFormatFormat specification for individual elemeents.

References IG.Num.MatrixBase.ToStringNewlines().

static string IG.Num.MatrixExtensions.ToStringMath1 ( IMatrix  mat)
inlinestatic

Returns string representation of the current matrix in the standard IGLib form (Mathematica-like format but with C representation of numbers). Rows and elements are printed in comma separated lists in curly brackets. Extension nethod for IMatrix interface.

Parameters
matMatrix whose string representation is returned.

References IG.Num.MatrixBase.ToStringMath().


The documentation for this class was generated from the following file: