josesito | anyone know where to find statistical algorithms for common distributions?? (in basic) (statistical distributions) |

eigma | any ideas for an algorithm that distributes n items randomly among m bins, up to a maximum of k items in each bin? |

TRWBW | eigma: well you could just re-try if the bin is fulll |

eigma | I'm sorry? |

TRWBW | eigma: start throwing them in bins. if you are about to throw one in a bin with k items, try another |

eigma | hmm.. okay |

TRWBW | eigma: if you want, you can get fancier, but that will work at least |

eigma | yeah.. |

zbrown | Would this be a suitable recursive function for the set of odd positive integers? "a_(n+1) = a_n + 2 where a_1 = 1" ? |

Jafet | zbrown: Uh, yeah. |

zbrown | Jafet: thanks. |

geckosen1tor | how do I project a vector onto a plane? |

TRWBW | geckosen1tor: two ways, you can take out the part normal to the plane, or extract the part in the plane |

geckosen1tor | ok, so say I have a normal vector for the plane |

TRWBW | geckosen1tor: well do you know how to project a vector along another vector? |

geckosen1tor | I forgot the formula but I have done that it's a dot product times the normal vector? |

TRWBW | geckosen1tor: pretty much geckosen1tor: does your plane go through the origin or is it floating somewhere in space? |

geckosen1tor | floating actually I have 2 vectors and a point that defines the plane then I have a third vector |

TRWBW | geckosen1tor: the normal i guess? |

geckosen1tor | er no i get the normal from the cross of the first 2 2 vectors and a point define the plane |

TRWBW | geckosen1tor: using your language, i'm unclear on whether the 3rd vector is a vector or a point |

geckosen1tor | then a third vector I want to project on the plane |

TRWBW | geckosen1tor: and yes, you can use the cross product geckosen1tor: you sure it's a vector? not a point? it makes a difference. vectors are differences of points |

geckosen1tor | I understand how to do it by subtracting out the part to the normal ok, in total I have 3 vectors and 1 point the first two vectors and the point define a plane |

TRWBW | geckosen1tor: so the 3rd vector starts from where? |

geckosen1tor | the point all 3 start from the point |

TRWBW | geckosen1tor: okay, then you can ignore the point, it won't be relevant here. |