C# Класс MyMediaLite.DataType.IMatrixUtils

Utilities to work with matrices
Показать файл Открыть проект

Открытые методы

Метод Описание
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