1,350 reputation
421
bio website
location
age
visits member for 1 year, 10 months
seen 2 hours ago

Nov
11
comment Mathematica Parellelization on HPC
Hi,xslittlegrass! Do you know how to do it without front end? The network of the HPC which I use is not fast enough to use a front end. And I didn't understand Szabolcs's method. Does he achieve the same effect as yours(to parallel computation across different nodes)?
Nov
10
comment How to partition a list according to a nested table structure?
Oh, I understand
Nov
10
comment How to partition a list according to a nested table structure?
Thank you! But I can't understand. Can you explain a little? What is t,it,if?
Nov
10
comment Why is FileNameJoin not working?
@belisarius @cormullion I have tested many times and found that in the front end mode once the small space is preserved correctly, then aaa >> FileNameJoin[{Directory[],"input"}] or aaa >> (FileNameJoin[{Directory[], "input"}]) both works. But when I run it in command line mode, aaa >> FileNameJoin[{Directory[],"input"}] will give a file named "FileNameJoin[...]". But aaa >> (FileNameJoin[{Directory[], "input"}])just give an error saying "Syntax::sntxf: "aaa" cannot be followed by ">>(FileNameJoin[{Directory[],lll}])""
Nov
10
comment Why is FileNameJoin not working?
@Nasser not that space. I mean the space here, see closely imgur.com/VHaiFDt. Can you notice that one of the "input" is grey and the other is black? If you type your code successively, the space is automatically preserved by mathematica syntax system. But I found if you use copy and paste the "Directory[]", the space strangely gone and that makes it wrong. So that is why I call it bug.
Nov
10
comment Why is FileNameJoin not working?
@Nasser the small space is the key. between "," and "input". (,"input") will be wrong, (, "input") will be right
Nov
10
comment Why is FileNameJoin not working?
WOW! That is the point! I just noticed the important small space before I came back and look at your answer. This is absolutely a "bug" I think
Nov
10
comment Why is FileNameJoin not working?
@Nasser That is strange! It's not only happened in my local mathematica, it also happens why I use mathematica on HPC, sometimes it did't create a file, sometimes it creates a file named "FileNameJoin[.....]"? That makes crazy
Nov
10
comment Why is FileNameJoin not working?
@Nasser and it shouldn't be a matter if there is already a file with the name "input" exit? Put always write, I think
Nov
10
comment Why is FileNameJoin not working?
@Nasser I've edited my question. aaa can be anything just for convenience. If I didn't define aaa, the aaa>>file will put 3 "a" characters into file .
Nov
10
revised Why is FileNameJoin not working?
deleted 1 characters in body
Nov
10
asked Why is FileNameJoin not working?
Nov
10
asked How to partition a list according to a nested table structure?
Oct
30
awarded  Critic
Oct
10
accepted HornerForm of polynomials in terms of E^(i x)
Oct
10
comment HornerForm of polynomials in terms of E^(i x)
@Artes Great! But it seems that ` Times[a_, Power[E, Times[Complex[0, b_], x]]] :> a z^b ` is rebundant, right?
Oct
10
comment HornerForm of polynomials in terms of E^(i x)
@Artes Great! Rule Replace, I got that
Oct
10
asked HornerForm of polynomials in terms of E^(i x)
Sep
29
accepted How to partition a list into sublists in a similar way to Histogram
Sep
29
revised How to partition a list into sublists in a similar way to Histogram
added 31 characters in body