Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
util.h
Package: ssvd-0.2.5.tar.gz [view]
Upload User: hkdiguang
Upload Date: 2013-05-12
Package Size: 105k
Code Size: 1k
Category:
Information Retrieval
Development Platform:
Unix_Linux
- // -*- c++ -*-
- #ifndef UTIL_H
- #define UTIL_H
- #include <gsl/gsl_matrix.h>
- #include <gsl/gsl_rng.h>
- #include <ostream>
- gsl_matrix* read_gsl_matrix(char* filename);
- gsl_matrix* read_gsl_matrix_fortran(char* filename);
- int fread_gsl_matrix_fortan(char*);
- int read_gsl_matrix(gsl_matrix*, char*);
- int fread_gsl_matrix(gsl_matrix*, char* f);
- int write_gsl_matrix(gsl_matrix* m, char* f);
- int printon(gsl_matrix*, std::ostream&);
- gsl_matrix* random_matrix(int m, int n);
- //int normalize_matrix_cols(gsl_matrix*, Norm*);
- //int normalize_matrix_rows(gsl_matrix*, Norm*);
- int gsl_matrix_to_pgms(gsl_matrix*, char*, int r, int c, int scale);
- int fwrite_gsl_matrix(gsl_matrix*, const char*);
- int fwrite_gsl_matrix(gsl_matrix*, FILE*);
- gsl_matrix* fread_gsl_matrix(char* file);
- gsl_matrix* fread_gsl_matrix(FILE*);
- void gsl_to_sparse(gsl_matrix*, char* prefix);
- long nnzero(gsl_matrix*);
- gsl_matrix* prepare_for_clapack(gsl_matrix*);
- gsl_matrix* clapack_to_c (double*);
- double fnorm(gsl_matrix*);
- #endif