Ok, after my afternoon coffee, it all became clear. gr.max() returns
the max value, and gr.argmax() returns only the vector position at max.

so, questions;

  1. what does argmax( ,1) return? (other than zeroes)
  2. what is the common method to send a single output to two inputs? ie,
    want to send a vector to both max() and argmax() simultaneously.
  3. where would I go to RTFM on these relevant functions?


Abram Y. Room: PAS-367
Dept. of Physics Voice: 520.621.6802
University of Arizona E-mail: [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs