Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

myenv.cpp File Reference

#include <time.h>
#include "myenv.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include <iostream.h>
#include <fstream.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

Include dependency graph for myenv.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  linalg

Functions

const char * xgetenv (const char *name, const char *default_value)
void _error (const char *message,...)
void message (const char *text,...)
size_t get_file_size (const char *file_name, GFS_Default &on_error)
char * xstrncpy (char *dest, const char *src, const int len)
int to_lower (const char c)
bool does_start_with_ci (const char *s1, const char *s2)
double pow (long x, long y)
double pow (double x, long y)
double start_timer (void)
double return_elapsed_time (const double last_time)

Variables

const char _Minuses []
const char _Asteriscs []
const char _Equals []
GFS_Default GFS_default
time_t time_set


Function Documentation

void linalg::_error const char *  message,
  ...
 

Definition at line 106 of file myenv.cpp.

References linalg::message().

Referenced by linalg::RWWatchDog::access_violation(), linalg::are_compatible(), linalg::ConstMatrixColumn::ConstMatrixColumn(), linalg::ConstMatrixRow::ConstMatrixRow(), linalg::Matrix::determinant(), linalg::ConstMatrixDiag::get_ref(), linalg::ConstMatrixRow::get_ref(), linalg::ConstMatrixColumn::get_ref(), linalg::AREALBlockStreamIn::get_ref(), linalg::AREALStrideStreamIn::get_ref(), linalg::AREALStreamIn::get_ref(), linalg::Matrix::invalid_matrix(), linalg::Matrix::invert(), linalg::Matrix::mult(), linalg::Vector::operator *=(), linalg::operator *=(), linalg::Matrix::operator *=(), linalg::GFS_Default::operator()(), linalg::Vector::operator()(), linalg::MatrixDABase::operator()(), linalg::Matrix::operator=(), linalg::AREALBlockStreamIn::peek_ref(), linalg::AREALStrideStreamIn::peek_ref(), linalg::AREALStreamIn::peek_ref(), linalg::ElementWiseStride::sqrt(), linalg::ElementWise::sqrt(), linalg::SVD::SVD(), linalg::SVD_inv_mult::SVD_inv_mult(), linalg::AREALBlockStreamIn::tell_prev(), linalg::AREALStrideStreamIn::tell_prev(), linalg::AREALStreamIn::tell_prev(), linalg::verify_element_value(), linalg::verify_matrix_identity(), and linalg::xgetenv().

Here is the call graph for this function:

bool linalg::does_start_with_ci const char *  s1,
const char *  s2
 

Definition at line 221 of file myenv.cpp.

References linalg::to_lower().

Here is the call graph for this function:

size_t linalg::get_file_size const char *  file_name,
GFS_Default &  on_error = GFS_default
 

Definition at line 189 of file myenv.cpp.

void linalg::message const char *  message,
  ...
 

Definition at line 144 of file myenv.cpp.

Referenced by linalg::_error(), linalg::SVD_inv_mult::fill_in(), linalg::SVD::info(), linalg::ALInterp::interpolate(), linalg::Matrix::print(), and linalg::verify_element_value().

double linalg::pow double  x,
long  y
 

Definition at line 271 of file myenv.cpp.

double linalg::pow long  x,
long  y
 

Definition at line 236 of file myenv.cpp.

double linalg::return_elapsed_time const double  Last_Time  ) 
 

Definition at line 320 of file myenv.cpp.

References linalg::time_set.

double linalg::start_timer void   ) 
 

Definition at line 312 of file myenv.cpp.

References linalg::time_set.

int to_lower const char  c  )  [inline, static]
 

Definition at line 213 of file myenv.cpp.

Referenced by linalg::does_start_with_ci().

const char * linalg::xgetenv const char *  name,
const char *  default_value
 

Definition at line 82 of file myenv.cpp.

References linalg::_error().

Here is the call graph for this function:

char * linalg::xstrncpy char *  dest,
const char *  src,
const int  len
 

Definition at line 202 of file myenv.cpp.


Variable Documentation

const char linalg::_Asteriscs
 

Initial value:

 "\
*******************************************************************************"

Definition at line 64 of file myenv.cpp.

const char linalg::_Equals
 

Initial value:

 "\
==============================================================================="

Definition at line 67 of file myenv.cpp.

const char linalg::_Minuses
 

Initial value:

 "\
-------------------------------------------------------------------------------"

Definition at line 61 of file myenv.cpp.

Referenced by linalg::Matrix::print().

struct linalg::GFS_Default linalg::GFS_default
 

time_t linalg::time_set [static]
 

Definition at line 310 of file myenv.cpp.

Referenced by linalg::return_elapsed_time(), and linalg::start_timer().


Generated on Wed Dec 15 21:20:43 2004 for vuVolume by  doxygen 1.3.9.1