C# 클래스 Accord.Math.MatrixFormatter

Defines how matrices are formatted and displayed, depending on the chosen format representation.
상속: ICustomFormatter
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
Format ( string format, Array matrix, IMatrixFormatProvider formatProvider ) : string

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

Format ( string format, object arg, IFormatProvider formatProvider ) : string

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

ParseJagged ( string str, IMatrixFormatProvider provider ) : double[][]

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

ParseMultidimensional ( string str, IMatrixFormatProvider provider ) : ].double[

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

비공개 메소드들

메소드 설명
handleOtherFormats ( string format, object arg, IFormatProvider culture ) : string

Handles formatting for objects other than matrices.

parseOptions ( string format, string &newline, string &elementFormat ) : bool

Parses a format string containing the format options for the matrix representation.

메소드 상세

Format() 공개 정적인 메소드

Converts a jagged or multidimensional array into a System.String representation.
public static Format ( string format, Array matrix, IMatrixFormatProvider formatProvider ) : string
format string
matrix System.Array
formatProvider IMatrixFormatProvider
리턴 string

Format() 공개 메소드

Converts the value of a specified object to an equivalent string representation using specified formatting information.
public Format ( string format, object arg, IFormatProvider formatProvider ) : string
format string A format string containing formatting specifications.
arg object An object to format.
formatProvider IFormatProvider /// An object that supplies /// format information about the current instance.
리턴 string

ParseJagged() 공개 정적인 메소드

Converts a matrix represented in a System.String into a jagged array.
public static ParseJagged ( string str, IMatrixFormatProvider provider ) : double[][]
str string
provider IMatrixFormatProvider
리턴 double[][]

ParseMultidimensional() 공개 정적인 메소드

Converts a matrix represented in a System.String into a multi-dimensional array.
public static ParseMultidimensional ( string str, IMatrixFormatProvider provider ) : ].double[
str string
provider IMatrixFormatProvider
리턴 ].double[