Extension methods for IMatrix interface.
More...
|
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...
|
|
Extension methods for IMatrix interface.
$A Igor Apr11;
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
-
mat | Matrix to be changed to a string. |
accuracy | Accuracy of matrix elments representations. |
padding | Paddind 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
-
mat | Matrix 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
-
mat | Matrix whose string representation is returned. |
elementFormat | Elsment 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
-
mat | Matrix whose string representation is returned. |
elementFormat | Element 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
-
mat | Matrix 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
-
mat | Matrix whose string representation is returned. |
elementFormat | Format 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
-
mat | Matrix whose string representation is returned. |
References IG.Num.MatrixBase.ToStringMath().
The documentation for this class was generated from the following file: