search for: arithemt

Displaying 6 results from an estimated 6 matches for "arithemt".

Did you mean: arithemtic
2023 Nov 07
1
non-linear regression and root finding
G'day Troels, On Mon, 6 Nov 2023 20:43:10 +0100 Troels Ring <tring at gvdnet.dk> wrote: > Thanks a lot! This was amazing. I'm not sure I see how the conditiion > pK1 < pK2 < pK3 is enforced? One way of enforcing such constraints (well, in finite computer arithemtic only "<=" can be enforced) is to rewrite the parameters as: pK1 = exp(theta1) ## only if pK1 > 0 pK2 = pK1 + exp(theta2) pK3 = pk2 + exp(theta3) And then use your optimiser to optimise over theta1, theta2 and theta3. There might be better approaches depending on the speci...
2002 Mar 25
1
int 32 bit error on SPARC 64bit (PR#1415)
...3]: Leaving directory `/opt/R/R-1.4.1/src/main' gmake[2]: *** [R] Error 2 gmake[2]: Leaving directory `/opt/R/R-1.4.1/src/main' gmake[1]: *** [R] Error 1 gmake[1]: Leaving directory `/opt/R/R-1.4.1/src' gmake: *** [R] Error ************* Related Code: ************* ***Related code in arithemtic.c file: 667 #ifndef INT_32_BITS 668 /* configure checks whehter int is 32 bits. If not this code will 669 need to be rewritten. Since 32 bit ints are pretty much universal, 670 we can worry about writing alternate code when the need arises. 671 To be safe, we signal a...
2016 Oct 12
2
RFC: General purpose type-safe formatting library
...alization dependent. That being said, llvm has 0 existing support for localization. We already print floating point numbers with decimals, messages in English, etc. The purpose of this example was to illustrate that each formatter can have its own custom set of options. For the case of integral arithemtic types, those would be: X : Uppercase hex X- : Uppercase hex without the 0x prefix. x : Lowercase hex x- : Lowercase hex without the 0x prefix N : comma grouped digits E : scientific notation with uppercase E e : scientific notation with lowercase e P : percent F : fixed point But for floating p...
2023 Nov 07
1
non-linear regression and root finding
...gt; > On Mon, 6 Nov 2023 20:43:10 +0100 > Troels Ring <tring at gvdnet.dk> wrote: > >> Thanks a lot! This was amazing. I'm not sure I see how the conditiion >> pK1 < pK2 < pK3 is enforced? > One way of enforcing such constraints (well, in finite computer > arithemtic only "<=" can be enforced) is to rewrite the parameters as: > > pK1 = exp(theta1) ## only if pK1 > 0 > pK2 = pK1 + exp(theta2) > pK3 = pk2 + exp(theta3) > > And then use your optimiser to optimise over theta1, theta2 and theta3. > > There might be bet...
2023 Nov 06
2
non-linear regression and root finding
Thanks a lot! This was amazing. I'm not sure I see how the conditiion pK1 < pK2 < pK3 is enforced? - it comes from the derivation via generalized Henderson-Hasselbalch but perhaps it is not really necessary. Anyway, the use of Vectorize did the trick! Best wishes Troels Den 06-11-2023 kl. 19:19 skrev Ivan Krylov: > ? Mon, 6 Nov 2023 17:53:49 +0100 > Troels Ring <tring at
2016 Oct 12
15
RFC: General purpose type-safe formatting library
A while back llvm::format() was introduced that made it possible to combine printf-style formatting with llvm streams. However, this still comes with all the risks and pitfalls of printf. Everyone is no-doubt familiar with these problems, but here are just a few anyway: 1. *Not type-safe.* Not all compilers warn when you mess up the format specifier. And when you're writing your own