view YLCStuff.c @ 139:e04123ab79ef

Fix recenter
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Wed, 22 Jan 2014 14:45:22 +0100
parents d9aae7d7f2c6
children
line wrap: on
line source

//==============================================================================
//
// Title:       YLCStuff.c
// Purpose:     Various stuff used by femtosoftYLC, like math parser callbacks
//				and personnal types
//
// Created on:  19/08/2008 at 10:06:43 by Yann Le Coq.
// Copyright:   syrte. All Rights Reserved.
//
//==============================================================================

//==============================================================================
// Include files

//#include "YLCStuff.h"

//==============================================================================
// Constants

//==============================================================================
// Types

//==============================================================================
// Static global variables

//==============================================================================
// Static functions

//==============================================================================
// Global variables

//==============================================================================
// Global functions

/// HIFN  What does your function do?
/// HIPAR x/What inputs does your function expect?
/// HIRET What does your function return?
double Peta (double x) {
	return 1.0e15*x ;
};

double Tera (double x) {
	return 1.0e12*x ;	
};

double Giga (double x) {
	return 1.0e9*x ;	
};

double Mega (double x) {
	return 1.0e6*x ;	
};

double kilo (double x) {
	return 1.0e3*x ;
};

double milli(double x) {
	return 1.0e-3*x ;
};
	
double micro(double x){
	return 1.0e-6*x ;
};

double nano (double x){
	return 1.0e-9*x ;
};

double pico (double x){
	return 1.e-12*x ;
};

double femto(double x){
	return 1.0e-15*x ;
};