Closed ClmnsRck closed 5 years ago
Hello, github issues seem apt to me. The other option is to post to the blitz-support mailing list which is still hosted on SourceForge: https://sf.net/p/blitz/mailman/
Re "is a way to access the data array behind the tensor?": if you mean to access the raw memory region, the Array class has several methods: data(), dataZero() and dataFirst() - see page 22 of the v0.9 manual (http://physik.uni-graz.at/~crg/Programmierkurs1112/pdfs/blitz.pdf).
Use a loop plus the standard c++ random number generator
http://www.cplusplus.com/reference/random/mt19937/
On Wed, Mar 13, 2019 at 05:01 ClmnsRck notifications@github.com wrote:
Is there a chat, online forum or anything like it for Blitz++? I have some questions(and will continue to have some) i would ike to as experienced users, but do not fit the issues tab of github.
Right now, i would like if there is a way to fill a "pre-shaped" array(meaning shape and arithmetic type are known before-hand) with random numbers?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/blitzpp/blitz/issues/103, or mute the thread https://github.com/notifications/unsubscribe-auth/AB1cd0ZCNSIDRBclBP3FWJ9DmY4JClSxks5vWL52gaJpZM4bstWm .
Re " if there is a way to fill a "pre-shaped" array(meaning shape and arithmetic type are known before-hand) with random numbers?" you can also use what is built in into Blitz - see chapter 9 "Random Number Generators" on page 73 of the above-mentioned v0.9 manual
One last question then I will close this issue, to not spam into the issues tab:
C = sum(A(a,b,c) * B(c,d,e),c);
Is this the fastest way right now, to do a Tensor-Dot-Product(Tensor-Inner-product) in Blitz++?
Is there a chat, online forum or anything like it for Blitz++? I have some questions(and will continue to have some) i would ike to as experienced users, but do not fit the issues tab of github.
Right now, i would like if there is a way to access the data array behind the tensor?