|
MRCEditor
1.0
This is a gui program used to viewing, marking and rendering mrc file.
|
Contains low-level functions and variables of the Library. More...
Functions | |
| std::FILE * | output (std::FILE *file) |
| Get/set default output stream for the library messages. More... | |
| void | info () |
| Print information about environement variables. More... | |
| template<typename T > | |
| void | unused (const T &,...) |
| Avoid warning messages due to unused parameters. Do nothing actually. More... | |
| int | mutex (const unsigned int n, const int lock_mode=1) |
| unsigned int & | _exception_mode (const unsigned int value, const bool is_set) |
| FILE * | _stdin (const bool throw_exception=true) |
| FILE * | _stdout (const bool throw_exception=true) |
| FILE * | _stderr (const bool throw_exception=true) |
| unsigned int & | exception_mode (const unsigned int mode) |
| Set current exception mode. More... | |
| unsigned int & | exception_mode () |
| Return current exception mode. More... | |
| unsigned int & | _openmp_mode (const unsigned int value, const bool is_set) |
| Set current openmp mode. More... | |
| unsigned int & | openmp_mode (const unsigned int mode) |
| unsigned int & | openmp_mode () |
| Return current openmp mode. More... | |
| int | dialog (const char *const title, const char *const msg, const char *const button1_label, const char *const button2_label, const char *const button3_label, const char *const button4_label, const char *const button5_label, const char *const button6_label, const bool is_centered) |
| Display a simple dialog box, and wait for the user's response . More... | |
| double | eval (const char *const expression, const double x, const double y, const double z, const double c) |
| Evaluate math expression. More... | |
| Mutex_info & | Mutex_attr () |
| unsigned int | nb_cpus () |
| void | warn (const char *const format,...) |
| Display a warning message on the default output stream. More... | |
| int | system (const char *const command, const char *const module_name=0, const bool is_verbose=false) |
| template<typename T > | |
| T & | temporary (const T &) |
| Return a reference to a temporary variable of type T. More... | |
| template<typename T > | |
| void | swap (T &a, T &b) |
Exchange values of variables a and b . More... | |
| template<typename T1 , typename T2 > | |
| void | swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2) |
Exchange values of variables (a1 ,a2 ) and (b1 ,b2 ). More... | |
| template<typename T1 , typename T2 , typename T3 > | |
| void | swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3) |
Exchange values of variables (a1 ,a2 ,a3 ) and (b1 ,b2 ,b3 ). More... | |
| template<typename T1 , typename T2 , typename T3 , typename T4 > | |
| void | swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4) |
Exchange values of variables (a1 ,a2 ,...,a4 ) and (b1 ,b2 ,...,b4 ). More... | |
| template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
| void | swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4, T5 &a5, T5 &b5) |
Exchange values of variables (a1 ,a2 ,...,a5 ) and (b1 ,b2 ,...,b5 ). More... | |
| template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > | |
| void | swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4, T5 &a5, T5 &b5, T6 &a6, T6 &b6) |
Exchange values of variables (a1 ,a2 ,...,a6 ) and (b1 ,b2 ,...,b6 ). More... | |
| template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 > | |
| void | swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4, T5 &a5, T5 &b5, T6 &a6, T6 &b6, T7 &a7, T7 &b7) |
Exchange values of variables (a1 ,a2 ,...,a7 ) and (b1 ,b2 ,...,b7 ). More... | |
| template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 > | |
| void | swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4, T5 &a5, T5 &b5, T6 &a6, T6 &b6, T7 &a7, T7 &b7, T8 &a8, T8 &b8) |
Exchange values of variables (a1 ,a2 ,...,a8 ) and (b1 ,b2 ,...,b8 ). More... | |
| bool | endianness () |
| Return the endianness of the current architecture. More... | |
| template<typename T > | |
| void | invert_endianness (T *const buffer, const cimg_ulong size) |
| Reverse endianness of all elements in a memory buffer. More... | |
| template<typename T > | |
| T & | invert_endianness (T &a) |
| Reverse endianness of a single variable. More... | |
| unsigned int | float2uint (const float f) |
| float | uint2float (const unsigned int u) |
| cimg_ulong | time () |
| Return the value of a system timer, with a millisecond precision. More... | |
| cimg_ulong | tictoc (const bool is_tic) |
| cimg_ulong | tic () |
| Start tic/toc timer for time measurement between code instructions. More... | |
| cimg_ulong | toc () |
| End tic/toc timer and displays elapsed time from last call to tic(). More... | |
| void | sleep (const unsigned int milliseconds) |
| Sleep for a given numbers of milliseconds. More... | |
| unsigned int | _wait (const unsigned int milliseconds, cimg_ulong &timer) |
| cimg_long | wait (const unsigned int milliseconds) |
| Wait for a given number of milliseconds since the last call to wait(). More... | |
| unsigned int | srand () |
| unsigned int | srand (const unsigned int seed) |
| double | rand (const double val_min, const double val_max) |
| Return a random variable uniformely distributed between [val_min,val_max]. More... | |
| double | rand (const double val_max=1) |
| Return a random variable uniformely distributed between [0,val_max]. More... | |
| double | grand () |
| Return a random variable following a gaussian distribution and a standard deviation of 1. More... | |
| unsigned int | prand (const double z) |
| Return a random variable following a Poisson distribution of parameter z. More... | |
| template<typename T , typename t > | |
| T | cut (const T &val, const t &val_min, const t &val_max) |
| Cut (i.e. clamp) value in specified interval. More... | |
| template<typename T > | |
| T | rol (const T &a, const unsigned int n=1) |
| Bitwise-rotate value on the left. More... | |
| float | rol (const float a, const unsigned int n=1) |
| double | rol (const double a, const unsigned int n=1) |
| double | rol (const long double a, const unsigned int n=1) |
| template<typename T > | |
| T | ror (const T &a, const unsigned int n=1) |
| Bitwise-rotate value on the right. More... | |
| float | ror (const float a, const unsigned int n=1) |
| double | ror (const double a, const unsigned int n=1) |
| double | ror (const long double a, const unsigned int n=1) |
| template<typename T > | |
| T | abs (const T &a) |
| Return absolute value of a value. More... | |
| bool | abs (const bool a) |
| int | abs (const unsigned char a) |
| int | abs (const unsigned short a) |
| int | abs (const unsigned int a) |
| int | abs (const int a) |
| cimg_int64 | abs (const cimg_uint64 a) |
| double | abs (const double a) |
| float | abs (const float a) |
| template<typename T > | |
| T | sqr (const T &val) |
| Return square of a value. More... | |
| int | xln (const int x) |
Return 1 + log_10(x) of a value x . More... | |
| template<typename t > | |
| t | min (const t &a, const t &b, const t &c) |
| Return the minimum between three values. More... | |
| template<typename t > | |
| t | min (const t &a, const t &b, const t &c, const t &d) |
| Return the minimum between four values. More... | |
| template<typename t > | |
| t | max (const t &a, const t &b, const t &c) |
| Return the maximum between three values. More... | |
| template<typename t > | |
| t | max (const t &a, const t &b, const t &c, const t &d) |
| Return the maximum between four values. More... | |
| template<typename T > | |
| T | sign (const T &x) |
| Return the sign of a value. More... | |
| template<typename T > | |
| cimg_ulong | nearest_pow2 (const T &x) |
| Return the nearest power of 2 higher than given value. More... | |
| double | sinc (const double x) |
| Return the sinc of a given value. More... | |
| template<typename T > | |
| T | mod (const T &x, const T &m) |
| Return the modulo of a value. More... | |
| int | mod (const bool x, const bool m) |
| int | mod (const unsigned char x, const unsigned char m) |
| int | mod (const char x, const char m) |
| int | mod (const unsigned short x, const unsigned short m) |
| int | mod (const short x, const short m) |
| int | mod (const unsigned int x, const unsigned int m) |
| int | mod (const int x, const int m) |
| cimg_int64 | mod (const cimg_uint64 x, const cimg_uint64 m) |
| cimg_int64 | mod (const cimg_int64 x, const cimg_int64 m) |
| template<typename T > | |
| T | minmod (const T &a, const T &b) |
| Return the min-mod of two values. More... | |
| double | log2 (const double x) |
| Return base-2 logarithm of a value. More... | |
| template<typename T > | |
| T | round (const T &x) |
| template<typename T > | |
| T | round (const T &x, const double y, const int rounding_type=0) |
| Return rounded value. More... | |
| template<typename T > | |
| double | cbrt (const T &x) |
| Return x^(1/3). More... | |
| template<typename T > | |
| T | median (T val0, T val1) |
| template<typename T > | |
| T | median (T val0, T val1, T val2) |
| template<typename T > | |
| T | median (T val0, T val1, T val2, T val3, T val4) |
| template<typename T > | |
| T | median (T val0, T val1, T val2, T val3, T val4, T val5, T val6) |
| template<typename T > | |
| T | median (T val0, T val1, T val2, T val3, T val4, T val5, T val6, T val7, T val8) |
| template<typename T > | |
| T | median (T val0, T val1, T val2, T val3, T val4, T val5, T val6, T val7, T val8, T val9, T val10, T val11, T val12) |
| template<typename T > | |
| T | median (T val0, T val1, T val2, T val3, T val4, T val5, T val6, T val7, T val8, T val9, T val10, T val11, T val12, T val13, T val14, T val15, T val16, T val17, T val18, T val19, T val20, T val21, T val22, T val23, T val24) |
| template<typename T > | |
| T | median (T val0, T val1, T val2, T val3, T val4, T val5, T val6, T val7, T val8, T val9, T val10, T val11, T val12, T val13, T val14, T val15, T val16, T val17, T val18, T val19, T val20, T val21, T val22, T val23, T val24, T val25, T val26, T val27, T val28, T val29, T val30, T val31, T val32, T val33, T val34, T val35, T val36, T val37, T val38, T val39, T val40, T val41, T val42, T val43, T val44, T val45, T val46, T val47, T val48) |
| template<typename T > | |
| T | hypot (const T x, const T y) |
| Return sqrt(x^2 + y^2). More... | |
| template<typename T > | |
| T | hypot (const T x, const T y, const T z) |
| template<typename T > | |
| T | _hypot (const T x, const T y) |
| double | factorial (const int n) |
| Return the factorial of n. More... | |
| double | permutations (const int k, const int n, const bool with_order) |
| Return the number of permutations of k objects in a set of n objects. More... | |
| double | _fibonacci (int exp) |
| double | fibonacci (const int n) |
| Calculate fibonacci number. More... | |
| long | gcd (long a, long b) |
| Calculate greatest common divisor. More... | |
| char | lowercase (const char x) |
| Convert ascii character to lower case. More... | |
| double | lowercase (const double x) |
| void | lowercase (char *const str) |
| Convert C-string to lower case. More... | |
| char | uppercase (const char x) |
| Convert ascii character to upper case. More... | |
| double | uppercase (const double x) |
| void | uppercase (char *const str) |
| Convert C-string to upper case. More... | |
| double | atof (const char *const str) |
| Read value in a C-string. More... | |
| int | strncasecmp (const char *const str1, const char *const str2, const int l) |
Compare the first l characters of two C-strings, ignoring the case. More... | |
| int | strcasecmp (const char *const str1, const char *const str2) |
| Compare two C-strings, ignoring the case. More... | |
| char * | strellipsize (char *const str, const unsigned int l=64, const bool is_ending=true) |
| Ellipsize a string. More... | |
| char * | strellipsize (const char *const str, char *const res, const unsigned int l=64, const bool is_ending=true) |
| Ellipsize a string. More... | |
| bool | strpare (char *const str, const char delimiter, const bool is_symmetric, const bool is_iterative) |
| Remove delimiters on the start and/or end of a C-string. More... | |
| bool | strpare (char *const str, const bool is_symmetric, const bool is_iterative) |
| Remove white spaces on the start and/or end of a C-string. More... | |
| void | strwindows_reserved (char *const str, const char c='_') |
| Replace reserved characters (for Windows filename) by another character. More... | |
| void | strunescape (char *const str) |
| Replace escape sequences in C-strings by their binary ascii values. More... | |
| const char * | strbuffersize (const cimg_ulong size) |
| const char * | stros () |
| const char * | basename (const char *const s, const char separator=cimg_file_separator) |
| Return the basename of a filename. More... | |
| const char * | filenamerand () |
| void | winformat_string (char *const str) |
| std::FILE * | win_fopen (const char *const path, const char *const mode) |
| std::FILE * | fopen (const char *const path, const char *const mode) |
| Open a file. More... | |
| int | fclose (std::FILE *file) |
| Close a file. More... | |
| int | fseek (FILE *stream, cimg_long offset, int origin) |
| Version of 'fseek()' that supports >=64bits offsets everywhere (for Windows). More... | |
| cimg_long | ftell (FILE *stream) |
| Version of 'ftell()' that supports >=64bits offsets everywhere (for Windows). More... | |
| bool | is_directory (const char *const path) |
| Check if a path is a directory. More... | |
| bool | is_file (const char *const path) |
| Check if a path is a file. More... | |
| cimg_int64 | fsize (const char *const filename) |
| Get file size. More... | |
| template<typename T > | |
| int | fdate (const char *const path, T *attr, const unsigned int nb_attr) |
| Get last write time of a given file or directory (multiple-attributes version). More... | |
| int | fdate (const char *const path, unsigned int attr) |
| Get last write time of a given file or directory (single-attribute version). More... | |
| template<typename T > | |
| int | date (T *attr, const unsigned int nb_attr) |
| Get current local time (multiple-attributes version). More... | |
| int | date (unsigned int attr) |
| Get current local time (single-attribute version). More... | |
| const char * | temporary_path (const char *const user_path, const bool reinit_path) |
| Get/set path to store temporary files. More... | |
| const char * | imagemagick_path (const char *const user_path, const bool reinit_path) |
| Get/set path to the Program Files/ directory (Windows only). More... | |
| const char * | graphicsmagick_path (const char *const user_path, const bool reinit_path) |
Get/set path to the GraphicsMagick's gm binary. More... | |
| const char * | medcon_path (const char *const user_path, const bool reinit_path) |
Get/set path to the XMedcon's medcon binary. More... | |
| const char * | ffmpeg_path (const char *const user_path, const bool reinit_path) |
Get/set path to the FFMPEG's ffmpeg binary. More... | |
| const char * | gzip_path (const char *const user_path, const bool reinit_path) |
Get/set path to the gzip binary. More... | |
| const char * | gunzip_path (const char *const user_path, const bool reinit_path) |
Get/set path to the gunzip binary. More... | |
| const char * | dcraw_path (const char *const user_path, const bool reinit_path) |
Get/set path to the dcraw binary. More... | |
| const char * | wget_path (const char *const user_path, const bool reinit_path) |
Get/set path to the wget binary. More... | |
| const char * | curl_path (const char *const user_path, const bool reinit_path) |
Get/set path to the curl binary. More... | |
| const char * | split_filename (const char *const filename, char *const body=0) |
Split filename into two C-strings body and extension . More... | |
| char * | number_filename (const char *const filename, const int number, const unsigned int digits, char *const str) |
| Generate a numbered version of a filename. More... | |
| template<typename T > | |
| size_t | fread (T *const ptr, const size_t nmemb, std::FILE *stream) |
| Read data from file. More... | |
| template<typename T > | |
| size_t | fwrite (const T *ptr, const size_t nmemb, std::FILE *stream) |
| Write data to file. More... | |
| void | fempty (std::FILE *const file, const char *const filename) |
| Create an empty file. More... | |
| const char * | ftype (std::FILE *const file, const char *const filename) |
| Try to guess format from an image file. More... | |
| char * | load_network (const char *const url, char *const filename_local, const unsigned int timeout, const bool try_fallback, const char *const referer) |
| Load file from network as a local temporary file. More... | |
| const char * | option (const char *const name, const int argc, const char *const *const argv, const char *const defaut, const char *const usage, const bool reset_static) |
| Return options specified on the command line. More... | |
| const char * | option (const char *const name, const int argc, const char *const *const argv, const char *const defaut, const char *const usage=0) |
| bool | option (const char *const name, const int argc, const char *const *const argv, const bool defaut, const char *const usage=0) |
| int | option (const char *const name, const int argc, const char *const *const argv, const int defaut, const char *const usage=0) |
| char | option (const char *const name, const int argc, const char *const *const argv, const char defaut, const char *const usage=0) |
| float | option (const char *const name, const int argc, const char *const *const argv, const float defaut, const char *const usage=0) |
| double | option (const char *const name, const int argc, const char *const *const argv, const double defaut, const char *const usage=0) |
| int | _sort_files (const void *a, const void *b) |
| CImgList< char > | files (const char *const path, const bool is_pattern=false, const unsigned int mode=2, const bool include_path=false) |
| Return list of files/directories in specified directory. More... | |
| template<typename t > | |
| int | dialog (const char *const title, const char *const msg, const char *const button1_label, const char *const button2_label, const char *const button3_label, const char *const button4_label, const char *const button5_label, const char *const button6_label, const CImg< t > &logo, const bool is_centered=false) |
| Display a simple dialog box, and wait for the user's response. More... | |
| template<typename t > | |
| CImg< typename cimg::superset< double, t >::type > | eval (const char *const expression, const CImg< t > &xyzc) |
Variables | |
| const unsigned int | keyESC = 1U |
Keycode for the ESC key (architecture-dependent). More... | |
| const unsigned int | keyF1 = 2U |
Keycode for the F1 key (architecture-dependent). More... | |
| const unsigned int | keyF2 = 3U |
Keycode for the F2 key (architecture-dependent). More... | |
| const unsigned int | keyF3 = 4U |
Keycode for the F3 key (architecture-dependent). More... | |
| const unsigned int | keyF4 = 5U |
Keycode for the F4 key (architecture-dependent). More... | |
| const unsigned int | keyF5 = 6U |
Keycode for the F5 key (architecture-dependent). More... | |
| const unsigned int | keyF6 = 7U |
Keycode for the F6 key (architecture-dependent). More... | |
| const unsigned int | keyF7 = 8U |
Keycode for the F7 key (architecture-dependent). More... | |
| const unsigned int | keyF8 = 9U |
Keycode for the F8 key (architecture-dependent). More... | |
| const unsigned int | keyF9 = 10U |
Keycode for the F9 key (architecture-dependent). More... | |
| const unsigned int | keyF10 = 11U |
Keycode for the F10 key (architecture-dependent). More... | |
| const unsigned int | keyF11 = 12U |
Keycode for the F11 key (architecture-dependent). More... | |
| const unsigned int | keyF12 = 13U |
Keycode for the F12 key (architecture-dependent). More... | |
| const unsigned int | keyPAUSE = 14U |
Keycode for the PAUSE key (architecture-dependent). More... | |
| const unsigned int | key1 = 15U |
Keycode for the 1 key (architecture-dependent). More... | |
| const unsigned int | key2 = 16U |
Keycode for the 2 key (architecture-dependent). More... | |
| const unsigned int | key3 = 17U |
Keycode for the 3 key (architecture-dependent). More... | |
| const unsigned int | key4 = 18U |
Keycode for the 4 key (architecture-dependent). More... | |
| const unsigned int | key5 = 19U |
Keycode for the 5 key (architecture-dependent). More... | |
| const unsigned int | key6 = 20U |
Keycode for the 6 key (architecture-dependent). More... | |
| const unsigned int | key7 = 21U |
Keycode for the 7 key (architecture-dependent). More... | |
| const unsigned int | key8 = 22U |
Keycode for the 8 key (architecture-dependent). More... | |
| const unsigned int | key9 = 23U |
Keycode for the 9 key (architecture-dependent). More... | |
| const unsigned int | key0 = 24U |
Keycode for the 0 key (architecture-dependent). More... | |
| const unsigned int | keyBACKSPACE = 25U |
Keycode for the BACKSPACE key (architecture-dependent). More... | |
| const unsigned int | keyINSERT = 26U |
Keycode for the INSERT key (architecture-dependent). More... | |
| const unsigned int | keyHOME = 27U |
Keycode for the HOME key (architecture-dependent). More... | |
| const unsigned int | keyPAGEUP = 28U |
Keycode for the PAGEUP key (architecture-dependent). More... | |
| const unsigned int | keyTAB = 29U |
Keycode for the TAB key (architecture-dependent). More... | |
| const unsigned int | keyQ = 30U |
Keycode for the Q key (architecture-dependent). More... | |
| const unsigned int | keyW = 31U |
Keycode for the W key (architecture-dependent). More... | |
| const unsigned int | keyE = 32U |
Keycode for the E key (architecture-dependent). More... | |
| const unsigned int | keyR = 33U |
Keycode for the R key (architecture-dependent). More... | |
| const unsigned int | keyT = 34U |
Keycode for the T key (architecture-dependent). More... | |
| const unsigned int | keyY = 35U |
Keycode for the Y key (architecture-dependent). More... | |
| const unsigned int | keyU = 36U |
Keycode for the U key (architecture-dependent). More... | |
| const unsigned int | keyI = 37U |
Keycode for the I key (architecture-dependent). More... | |
| const unsigned int | keyO = 38U |
Keycode for the O key (architecture-dependent). More... | |
| const unsigned int | keyP = 39U |
Keycode for the P key (architecture-dependent). More... | |
| const unsigned int | keyDELETE = 40U |
Keycode for the DELETE key (architecture-dependent). More... | |
| const unsigned int | keyEND = 41U |
Keycode for the END key (architecture-dependent). More... | |
| const unsigned int | keyPAGEDOWN = 42U |
Keycode for the PAGEDOWN key (architecture-dependent). More... | |
| const unsigned int | keyCAPSLOCK = 43U |
Keycode for the CAPSLOCK key (architecture-dependent). More... | |
| const unsigned int | keyA = 44U |
Keycode for the A key (architecture-dependent). More... | |
| const unsigned int | keyS = 45U |
Keycode for the S key (architecture-dependent). More... | |
| const unsigned int | keyD = 46U |
Keycode for the D key (architecture-dependent). More... | |
| const unsigned int | keyF = 47U |
Keycode for the F key (architecture-dependent). More... | |
| const unsigned int | keyG = 48U |
Keycode for the G key (architecture-dependent). More... | |
| const unsigned int | keyH = 49U |
Keycode for the H key (architecture-dependent). More... | |
| const unsigned int | keyJ = 50U |
Keycode for the J key (architecture-dependent). More... | |
| const unsigned int | keyK = 51U |
Keycode for the K key (architecture-dependent). More... | |
| const unsigned int | keyL = 52U |
Keycode for the L key (architecture-dependent). More... | |
| const unsigned int | keyENTER = 53U |
Keycode for the ENTER key (architecture-dependent). More... | |
| const unsigned int | keySHIFTLEFT = 54U |
Keycode for the SHIFTLEFT key (architecture-dependent). More... | |
| const unsigned int | keyZ = 55U |
Keycode for the Z key (architecture-dependent). More... | |
| const unsigned int | keyX = 56U |
Keycode for the X key (architecture-dependent). More... | |
| const unsigned int | keyC = 57U |
Keycode for the C key (architecture-dependent). More... | |
| const unsigned int | keyV = 58U |
Keycode for the V key (architecture-dependent). More... | |
| const unsigned int | keyB = 59U |
Keycode for the B key (architecture-dependent). More... | |
| const unsigned int | keyN = 60U |
Keycode for the N key (architecture-dependent). More... | |
| const unsigned int | keyM = 61U |
Keycode for the M key (architecture-dependent). More... | |
| const unsigned int | keySHIFTRIGHT = 62U |
Keycode for the SHIFTRIGHT key (architecture-dependent). More... | |
| const unsigned int | keyARROWUP = 63U |
Keycode for the ARROWUP key (architecture-dependent). More... | |
| const unsigned int | keyCTRLLEFT = 64U |
Keycode for the CTRLLEFT key (architecture-dependent). More... | |
| const unsigned int | keyAPPLEFT = 65U |
Keycode for the APPLEFT key (architecture-dependent). More... | |
| const unsigned int | keyALT = 66U |
Keycode for the ALT key (architecture-dependent). More... | |
| const unsigned int | keySPACE = 67U |
Keycode for the SPACE key (architecture-dependent). More... | |
| const unsigned int | keyALTGR = 68U |
Keycode for the ALTGR key (architecture-dependent). More... | |
| const unsigned int | keyAPPRIGHT = 69U |
Keycode for the APPRIGHT key (architecture-dependent). More... | |
| const unsigned int | keyMENU = 70U |
Keycode for the MENU key (architecture-dependent). More... | |
| const unsigned int | keyCTRLRIGHT = 71U |
Keycode for the CTRLRIGHT key (architecture-dependent). More... | |
| const unsigned int | keyARROWLEFT = 72U |
Keycode for the ARROWLEFT key (architecture-dependent). More... | |
| const unsigned int | keyARROWDOWN = 73U |
Keycode for the ARROWDOWN key (architecture-dependent). More... | |
| const unsigned int | keyARROWRIGHT = 74U |
Keycode for the ARROWRIGHT key (architecture-dependent). More... | |
| const unsigned int | keyPAD0 = 75U |
Keycode for the PAD0 key (architecture-dependent). More... | |
| const unsigned int | keyPAD1 = 76U |
Keycode for the PAD1 key (architecture-dependent). More... | |
| const unsigned int | keyPAD2 = 77U |
Keycode for the PAD2 key (architecture-dependent). More... | |
| const unsigned int | keyPAD3 = 78U |
Keycode for the PAD3 key (architecture-dependent). More... | |
| const unsigned int | keyPAD4 = 79U |
Keycode for the PAD4 key (architecture-dependent). More... | |
| const unsigned int | keyPAD5 = 80U |
Keycode for the PAD5 key (architecture-dependent). More... | |
| const unsigned int | keyPAD6 = 81U |
Keycode for the PAD6 key (architecture-dependent). More... | |
| const unsigned int | keyPAD7 = 82U |
Keycode for the PAD7 key (architecture-dependent). More... | |
| const unsigned int | keyPAD8 = 83U |
Keycode for the PAD8 key (architecture-dependent). More... | |
| const unsigned int | keyPAD9 = 84U |
Keycode for the PAD9 key (architecture-dependent). More... | |
| const unsigned int | keyPADADD = 85U |
Keycode for the PADADD key (architecture-dependent). More... | |
| const unsigned int | keyPADSUB = 86U |
Keycode for the PADSUB key (architecture-dependent). More... | |
| const unsigned int | keyPADMUL = 87U |
Keycode for the PADMUL key (architecture-dependent). More... | |
| const unsigned int | keyPADDIV = 88U |
Keycode for the PADDDIV key (architecture-dependent). More... | |
| const double | PI = 3.14159265358979323846 |
| Value of the mathematical constant PI. More... | |
Contains low-level functions and variables of the Library.
Most of the functions and variables within this namespace are used by the library for low-level operations. You may use them to access specific const values or environment variables internally used by .
using namespace cimg_library::cimg;
in your source code. Lot of functions in the cimg:: namespace
have the same names as standard C functions that may be defined in the global namespace ::
.
|
inline |
|
inline |
|
inline |
|
inline |
Set current openmp mode.
The way openmp-based methods are handled by can be changed dynamically, using this function.
| mode | Desired openmp mode. Possible values are:
|
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return absolute value of a value.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Read value in a C-string.
| str | C-string containing the float value to read. |
std::atof()
extended to manage the retrieval of fractions from C-strings, as in "1/2".
|
inline |
Return the basename of a filename.
|
inline |
Return x^(1/3).
|
inline |
Get/set path to the curl
binary.
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
curl
binary.
|
inline |
Cut (i.e. clamp) value in specified interval.
|
inline |
Get current local time (multiple-attributes version).
| [in,out] | attr | Type of requested time attributes. Can be { 0=year | 1=month | 2=day | 3=day of week | 4=hour | 5=minute | 6=second } Replaced by read attributes after return (or -1 if an error occured). |
| nb_attr | Number of attributes to read/write. |
|
inline |
Get current local time (single-attribute version).
| attr | Type of requested time attribute. Can be { 0=year | 1=month | 2=day | 3=day of week | 4=hour | 5=minute | 6=second } |
|
inline |
Get/set path to the dcraw
binary.
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
dcraw
binary.
|
inline |
Display a simple dialog box, and wait for the user's response .
|
inline |
Display a simple dialog box, and wait for the user's response.
| title | Title of the dialog window. |
| msg | Main message displayed inside the dialog window. |
| button1_label | Label of the 1st button. |
| button2_label | Label of the 2nd button (0 to hide button). |
| button3_label | Label of the 3rd button (0 to hide button). |
| button4_label | Label of the 4th button (0 to hide button). |
| button5_label | Label of the 5th button (0 to hide button). |
| button6_label | Label of the 6th button (0 to hide button). |
| logo | Image logo displayed at the left of the main message. |
| is_centered | Tells if the dialog window must be centered on the screen. |
0
to 5
), or -1
if the dialog window has been closed by the user.
|
inline |
Return the endianness of the current architecture.
false
for Little Endian or true
for Big Endian.
|
inline |
Evaluate math expression.
| expression | C-string describing the formula to evaluate. |
| x | Value of the pre-defined variable x . |
| y | Value of the pre-defined variable y . |
| z | Value of the pre-defined variable z . |
| c | Value of the pre-defined variable c . |
expression
to 0
to keep evaluating the last specified expression
.
|
inline |
|
inline |
Set current exception mode.
The way error messages are handled by can be changed dynamically, using this function.
| mode | Desired exception mode. Possible values are:
|
|
inline |
Return current exception mode.
cimg_verbosity
|
inline |
Return the factorial of n.
|
inline |
Close a file.
| file | File to close. |
0
if file has been closed properly, something else otherwise. std::fclose()
but display a warning message if the file has not been closed properly.
|
inline |
Get last write time of a given file or directory (multiple-attributes version).
| path | Specified path to get attributes from. | |
| [in,out] | attr | Type of requested time attributes. Can be { 0=year | 1=month | 2=day | 3=day of week | 4=hour | 5=minute | 6=second } Replaced by read attributes after return (or -1 if an error occured). |
| nb_attr | Number of attributes to read/write. |
|
inline |
Get last write time of a given file or directory (single-attribute version).
| path | Specified path to get attributes from. |
| attr | Type of requested time attributes. Can be { 0=year | 1=month | 2=day | 3=day of week | 4=hour | 5=minute | 6=second } |
|
inline |
Create an empty file.
| file | Input file (can be 0 if filename is set). |
| filename | Filename, as a C-string (can be 0 if file is set). |
|
inline |
Get/set path to the FFMPEG's ffmpeg
binary.
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
ffmpeg
binary.
|
inline |
Calculate fibonacci number.
|
inline |
|
inline |
Return list of files/directories in specified directory.
| path | Path to the directory. Set to 0 for current directory. |
| is_pattern | Tell if specified path has a matching pattern in it. |
| mode | Output type, can be primary { 0=files only | 1=folders only | 2=files + folders }. |
| include_path | Tell if path must be included in resulting filenames. |
|
inline |
|
inline |
Open a file.
| path | Path of the filename to open. |
| mode | C-string describing the opening mode. |
std::fopen()
but throw a CImgIOException
when the specified file cannot be opened, instead of returning 0
.
|
inline |
Read data from file.
| [out] | ptr | Pointer to memory buffer that will contain the binary data read from file. |
| nmemb | Number of elements to read. | |
| stream | File to read data from. |
std::fread()
but may display warning message if all elements could not be read.
|
inline |
Version of 'fseek()' that supports >=64bits offsets everywhere (for Windows).
|
inline |
Get file size.
| filename | Specified filename to get size from. |
|
inline |
Version of 'ftell()' that supports >=64bits offsets everywhere (for Windows).
|
inline |
Try to guess format from an image file.
| file | Input file (can be 0 if filename is set). |
| filename | Filename, as a C-string (can be 0 if file is set). |
0
if nothing has been guessed.
|
inline |
Write data to file.
| ptr | Pointer to memory buffer containing the binary data to write on file. | |
| nmemb | Number of elements to write. | |
| [out] | stream | File to write data on. |
std::fwrite
but may display warning messages if all elements could not be written.
|
inline |
Calculate greatest common divisor.
|
inline |
Return a random variable following a gaussian distribution and a standard deviation of 1.
|
inline |
Get/set path to the GraphicsMagick's gm
binary.
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
gm
binary.
|
inline |
Get/set path to the gunzip
binary.
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
gunzip
binary.
|
inline |
Get/set path to the gzip
binary.
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
gzip
binary.
|
inline |
Return sqrt(x^2 + y^2).
|
inline |
|
inline |
Get/set path to the Program Files/ directory (Windows only).
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
convert
binary. | user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
convert
binary.
|
inline |
Print information about environement variables.
|
inline |
Reverse endianness of all elements in a memory buffer.
| [in,out] | buffer | Memory buffer whose endianness must be reversed. |
| size | Number of buffer elements to reverse. |
|
inline |
Reverse endianness of a single variable.
| [in,out] | a | Variable to reverse. |
|
inline |
Check if a path is a directory.
| path | Specified path to test. |
|
inline |
Check if a path is a file.
| path | Specified path to test. |
|
inline |
Load file from network as a local temporary file.
| url | URL of the filename, as a C-string. | |
| [out] | filename_local | C-string containing the path to a local copy of filename . |
| timeout | Maximum time (in seconds) authorized for downloading the file from the URL. | |
| try_fallback | When using libcurl, tells using system calls as fallbacks in case of libcurl failure. | |
| referer | Referer used, as a C-string. |
filename_local
. libcurl
library, or the external binaries wget
or curl
to perform the download.
|
inline |
Return base-2 logarithm of a value.
|
inline |
Convert ascii character to lower case.
|
inline |
|
inline |
Convert C-string to lower case.
|
inline |
Return the maximum between three values.
|
inline |
Return the maximum between four values.
|
inline |
Get/set path to the XMedcon's medcon
binary.
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
medcon
binary.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the minimum between three values.
|
inline |
Return the minimum between four values.
|
inline |
Return the min-mod of two values.
a
,b
) is defined to be:a
,b
) = min(a
,b
), if a
and b
have the same sign.a
,b
) = 0, if a
and b
have different signs.
|
inline |
Return the modulo of a value.
| x | Input value. |
| m | Modulo value. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the nearest power of 2 higher than given value.
|
inline |
Generate a numbered version of a filename.
|
inline |
|
inline |
Return current openmp mode.
|
inline |
Return options specified on the command line.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get/set default output stream for the library messages.
| file | Desired output stream. Set to 0 to get the currently used output stream only. |
|
inline |
Return the number of permutations of k objects in a set of n objects.
|
inline |
Return a random variable following a Poisson distribution of parameter z.
|
inline |
Return a random variable uniformely distributed between [val_min,val_max].
|
inline |
Return a random variable uniformely distributed between [0,val_max].
|
inline |
Bitwise-rotate value on the left.
|
inline |
|
inline |
|
inline |
|
inline |
Bitwise-rotate value on the right.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return rounded value.
| x | Value to be rounded. |
| y | Rounding precision. |
| rounding_type | Type of rounding operation (0 = nearest, -1 = backward, 1 = forward). |
x
.
|
inline |
Return the sign of a value.
|
inline |
Return the sinc of a given value.
|
inline |
Sleep for a given numbers of milliseconds.
| milliseconds | Number of milliseconds to wait for. |
|
inline |
Split filename into two C-strings body
and extension
.
filename and body must not overlap!
|
inline |
Return square of a value.
|
inline |
|
inline |
|
inline |
|
inline |
Compare two C-strings, ignoring the case.
| str1 | C-string. |
| str2 | C-string. |
0
if the two strings are equal, something else otherwise.
|
inline |
Ellipsize a string.
| str | C-string. |
| l | Max number of characters. |
| is_ending | Tell if the dots are placed at the end or at the center of the ellipsized string. |
|
inline |
Ellipsize a string.
| str | C-string. |
| res | output C-string. |
| l | Max number of characters. |
| is_ending | Tell if the dots are placed at the end or at the center of the ellipsized string. |
|
inline |
Compare the first l
characters of two C-strings, ignoring the case.
| str1 | C-string. |
| str2 | C-string. |
| l | Number of characters to compare. |
0
if the two strings are equal, something else otherwise.
|
inline |
|
inline |
Remove delimiters on the start and/or end of a C-string.
| [in,out] | str | C-string to work with (modified at output). |
| delimiter | Delimiter character code to remove. | |
| is_symmetric | Tells if the removal is done only if delimiters are symmetric (both at the beginning and the end of s ). | |
| is_iterative | Tells if the removal is done if several iterations are possible. |
true
if delimiters have been removed, false
otherwise.
|
inline |
Remove white spaces on the start and/or end of a C-string.
|
inline |
Replace escape sequences in C-strings by their binary ascii values.
| [in,out] | str | C-string to work with (modified at output). |
|
inline |
Replace reserved characters (for Windows filename) by another character.
| [in,out] | str | C-string to work with (modified at output). |
| [in] | c | Replacement character. |
|
inline |
Exchange values of variables a
and b
.
|
inline |
Exchange values of variables (a1
,a2
) and (b1
,b2
).
|
inline |
Exchange values of variables (a1
,a2
,a3
) and (b1
,b2
,b3
).
|
inline |
Exchange values of variables (a1
,a2
,...,a4
) and (b1
,b2
,...,b4
).
|
inline |
Exchange values of variables (a1
,a2
,...,a5
) and (b1
,b2
,...,b5
).
|
inline |
Exchange values of variables (a1
,a2
,...,a6
) and (b1
,b2
,...,b6
).
|
inline |
Exchange values of variables (a1
,a2
,...,a7
) and (b1
,b2
,...,b7
).
|
inline |
Exchange values of variables (a1
,a2
,...,a8
) and (b1
,b2
,...,b8
).
|
inline |
| command | C-string containing the command line to execute. |
| module_name | Module name. |
std::system()
but it does not open an extra console windows on Windows-based systems.
|
inline |
Return a reference to a temporary variable of type T.
|
inline |
Get/set path to store temporary files.
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
|
inline |
Start tic/toc timer for time measurement between code instructions.
|
inline |
|
inline |
Return the value of a system timer, with a millisecond precision.
0
.
|
inline |
|
inline |
|
inline |
Avoid warning messages due to unused parameters. Do nothing actually.
|
inline |
Convert ascii character to upper case.
|
inline |
|
inline |
Convert C-string to upper case.
|
inline |
|
inline |
Display a warning message on the default output stream.
| format | C-string containing the format of the message, as with std::printf() . |
cimg_strict_warnings
is set, this function throws a CImgWarningException
instead. warning_message
can be arbitrary, to prevent nasty memory access.
|
inline |
Get/set path to the wget
binary.
| user_path | Specified path, or 0 to get the path currently used. |
| reinit_path | Force path to be recalculated (may take some time). |
wget
binary.
|
inline |
|
inline |
|
inline |
Return 1 + log_10(x)
of a value x
.
| const unsigned int cimg_library_suffixed::cimg::key0 = 24U |
Keycode for the 0
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::key1 = 15U |
Keycode for the 1
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::key2 = 16U |
Keycode for the 2
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::key3 = 17U |
Keycode for the 3
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::key4 = 18U |
Keycode for the 4
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::key5 = 19U |
Keycode for the 5
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::key6 = 20U |
Keycode for the 6
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::key7 = 21U |
Keycode for the 7
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::key8 = 22U |
Keycode for the 8
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::key9 = 23U |
Keycode for the 9
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyA = 44U |
Keycode for the A
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyALT = 66U |
Keycode for the ALT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyALTGR = 68U |
Keycode for the ALTGR
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyAPPLEFT = 65U |
Keycode for the APPLEFT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyAPPRIGHT = 69U |
Keycode for the APPRIGHT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyARROWDOWN = 73U |
Keycode for the ARROWDOWN
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyARROWLEFT = 72U |
Keycode for the ARROWLEFT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyARROWRIGHT = 74U |
Keycode for the ARROWRIGHT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyARROWUP = 63U |
Keycode for the ARROWUP
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyB = 59U |
Keycode for the B
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyBACKSPACE = 25U |
Keycode for the BACKSPACE
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyC = 57U |
Keycode for the C
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyCAPSLOCK = 43U |
Keycode for the CAPSLOCK
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyCTRLLEFT = 64U |
Keycode for the CTRLLEFT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyCTRLRIGHT = 71U |
Keycode for the CTRLRIGHT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyD = 46U |
Keycode for the D
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyDELETE = 40U |
Keycode for the DELETE
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyE = 32U |
Keycode for the E
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyEND = 41U |
Keycode for the END
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyENTER = 53U |
Keycode for the ENTER
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyESC = 1U |
Keycode for the ESC
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF = 47U |
Keycode for the F
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF1 = 2U |
Keycode for the F1
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF10 = 11U |
Keycode for the F10
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF11 = 12U |
Keycode for the F11
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF12 = 13U |
Keycode for the F12
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF2 = 3U |
Keycode for the F2
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF3 = 4U |
Keycode for the F3
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF4 = 5U |
Keycode for the F4
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF5 = 6U |
Keycode for the F5
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF6 = 7U |
Keycode for the F6
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF7 = 8U |
Keycode for the F7
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF8 = 9U |
Keycode for the F8
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyF9 = 10U |
Keycode for the F9
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyG = 48U |
Keycode for the G
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyH = 49U |
Keycode for the H
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyHOME = 27U |
Keycode for the HOME
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyI = 37U |
Keycode for the I
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyINSERT = 26U |
Keycode for the INSERT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyJ = 50U |
Keycode for the J
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyK = 51U |
Keycode for the K
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyL = 52U |
Keycode for the L
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyM = 61U |
Keycode for the M
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyMENU = 70U |
Keycode for the MENU
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyN = 60U |
Keycode for the N
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyO = 38U |
Keycode for the O
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyP = 39U |
Keycode for the P
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD0 = 75U |
Keycode for the PAD0
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD1 = 76U |
Keycode for the PAD1
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD2 = 77U |
Keycode for the PAD2
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD3 = 78U |
Keycode for the PAD3
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD4 = 79U |
Keycode for the PAD4
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD5 = 80U |
Keycode for the PAD5
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD6 = 81U |
Keycode for the PAD6
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD7 = 82U |
Keycode for the PAD7
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD8 = 83U |
Keycode for the PAD8
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAD9 = 84U |
Keycode for the PAD9
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPADADD = 85U |
Keycode for the PADADD
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPADDIV = 88U |
Keycode for the PADDDIV
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPADMUL = 87U |
Keycode for the PADMUL
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPADSUB = 86U |
Keycode for the PADSUB
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAGEDOWN = 42U |
Keycode for the PAGEDOWN
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAGEUP = 28U |
Keycode for the PAGEUP
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyPAUSE = 14U |
Keycode for the PAUSE
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyQ = 30U |
Keycode for the Q
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyR = 33U |
Keycode for the R
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyS = 45U |
Keycode for the S
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keySHIFTLEFT = 54U |
Keycode for the SHIFTLEFT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keySHIFTRIGHT = 62U |
Keycode for the SHIFTRIGHT
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keySPACE = 67U |
Keycode for the SPACE
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyT = 34U |
Keycode for the T
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyTAB = 29U |
Keycode for the TAB
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyU = 36U |
Keycode for the U
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyV = 58U |
Keycode for the V
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyW = 31U |
Keycode for the W
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyX = 56U |
Keycode for the X
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyY = 35U |
Keycode for the Y
key (architecture-dependent).
| const unsigned int cimg_library_suffixed::cimg::keyZ = 55U |
Keycode for the Z
key (architecture-dependent).
| const double cimg_library_suffixed::cimg::PI = 3.14159265358979323846 |
Value of the mathematical constant PI.


---
layout: post
title: ''
date: '2008-10-13T19:42:16-07:00'
tags:
tumblr_url: http://alexhwilliams.tumblr.com/post/54436611/the-clippers-cost-19-95-judy-is-my-stylist
---
The clippers cost $19.95. Judy is my stylist. Here’s the look: before and after. What do you think?


Helicopter crashes during Australia bushfire operation
by AFPSYDNEY: A helicopter crashed while fighting a bushfire in northern Australia on Wednesday and the pilot managed to survive with only minor injuries, officials said.
“The helicopter crashed during waterbombing operations at the Pechey fire today,” a Queensland Fire and Emergency Service spokesperson told AFP.
A rescue helicopter was sent to the scene and the pilot was treated for minor injuries, a Queensland Ambulance Service spokesperson told AFP.
“We transported one male with non-life-threatening injuries to Toowoomba Hospital,” the spokesperson said.
The pilot is now in a stable condition.
The bushfire at Pechey, north of Toowoomba, was sparked on Tuesday and is “getting worse”, according to the fire service.
Firefighters on the ground have been battling the blaze with support from aerial waterbombers.
Queensland is on high alert amid severe fire conditions, with a forecast wind change expected to worsen several large blazes in difficult-to-access areas of the state.
About 70 fires are burning in the state, with Pechey residents told the safest option is to leave the area as conditions are currently too dangerous.
Dozens of fires are also ablaze in neighbouring New South Wales state, where cooler southerly winds have eased conditions and brought relief to firefighters and residents.
Difficult conditions were expected to flare again at the weekend as the temperature rises and winds pick up.


While the Flex tools, or Sprouts + MTasc make CI integration easy, if you are on a platform or project which requires an FLA file, and thus compilation in Flash CS, you may find yourself in a bind as we did.
Here is a recipe to get unstuck on Windows - tested on Windows 7:
- Install Flash CS on the target machine.
- The target machine must be set up as a slave node. The hudson service on windows can not run Flash CS and will fail or hang when trying. The JNLP Hudson launcher running on the node will work, and this can be the same machine as the hudson service.
- Set up a JSFL file to open and compile the FLA to a SWF.
- Set up a hudson job restricted to the slave node(s) with CS5, check out the project, and then run the Flash CS5 executable from the command line.
- To Be Completed - parse the errors output.
Installing Flash CS
I used CS5. It should be licensed of course, and the trialware nags, or occasional survey popup may throw this. They are not seen too often though.
Be sure to take note of where the Flash CS executable lives - you will need to reference this in your Hudson job.
Setting up a slave node
On the hudson dashboard, go to manage hudson, select manage nodes.
Select New node from the left hand menu, name the node and then download the webstart client. This should be ready to hook up with the hudson service although you may need to make firewall rules to allow it through.
JSFL
JSFL is a javascript language suitable for setting up macro tasks in the Create Suite tools. It is capable of manipulating the system, although it has limitations in that it can not process command line arguments.
var doc = fl.openDocument("file:///<path of fla file relative to Hudson checkout>"); doc.exportSWF("file:///<swf output path>"); fl.compilerErrors.save("file:///<fla path>.err"); fl.quit(false);
This will open the named file. Note that a relative path can be used after 3 slashes, which is essential for Hudson.
It will then export the SWF file, and then save the compiler error log.
Finally it will ensure that CS exits too. The last step is optional as it may be more efficient to leave CS open and merely open/close documents instead. Note the paths should be relative to the location of the JSFL file and not the root of the project (that is, not the CWD - CS is fairly agnostic of a current working directory).
You should test run this from a command line with the JSFL file as the only parameter to the CS5 Executable.
>"C:\program files\Adobe\Flash CS5\Flash.exe build.jsfl"
Hudson Job
Once on the job configuration page, you will need to restrict this to nodes that are able to run CS5 - the root hudson node will not be able to do this due to service/desktop interaction restrictions. Tick "Restrict where this project can be run" and type the slave node name into the location expression box that appears.
After configuring where to get the project (source control etc), you then need to add the command line from above as a Batch file build step.


SSHFS Admin
SSHFS
Host
Port
Web
HTTPS settings (leave blank to use HTTP only)
HTTPS Host
HTTPS port
Save


+++
title = "Modwatch for Vortex"
linkTitle = "Modwatch for Vortex"
+++
{{< blocks/cover title="Modwatch for Vortex" image_anchor="top" height="full" color="orange" >}}
{{< /blocks/cover >}}
{{% blocks/lead color="primary" %}}
This is a simple extension that adds the ability to build and upload mod lists directly to Modwatch ([modwat.ch](https://modwat.ch)) from your Mods list in Vortex, powered by Vortex Showcase.
**This project is unofficial!** We have no association with Nexus Mods or Modwatch and this is only a community project.
{{% /blocks/lead %}}
{{< blocks/section color="dark" >}}
{{% blocks/feature icon="fa-tools" title="Full Vortex integration" %}}
Easily upload your modlist directly from your installed Vortex mods.
{{% /blocks/feature %}}
{{% blocks/feature icon="fab fa-github" title="Contributions welcome!" url="https://github.com/agc93/vortex-showcase" %}}
The extension is fully open-source and open to community contributions and fixes!
{{% /blocks/feature %}}
{{% blocks/feature icon="fas fa-cogs" title="Seamless" %}}
Doesn't require the Modwatch Uploader to be installed (or any external tools) and will upload instantly.
{{% /blocks/feature %}}
{{< /blocks/section >}}
{{< blocks/section >}}
{{< /blocks/section >}}


Sign upCreate a blog
{{error}}
A blog costs {{price}} per {{interval}} and includes hosting and support. You can cancel at any point. You must agree to the terms of use.
Enable JavaScript to purchase an account. Payments are processed by Stripe without touching Blot's servers. This requires JavaScript.
Your email address
Card number Blot does not store your card details. Stripe processes your payment.
Amount due today
{{price}}


Feel free to visit our stores or contact us.
 Donec sed auctor elit.
New sexy sports clothes are here!
Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Donec sed auctor elit.
Summer sales are coming!
Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Donec sed auctor elit.
Terms & Conditions
FAQ
Payment
Refunds
Track Order
Services
Privacy & Security
Careers
Press
Corporate Information
Sizing
Ordering
Shipping
Return Policy
Affilliates
Find A Store
Site Map
Sign Up & Save


Queue Waiting
Home
Ticket
Create
Modify
Services
Contact
About Us
Sign Up
Login
Submit
Available services
Logo
Company
# of branches
Services
Mobily
20
Support, issuing SIM cards
STC
22
Support, issuing SIM cards
Maestro Pizza
15
Food


KAKE is the new revolutionary way to recruit. This HR-system is focused on
jobbseeker's skills and personality trades instead of the ordinary way, to
base the recruiting on CV's and diplomas. KAKE enables the best matches,
regardless for exempel education, disabilities or gender.


TABLE OF INTERACTIONS WITH
LOOP DIURETICS
From the French ANSM drug interactions document of September 2016, pp. 80-81
LOOP DIURETICS CLASS CODE: C03CA-001 |
AMINOGLYCOSIDES CLASS CODE: J01GB-001 |
Increase of the nephrotoxic and ototoxic risks of the aminoglycoside (functional renal insufficiency linked to the dehydration caused by the diuretic) |
Precaution for use The two medications may be taken together when there is monitoring of the state of hydration, of the renal and cochleovestibulary functions, and possibly, of the plasma concentrations of the aminoglycoside |
|
LOOP DIURETICS CLASS CODE: C03CA-001 |
LITHIUM RxNorm: 6448 ATC: D11AX04 |
Increase of the plas ma concentrations of lithium with signs of overdose of lithium as with a low sodium regimen (decrease of the urinary excretion of the lithium) |
Not recommended If administering these substances together cannot be avoided, strict monitoring of the plasma concentrations of lithium and adjustment of the dosage of lithium. |
|
LOOP DIURETICS CLASS CODE: C03CA-001 |
METFORMIN RxNorm: 6809 ATC: A10BA02 A10BD13 A10BD11 A10BD05 A10BD03 A10BD10 A10BD07 A10BD02 A10BD08 |
Lactic acidosis due to the metformin, set into action by a possible functional renal insufficiency, linked to the loop diuretics |
Precaution for use Do not use metformin when the creatinemia is greater than 15mg/l (135 Ámol/l) for men, and 12 mg/l (110Ámol/l) for women. |
|
LOOP DIURETICS CLASS CODE: C03CA-001 |
PLATINUM-BASED ANTINEOPLASTIC CANCER DRUGS CLASS CODE: L01XA |
Risk of addition of the ototoxic and/or nephrotoxic effects |
Take into account |
|


Hi. This is the index app that is not protected.
You can now call a protected API. With Header
But you should try to get a token from auth server first. Get Token
Or verify your token from auth server. Verify Token
Or destroy the cookie. Logout


How do politics and science affect theology? (206)
distrust of authority
Reason vs. Enthusiasm
Pietism – Methodism
baptismal regeneration (211 - Wesley rejected)
"City on a hill" the dream (221)
Edwards re. experience & theology (223)
predestination for the Calvinists in America
challenge of slavery to American experience
From Enlightenment to a New world
p. 216: Ambivalence of these thinkers
City on a hill
The city on a hill
the idea of denomination really developed in the US
bewildering variety of developments in US (219)
Indeed I tremble for my country when I reflect that God is just. –Thomas Jefferson
Sinners in the hands of an angry God (J. Edwards)
Covenant
Territory & the Church faith within it
Now to be understood as an individual's commitment (covenant) – not a function of being born into a territory
seen by some as a modification of strict Calvinist predetermination – because keeping the covenant was freely entered into – then becomes an obligation
Ann Hutchinson
prophecies & visions – her view that grace could come to anyone – "unpredictable grace seemed to threaten" the discipline needed to make the "city on a hill" work (cf. quote 221)
conversion came to be a requirement for inclusion in the civic community … communion, baptism, etc.
Jonathan Edwards
science vs. traditional theology. For JE "orthodox Calvinism fit best with modern science. Accepting Locke's view that our knowledge begins with experience
not necessarily materialism from scientific perspective
JE saw correspondence between Newton's view of the universe and Calvin's predetestination (223) "…setting traditional doctrines in a new metaphysical context. He believed in a God so powerful he left no room for anything else."
George Whitefield (1740) built on the outburst of conversion experiences – JE defended the developments
Rational religion
Benjamin Franklin
Thomas Jefferson
And yet until the 1880's (223) "every state except Rhode Island still required some sort of religious affirmation from anyone seeking public office (Church & State)
Rationalism "took institutional form in Unitarianism – rejection of Trinity, original sin, predestination
Revivals on the Frontier
Nathaniel W. Taylor & Lyman Beecher organizing frontier revivals
Charles Finney carried revivals into New York – priding himself on his lack of sophistication
Mother Ann Lee experienced visions that led her to form a Quakerism for women (the female aspect of divinity)
Oneida community – eschatological communities
Seventh Day Adventists – incorporating Jewish elements into their communitarianism
Joseph Smith: Latter Day Saints
Romanticism in America
reaction to rationalism … a cluster of responses called romanticism
Ralph W. Emerson … appealing to intuition – "transcendentalism"
leading in a variety of paths
Horace Bushnell (before Civil War) "attacking individualism and the emphasis on revivals and raising questions about rationalism in religion." (229)
Slavery & Black religion
cf. opening p. 230 – we must not ignore "full consequences of slavery and non-emancipation" in story of American church
race pecularly the criteria in American slavery
"In America … only the Quakers (starting in the 1750s) really demanded" that the church reject slavery (230)
the unfulfilled dream of Puritan America
(231) … are we a city on a hill? Inspiring the world?


Josh.js
A JavaScript library to animate content on page scroll.
View on Github
Let's start scrolling!
No jQuery Dependency
Written on ES6 💝
Animate using Animate.css library.
Or use your own CSS animation library.
Only 2KB 😘
Work on newly created DOM.


Relic Watcher:
Ready? Go in all 4 directions, activate the reading desk with the correct Kaerun's Memoir, and cancel the seal. When you successfully do this, you will have the memoir.


Jan 13, 2014
Control Arks via puppet
In this status update iv'e taken a look at puppet/chef integration. The first thing to understand is that both puppet and chef is in a high development state as both packages are only available in aur (the user repository for archlinux). I had no luck using the omnibus installer for chef as it cant be installed unattended from aur with packer. This leaves us to puppet.
Client and server installation is no biggies. Installing from aur gives no errors and using puppetlabs repos in any ubuntu/debian works like a charm. The issues iv'e encountered where that the server (puppetmaster) had issues accepting the certificate from client if they where behind nat. To make demo scenarios easier the puppetmaster was installed in the cloud and the clients was supposed to talk to the server behind nat. It seems that the server need to have fqdn for both clients and itself to work. I dont think i would see the same type of error if every client had its own accessible domain. Putting the puppetmaster within the same net was more successfull. Cleaning up the old certs for client and server and the server recognices the certificate request.
Next step is creating a function that does something like this...
if PUPPET_SERVER is set
install puppet
if PUPPET_CONF is set
curl PUPPET_CONF to /etc/puppet/puppet.conf
else
inject PUPPET_SERVER into /etc/puppet/puppet.conf
fi
start puppet agent on boot
fi
Todo:
- Build function
- Test integration of server/client behind nat.


This is an extremely simple API service for use with the ZX Spectrum Next. If offers ZXDB search and download functionality.
This service is intentionally non-SSL to allow for the ZX Spectrum Next to process the requests.
All requests are GET
based.
If processing on a Spectrum Next, you will need to pass the HTTP response headers, you can either wait for a
blank line (as per HTTP specification to represent the start of the body) or curl
and count the
headers you need to skip. Current this code is hosted on Heroku so the headers shouldn't change in the foreseeable
future - but this is not a given.
Searches for an entity based on a query using the zxinfo search engine. Returns a maximum of 10 of encoded results.
Note on
spaces: if the search term includes spaces, to reduce encoding requirements, spaces are represented
with a *
character. So "manic miner" is manic*miner
.
http://zxdb.remysharp.com/?s=target
^25483^Target: Renegade^Target-Renegade.tzx^116696^2^1988^
^25485^Target: Renegade^Target-Renegade128.tap^112085^1^1988^
^25486^Target: Renegade^Target-Renegade48.tap^107007^1^1988^
^25487^Target: Renegade^Target-Renegade(ErbeSoftwareS.A.).tzx^112472^2^1988^
^25489^Target: Renegade^Target-Renegade(TheHitSquad).tzx^116696^1^1990^
^25459^Renegade^Renegade.tzx^67665^2^1987^
^25461^Renegade^Renegade128.tap^71429^1^1987^
^25462^Renegade^Renegade48.tap^48977^1^1987^
^25463^Renegade^Renegade(ErbeSoftwareS.A.).tzx^59640^2^1987^
^25465^Renegade^Renegade(TheHitSquad).tzx^62903^2^1989^
The fields are separated by the ^
character and rows are terminated by \n
The fields are:
The id
is required to download a file.
In the case where the number of file options (field 5) to request file 2, append /2
to the
/get/<id>/2
request.
By default all types of records are returned. You can narrow the results with a query string
?cat=n
, where n
is short for:
g
- games onlya
- apps and utilitiesd
- demos including musicIf a category short code isn't recognised, the filtering is disabled.
Returns a binary stream with content-length
header set for the given file id
. The
file format will be the type associated with the particular ID.
http://zxdb.remysharp.com/get/18840
Open source and built by Remy Sharp


An axis-aligned rectangular cuboid.
The Region3 type represents an axis-aligned three-dimensional rectangular cuboid with a lower and upper boundary.
Returns Region3 composed by two Vector3s.
The new constructor returns a Region3 composed by two Vector3 values, where min is the lower bound of the region, and max is the upper bound.
The center of the region.
The CFrame field returns a CFrame with its Position located at the center of the region.
The size of the region.
The Size returns the size of the region.
Expands the region to align to a grid.
The ExpandToGrid method returns the region expanded so that is lower and upper bounds align to resolution. If resolution is 0, the region is returned unchanged.
Returns whether two Region3 values are equal.
The equal operator returns true if both operands are Region3, and each corresponding component is equal.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/quote.20tactic.html ---
Here's a demo of a new quote
tactic, indended for working with domain-specific languages:
import tactic.interactive namespace tactic meta class has_quote (α : Type*) := (f : expr → option α) meta def quote_with (α) [has_reflect α] [has_quote α] (e : expr) : option expr := do a ← has_quote.f α e, pure (reflect a) namespace interactive open tactic interactive interactive.types lean.parser meta def quote (q : parse texpr) : tactic unit := do e ← i_to_expr_strict q, α ← target, f ← i_to_expr_strict ``(quote_with %%α) >>= tactic.eval_expr' (expr → option expr), r ← f e | fail "conversion failed", tactic.exact r end interactive end tactic
@[derive has_reflect] inductive ring_expr : Type | num : ℕ → ring_expr | add : ring_expr → ring_expr → ring_expr meta def to_ring_expr : expr → option ring_expr | `(%%e₁ + %%e₂) := ring_expr.add <$> to_ring_expr e₁ <*> to_ring_expr e₂ | e := ring_expr.num <$> e.to_nat meta instance : tactic.has_quote ring_expr := ⟨to_ring_expr⟩ def E : ring_expr := by quote 2 + 2 #print E -- def E : ring_expr := -- ring_expr.add (ring_expr.num 2) (ring_expr.num 2)
the idea is that you write a parser function for your target syntax, as a function expr -> option A
, and then quote
will spit out parsed values of your type
Do you have a more realistic use case in mind?
Jesse and Floris could use this for parsing formulas in first order logic into their embedded language
I'm thinking about using it for writing programs and embedding in an AST without too much notational overhead
The nice thing is that it's completely non-meta after the parsing stage, just like any other proof producing tactic
It's probably not that useful for regular maths, but for anything involving deep embeddings or embedded DSLs this is a very important technique
That kind of looks like the beginning of a compiler, am I close?
it's also useful for custom lean compilers ;)
Who would ever want that? :P
Unfortunately it's still pretty limited since the quoted expression has to be a valid expr. It's possible to relax it to pexprs, but the pattern matching for pexpr is not nearly as nice. I also haven't figured out how to support antiquoting or really anything that's not well typed by lean standards
What kind of expression would you like Lean to accept?
by quote 2 + AQ e
is one thing I'm trying for the ring_expr
example, where e : ring_expr
but there are plenty of things that aren't even syntactically correct lean terms that I would like to support. Probably most of this will need to wait for Sebastian's parser work
When you parse it, you could temporarily add functions quote
and AQ
of the right type and then restore the environment
Yeah, that can't be helped
Getting AQ
to have the right type is not easy. In this case it should have type ring_expr -> nat
but nat
isn't mentioned anywhere else
Plus in cases like formula quotation we want two kinds of AQ, formula -> Prop
and term -> A
where A
is the fictional domain of the FOL formula
Last updated: Apr 24 2020 at 19:02 UTC


{% extends 'emails/email_base.html' %} {% load i18n %} {% autoescape off %} {% block email_content %} {% blocktrans with site=site_name email=contact_email trimmed %}
Unfortunately, your application for an account at {{ site }} was not successful.
If you wish to appeal this decision, please email {{ contact_email }}.
{% endblocktrans %} {% endblock %} {% block email_footer %} {% blocktrans with site=site_name trimmed %} You received this email because you applied for a {{ site }} account. {% endblocktrans %} {% endblock %} {% endautoescape %}


Determine the winner, if one exists.
This is a wrapper for the mehtod of the same name on the IVotingMethod implementation class.
Add a single vote at a time.
The parameter ‘vote’ can be either a single string representing a candidate, or a dictionary representing a set of preferences cast by a single voter.
For a unique vote, add the number of times it was voted for.
Count all otes cast for all candidates.
This method differs from the add_votes method in that there is more than one vote being cast, each with potentially many vote counts.
The base interface for all criteria.
Extends: ballotbox.criteria.ICriterion
The majority criterion is a single-winner voting system criterion, used to compare such systems. The criterion states that “if one candidate is preferred by a majority (more than 50%) of voters, then that candidate must win”.
Some methods that comply with this criterion include any Condorcet method, instant-runoff voting, and Bucklin voting.
Some methods which give weight to preference strength fail the majority criterion, while others pass it. Thus the Borda count and range voting fail the majority criterion, while the Majority judgment passes it. The application of the majority criterion to methods which cannot provide a full ranking, such as approval voting, is disputed.
These methods that fail the majority criterion may offer a strategic incentive to voters to bullet vote, i.e., vote for one candidate only, not providing any information about their possible support for other candidates, since, with such methods, these additional votes may aid their less-preferred.
 The criterion states that if a majority of voters prefers every other candidate over a given candidate, then that candidate must not win.
 However, the Condorcet criterion does not imply the majority loser criterion. Neither does the majority criterion imply the majority loser criterion.
Methods that comply with this criterion include Schulze, Ranked Pairs, Kemeny-Young, Nanson, Baldwin, Coombs, Borda, Bucklin, instant-runoff voting, contingent voting, and anti-plurality voting.
Methods that do not comply with this criterion include plurality, MiniMax, Sri Lankan contingent voting, supplementary voting, approval voting, and range voting.
Extends: ballotbox.criteria.IMajorityCriterion, ballotbox.criteria.IMajorityLoserCriterion
The mutual majority criterion is a criterion used to compare voting systems. It is also known as the majority criterion for solid coalitions and the generalized majority criterion. The criterion states: If there is a subset S of the candidates such that more than half of the voters strictly prefer every member of S to every candidate outside of S, and this majority votes sincerely, then the winner must come from S. This is similar to but more strict than the majority criterion, where the requirement applies only to the case that S contains a single candidate.
Methods that pass: The Schulze method, ranked pairs, instant-runoff voting, Nanson’s method, Bucklin voting.
Methods that fail: plurality, approval voting, range voting, the Borda count, minimax.


>>
<<
Usr
Pri
JfC
LJ
Phr
Dic
Voc
!:
Help
Primer
Axis
The term axis is used in slight preference to the term dimension. Atoms have 0 axes, lists have 1 axis, and tables have 2 axes.
>>
<<
Usr
Pri
JfC
LJ
Phr
Dic
Voc
!:
Help
Primer


[1]
The sound went out on it possible to use and only the 205 255 is good.
[2]
One unexpected feature is ready to read and when driving in the directions were very easy to use and only the 205 255 is good.


Weather Event Emitter
Most Recent Weather Metrics
Click "Start Polling" to start uploading weather metrics to Splunk.
See All Uploaded Metrics
Help
Splunk Hostname
HEC Token
HEC Port
Optional. Defaults to 8088.
Splunk Index
Optional. Defaults to "ar-weather-demo".
Event Polling Interval
Optional. The time in seconds between uploading weather events. Defaults to 0.5.
Disable SSL Certificate Verification
Start Polling
Stop


Just throws given error
. Function is also generic and has a output
type
parameter so that it's return type can be treated as anything you want.
import crash from "throw.flow"
crash(new Error("Boom")) // => Error: Boom
(reason)
output


We have a discounted hotel room block at the Sonesta Bee Cave Austin. It's a super nice, brand new hotel that's very close to the wedding venue. The rate is $179 per night. To take advantage of this rate you must book your room no later than [[[WHEN?]]]!
To book your room online, please CLICK HERE to gain access our personalized online webpage and the special group rate.
To book your room over the phone, please call the reservation line, 1-555-555-5555, and use our group code WOOTWOOT.