#include <iostream>
#include <malloc.h>
#include <stdlib.h>
#include "magic/mobject.h"
#include "magic/mclass.h"
#include "magic/mmath.h"
#include "magic/mmagisupp.h"
#include "magic/mdatastream.h"
Go to the source code of this file.
Functions | |
BEGIN_NAMESPACE (MagiC) | |
impl_dynamic (Int,{Comparable}) ostream &operator<< (ostream &out | |
int | compareComparable (const void *a, const void *b) |
int | rnd (int range) |
double | frnd () |
double | gaussrnd (double stdv) |
void | assertwith (const char *filename, int lineno, const char *funcname, const char *condition, const char *message) |
Definition in file mobject.cc.
|
Internal for ASSERT and ASSERTWITH. * Definition at line 447 of file mobject.cc. |
|
This file is part of the MagiC++ library. * * Copyright (C) 1998-2002 Marko Grönroos <magi@iki.fi> * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; see the file COPYING.LIB. If * not, write to the Free Software Foundation, Inc., 59 Temple Place *
|
|
Callback function for running qsort...
Definition at line 357 of file mobject.cc. |
|
Returns a double-float random value between 0 and 1.
Definition at line 408 of file mobject.cc. |
|
Returns a normally distributed random value with the given standard deviation.
Definition at line 412 of file mobject.cc. |
|
Outputs any Object to the standard C++ stream, if the operator<< has been defined for it. For example: String myString = "Hello, World!";
cout << myString << " |
|
Returns a random integer value in range 0..range-1.
Definition at line 404 of file mobject.cc. |