DJJerome1976

515 Reputation

12 Badges

15 years, 295 days

MaplePrimes Activity


These are replies submitted by DJJerome1976

@acer Yes, I understand. What I don't understand is why the default format is what it is. I am not sure why you made the comment about me not being "concerned." Thanks for you response. 

@acer This is great. Thank you for your quick response and excellent solution.

@Carl Love Thank you for the clarification. I'll keep this in mind!

@dharr Thanks!

@acer Now it works. Thanks!

@vv I'm using your code and I'm not able to reproduce your results. I am getting:

with(GraphTheory); n := 4; degrees := [1, 2, 2, 3]; L := NonIsomorphicGraphs(n, output = graphs, outputform = adjacency); map(proc (u) local g, d; g := Graph(u); d := sort(Degree(g)); `if`(d = degrees, g, NULL) end proc, [L])

[]

(1)

`~`[print](`~`[DrawGraph](%))[]

NULL

Download graph.mw

@Kitonum I feel badly that such a simple, and elegant, solution exists and I wasn't able to discover it. Thank you, so much.

@mmcdara This is what I was looking for. I am glad you showed the process for Gaussian RVs, as well as non-Gaussian RVs.

@Rouben Rostamian  This is almost what I want. I want the placement and direction of the arrowheads to be automated dependent on the critical values of the DE and the sign (+ or -) of the DE. Also, I want the axis to be oriented vertically, not horizontally. I will try and modify your code to reflect these changes! Much appreciated.

@acer Yes, my goal is to print a statement that includes text of the form: This is the 5th object with a certain property. So, I would rather not have the double-quotes showing.

@Carl Love It works now! Thanks for your assistance and patience!

@Carl Love Wow, you have really strong feelings about 2D. Keep in mind that some of don't have the experience you do with scientific software and this interface helps those who aren't so savvy. 

  • My cursor is to the left of a prompt. My cursor is blinking. The prompt is a reddish/maroonish color.
  • The pull-down says 2D Input

Attached is an image that might help.

command-j.pdf

@Carl Love I tried what you suggested and I'm still getting the same error. Can't figure out what I'm doing wrong. Sorry to be a bother.

@Carl Love Okay. I've always used 2D input. What is the 'best' way to convert it to 1D input?

@Carl Love So, I tried to use both and they are both giving me an error. I can't figure out why. I've attached the worksheets. TreeToPrüfer.mw Download PrüferToTree.mw

 

1 2 3 4 5 6 7 Page 1 of 7