C# 클래스 MyMediaLite.DataType.IMatrixUtils

Utilities to work with matrices
파일 보기 프로젝트 열기: zenogantner/MML-KDD

공개 메소드들

메소드 설명
ReadMatrix ( TextReader reader, IMatrix example_matrix ) : IMatrix

Read a matrix from a TextReader object

ReadMatrix ( TextReader reader, IMatrix example_matrix ) : IMatrix

Read a matrix from a TextReader object

ReadMatrix ( TextReader reader, IMatrix example_matrix ) : IMatrix

Read a matrix of integers from a TextReader object

WriteMatrix ( StreamWriter writer, IMatrix matrix ) : void

Write a matrix of doubles to a StreamWriter object

WriteMatrix ( StreamWriter writer, IMatrix matrix ) : void

Write a matrix of floats to a StreamWriter object

WriteMatrix ( StreamWriter writer, IMatrix matrix ) : void

Write a matrix of integers to a StreamWriter object

WriteSparseMatrix ( StreamWriter writer, SparseMatrix matrix ) : void

Write a sparse matrix of doubles to a StreamWriter object

WriteSparseMatrix ( StreamWriter writer, SparseMatrix matrix ) : void

Write a sparse matrix of floats to a StreamWriter object

WriteSparseMatrix ( StreamWriter writer, SparseMatrix matrix ) : void

Write a sparse matrix of integers to a StreamWriter object

메소드 상세

ReadMatrix() 공개 정적인 메소드

Read a matrix from a TextReader object
public static ReadMatrix ( TextReader reader, IMatrix example_matrix ) : IMatrix
reader System.IO.TextReader the object to read from
example_matrix IMatrix matrix of the type of matrix to create
리턴 IMatrix

ReadMatrix() 공개 정적인 메소드

Read a matrix from a TextReader object
public static ReadMatrix ( TextReader reader, IMatrix example_matrix ) : IMatrix
reader System.IO.TextReader the object to read from
example_matrix IMatrix matrix of the type of matrix to create
리턴 IMatrix

ReadMatrix() 공개 정적인 메소드

Read a matrix of integers from a TextReader object
public static ReadMatrix ( TextReader reader, IMatrix example_matrix ) : IMatrix
reader System.IO.TextReader the object to read from
example_matrix IMatrix matrix of the type of matrix to create
리턴 IMatrix

WriteMatrix() 공개 정적인 메소드

Write a matrix of doubles to a StreamWriter object
public static WriteMatrix ( StreamWriter writer, IMatrix matrix ) : void
writer System.IO.StreamWriter a
matrix IMatrix the matrix of doubles to write out
리턴 void

WriteMatrix() 공개 정적인 메소드

Write a matrix of floats to a StreamWriter object
public static WriteMatrix ( StreamWriter writer, IMatrix matrix ) : void
writer System.IO.StreamWriter a
matrix IMatrix the matrix of floats to write out
리턴 void

WriteMatrix() 공개 정적인 메소드

Write a matrix of integers to a StreamWriter object
public static WriteMatrix ( StreamWriter writer, IMatrix matrix ) : void
writer System.IO.StreamWriter a
matrix IMatrix the matrix of doubles to write out
리턴 void

WriteSparseMatrix() 공개 정적인 메소드

Write a sparse matrix of doubles to a StreamWriter object
public static WriteSparseMatrix ( StreamWriter writer, SparseMatrix matrix ) : void
writer System.IO.StreamWriter a
matrix SparseMatrix the matrix of doubles to write out
리턴 void

WriteSparseMatrix() 공개 정적인 메소드

Write a sparse matrix of floats to a StreamWriter object
public static WriteSparseMatrix ( StreamWriter writer, SparseMatrix matrix ) : void
writer System.IO.StreamWriter a
matrix SparseMatrix the matrix of floats to write out
리턴 void

WriteSparseMatrix() 공개 정적인 메소드

Write a sparse matrix of integers to a StreamWriter object
public static WriteSparseMatrix ( StreamWriter writer, SparseMatrix matrix ) : void
writer System.IO.StreamWriter a
matrix SparseMatrix the matrix of doubles to write out
리턴 void