#include <Random.hpp>
Inherits csound::Node.
csound::Random::Random | ( | ) |
virtual csound::Random::~Random | ( | ) | [virtual] |
virtual void csound::Node::addChild | ( | Node * | node | ) | [virtual, inherited] |
virtual void csound::Node::clear | ( | ) | [virtual, inherited] |
Reimplemented in csound::Lindenmayer, and csound::MusicModel.
virtual void csound::Random::createDistribution | ( | std::string | distribution | ) | [virtual] |
virtual ublas::matrix<double> csound::Node::createTransform | ( | ) | [virtual, inherited] |
virtual double& csound::Node::element | ( | size_t | row, | |
size_t | column | |||
) | [virtual, inherited] |
virtual ublas::matrix<double> csound::Random::getLocalCoordinates | ( | ) | const [virtual] |
Returns the local transformation of coordinate system.
Reimplemented from csound::Node.
virtual void csound::Random::produceOrTransform | ( | Score & | score, | |
size_t | beginAt, | |||
size_t | endAt, | |||
const ublas::matrix< double > & | coordinates | |||
) | [virtual] |
The default implementation does nothing.
Reimplemented from csound::Node.
virtual double csound::Random::sample | ( | ) | const [virtual] |
static void csound::Random::seed | ( | int | s | ) | [static] |
virtual void csound::Node::setElement | ( | size_t | row, | |
size_t | column, | |||
double | value | |||
) | [virtual, inherited] |
virtual ublas::matrix<double> csound::Node::traverse | ( | const ublas::matrix< double > & | globalCoordinates, | |
Score & | score | |||
) | [virtual, inherited] |
The default implementation postconcatenates its own local coordinate system with the global coordinates, then passes the score and the product of coordinate systems to each child, thus performing a depth-first traversal of the music graph.
Reimplemented in csound::Hocket, and csound::Sequence.
double csound::Random::a |
double csound::Random::b |
boost::variate_generator<boost::mt19937, boost::bernoulli_distribution<> >* csound::Random::bernoulli_distribution_generator [protected] |
double csound::Random::c |
std::vector<Node *> csound::Node::children [inherited] |
Child Nodes, if any.
std::string csound::Random::distribution |
boost::variate_generator<boost::mt19937, boost::exponential_distribution<> >* csound::Random::exponential_distribution_generator [protected] |
void* csound::Random::generator_ [protected] |
boost::variate_generator<boost::mt19937, boost::geometric_distribution<> >* csound::Random::geometric_distribution_generator [protected] |
double csound::Random::Lambda |
ublas::matrix<double> csound::Node::localCoordinates [protected, inherited] |
boost::variate_generator<boost::mt19937, boost::lognormal_distribution<> >* csound::Random::lognormal_distribution_generator [protected] |
double csound::Random::maximum |
double csound::Random::mean |
boost::mt19937 csound::Random::mersenneTwister [static] |
double csound::Random::minimum |
boost::variate_generator<boost::mt19937, boost::normal_distribution<> >* csound::Random::normal_distribution_generator [protected] |
double csound::Random::q |
double csound::Random::sigma |
boost::variate_generator<boost::mt19937, boost::triangle_distribution<> >* csound::Random::triangle_distribution_generator [protected] |
boost::variate_generator<boost::mt19937, boost::uniform_int<> >* csound::Random::uniform_int_generator [protected] |
boost::variate_generator<boost::mt19937, boost::uniform_real<> >* csound::Random::uniform_real_generator [protected] |
boost::variate_generator<boost::mt19937, boost::uniform_smallint<> >* csound::Random::uniform_smallint_generator [protected] |