Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

gnn_filewriter.c File Reference

#include <stdio.h>
#include <string.h>
#include "gnn_filewriter.h"

Include dependency graph for gnn_filewriter.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  _gnn_filewriter

Typedefs

typedef _gnn_filewriter gnn_filewriter
 The datatype for a filewriter.


Functions

int gnn_filewriter_put (gnn_output *set, size_t k, const gsl_vector *v)
 The "put" function.

void gnn_filewriter_destroy (gnn_output *set)
 The "destroy" function.

gnn_outputgnn_filewriter_new (FILE *fp)
 Builds a new filewriter device.

gnn_outputgnn_filewriter_with_file_new (const char *filename)
 Builds a new filewriter device with a given filename.

int gnn_filewriter_set_format (gnn_output *set, const char *fmt)
 Sets a new print format.

const char * gnn_filewriter_get_format (gnn_output *set)
 Gets the print format.

int gnn_filewriter_set_prefix (gnn_output *set, const char *prefix)
 Sets a new printing prefix.

const char * gnn_filewriter_get_prefix (gnn_output *set)
 Gets the prefix format string.

int gnn_filewriter_set_postfix (gnn_output *set, const char *postfix)
 Sets a new printing postfix.

const char * gnn_filewriter_get_postfix (gnn_output *set)
 Gets the postfix format string.

int gnn_filewriter_owns_file (gnn_output *set)
 Check if it owns the file.


Generated on Sun Jun 13 20:50:32 2004 for libgnn Gradient Retropropagation Machine Library by doxygen1.2.18