Re: [petsc-users] *****SPAM*****Create vector with evenly spaced values

2014-08-30 Thread Florian Lindner
Am Freitag, 29. August 2014, 09:29:21 schrieben Sie: Florian : is there a way to create a vector with evenly spaced values in an interval, like the numpy.arange function? http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html or the linspace function? Ok, I gave it

Re: [petsc-users] *****SPAM*****Create vector with evenly spaced values

2014-08-30 Thread Jed Brown
Florian Lindner mailingli...@xgm.de writes: Am Freitag, 29. August 2014, 09:29:21 schrieben Sie: Florian : is there a way to create a vector with evenly spaced values in an interval, like the numpy.arange function? http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html

Re: [petsc-users] *****SPAM*****Create vector with evenly spaced values

2014-08-29 Thread h...@aspiritech.org
Florian : is there a way to create a vector with evenly spaced values in an interval, like the numpy.arange function? http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html or the linspace function? Ok, I gave it as try. Do I need the VecAssembly the vector? No, but you

[petsc-users] *****SPAM*****Create vector with evenly spaced values

2014-08-28 Thread Florian Lindner
Hello, is there a way to create a vector with evenly spaced values in an interval, like the numpy.arange function? http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html or the linspace function? Thanks, Florian

Re: [petsc-users] *****SPAM*****Create vector with evenly spaced values

2014-08-28 Thread Satish Balay
On Wed, 27 Aug 2014, Florian Lindner wrote: Hello, is there a way to create a vector with evenly spaced values in an interval, like the numpy.arange function? http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html or the linspace function? nope you would have to generate