|
FflasFfpack
|
#include <cstring>#include <stdio.h>#include <stdlib.h>#include <fstream>#include "fflas-ffpack/fflas/fflas.h"#include "fflas_memory.h"Namespaces | |
| FFLAS | |
Enumerations | |
| enum | FFLAS_FORMAT { FflasAuto = 0 , FflasDense = 1 , FflasSMS = 2 , FflasBinary = 3 , FflasMath = 4 , FflasMaple = 5 , FflasSageMath = 6 } |
Functions | |
| template<class Field > | |
| std::ostream & | WriteMatrix (std::ostream &c, const Field &F, size_t m, size_t n, typename Field::ConstElement_ptr A, size_t lda, FFLAS_FORMAT format, bool column_major) |
| WriteMatrix: write a matrix to an output stream. More... | |
| void | preamble (std::ifstream &ifs, FFLAS_FORMAT &format) |
| template<class Field > | |
| Field::Element_ptr | ReadMatrix (std::ifstream &ifs, Field &F, size_t &m, size_t &n, typename Field::Element_ptr &A, FFLAS_FORMAT format=FflasAuto) |
| ReadMatrix: read a matrix from an input stream. More... | |
| template<class Field > | |
| Field::Element_ptr | ReadMatrix (const std::string &matrix_file, Field &F, size_t &m, size_t &n, typename Field::Element_ptr &A, FFLAS_FORMAT format=FflasAuto) |
| ReadMatrix: read a matrix from a file. More... | |
| template<class Field > | |
| void | WriteMatrix (std::string &matrix_file, const Field &F, int m, int n, typename Field::ConstElement_ptr A, size_t lda, FFLAS_FORMAT format=FflasDense, bool column_major=false) |
| WriteMatrix: write a matrix to a file. More... | |
| std::ostream & | WritePermutation (std::ostream &c, const size_t *P, size_t N) |
| WritePermutation: write a permutation matrix to an output stream. More... | |