Generated by DocFX

Class MatrixFormatter

Defines how matrices are formatted and displayed, depending on the chosen format representation.

Inheritance
System.Object
MatrixFormatter
Namespace: ISynergy.Framework.Mathematics.Formats.Base
Assembly: ISynergy.Framework.Mathematics.dll
Syntax
public class MatrixFormatter : ICustomFormatter

Methods

View Source

Format(String, Array, IMatrixFormatProvider)

Converts a jagged or multidimensional array into a System.String representation.

Declaration
public static string Format(string format, Array matrix, IMatrixFormatProvider formatProvider)
Parameters
Type Name Description
System.String format
Array matrix
IMatrixFormatProvider formatProvider
Returns
Type Description
System.String
View Source

Format(String, Object, IFormatProvider)

Converts the value of a specified object to an equivalent string representation using specified formatting information.

Declaration
public string Format(string format, object arg, IFormatProvider formatProvider)
Parameters
Type Name Description
System.String format

A format string containing formatting specifications.

System.Object arg

An object to format.

IFormatProvider formatProvider

An System.IFormatProvider object that supplies format information about the current instance.

Returns
Type Description
System.String

The string representation of the value of arg, formatted as specified by format and formatProvider.

View Source

ParseJagged(String, IMatrixFormatProvider)

Converts a matrix represented in a System.String into a jagged array.

Declaration
public static double[][] ParseJagged(string str, IMatrixFormatProvider provider)
Parameters
Type Name Description
System.String str
IMatrixFormatProvider provider
Returns
Type Description
System.Double[][]
View Source

ParseMultidimensional(String, IMatrixFormatProvider)

Converts a matrix represented in a System.String into a multi-dimensional array.

Declaration
public static double[, ] ParseMultidimensional(string str, IMatrixFormatProvider provider)
Parameters
Type Name Description
System.String str
IMatrixFormatProvider provider
Returns
Type Description
System.Double[,]

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)