diff YLCStuff.c @ 0:d9aae7d7f2c6

Import
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Tue, 03 Jul 2012 10:38:59 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/YLCStuff.c	Tue Jul 03 10:38:59 2012 +0200
@@ -0,0 +1,77 @@
+//==============================================================================
+//
+// 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 ;
+};
+