You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Please add a timeDelta.totalMicroseconds procedure. One application would be for the generation of random seeds.
Is this issue currently blocking your progress?
No, because in arkouda we implemented our own timeDelta.totalMicroseconds procedure. However, it would be more efficient to call it from chapel.
Code Sample
use Time;
proctimeDelta.totalMicroseconds():int{
return ((days*(24*60*60) + seconds)*1_000_000+ microseconds):int;
}
var next: rng.eltType;
if hasSeed {
next = rng.next();
}else{
const seed = timeSinceEpoch().totalMicroseconds();
var randStream0 =new randomStream(rng.eltType, seed);
next = randStream0.next();
}
The text was updated successfully, but these errors were encountered:
Summary of Feature
Description:
Please add a
timeDelta.totalMicroseconds
procedure. One application would be for the generation of random seeds.Is this issue currently blocking your progress?
No, because in arkouda we implemented our own
timeDelta.totalMicroseconds
procedure. However, it would be more efficient to call it from chapel.Code Sample
The text was updated successfully, but these errors were encountered: