In the SCI/modules/string/sci_gateway/cpp/sci_string.cpp source file,
is defined
types::Function::ReturnValue *intString*(T* pInt, types::typed_list &out)
{
int iDims = pInt->getDims();
int* piDimsArray = pInt->getDimsArray();
types::String *pstOutput = new types::String(iDims, piDimsA
A kludge would be to make it into two integers. This works for positive
integers, but verifying (or modifying) the algorithm to signed numbers
is left as an exercise to the reader:
A = (some 64-bit constant)
A_1 = A / 10;
A_0 = A - A_1 * 10;
if (A_1 == 0)
mprintf("A = %d\n", A)
Hello all,
I am wondering how it is possible to print (in a file, in a string) new
64 bit integers,
at full accuracy. Their relative accuracy is better than for decimal numbers
(1/2^63 instead of %eps=1/2^52).
In Scilab 5, digits lower than 1/%eps -- that are somewhat randomly set --
can be di
Hello,
Le 24/07/2016 14:30, Dragonmaw a écrit :
Hello there,
i need to align (unequally long) time series, computing their minimal
euclidean distance alignment. I believe this is being done optimally
with dynamic programming. Algorithms exist from biocomputing or speech
recognition, but the
Le 28/08/2016 22:48, Robert Sherry a écrit :
Samuel,
Thanks for the response. While the example, I showed is linear, the
equations I want to solve are not. I am thinking I need a third
function which returns a vector. Am I on the right track?
.
Then it would have been great to post a non-line
Samuel,
Thanks for the response. While the example, I showed is linear, the
equations I want to solve are not. I am thinking I need
a third function which returns a vector. Am I on the right track?
Bob
On 8/28/2016 4:31 PM, Samuel Gougeon wrote:
Le 28/08/2016 22:03, Robert Sherry a écrit :
Le 28/08/2016 22:03, Robert Sherry a écrit :
I defined the following two functions:
function [z]=f(x,y)
z = x + y - 8
endfunction
function [z]=g(x,y)
z = 2*x + y - 8
endfunction
I then wanted to find the roots of the two functions (equations). That
is, I want a pair of numbers (a,b)
such that
I defined the following two functions:
function [z]=f(x,y)
z = x + y - 8
endfunction
function [z]=g(x,y)
z = 2*x + y - 8
endfunction
I then wanted to find the roots of the two functions (equations). That
is, I want a pair of numbers (a,b)
such that f(a,b) = g(a,b) = 0. So, I found the function
Am 28.08.2016 16:32, schrieb Samuel Gougeon:
Le 28/08/2016 16:17, Jens Simon Strom a écrit :
Hello,
I try to transform the number colum N containing integer elements
from 1 to 999, e. g.
N=[1;11;111]
into
T=[" 1";" 11";"111"].
I tried with commands like justify, repmat, string, size, le
Le 28/08/2016 16:17, Jens Simon Strom a écrit :
Hello,
I try to transform the number colum N containing integer elements
from 1 to 999, e. g.
N=[1;11;111]
into
T=[" 1";" 11";"111"].
I tried with commands like justify, repmat, string, size, length - but
without success. Do I miss one or m
Hello Jens,
T = msprintf("%3i\n", N)
Regards
Stefan
On 2016-08-28 16:17, Jens Simon Strom wrote:
Hello,
I try to transform the number colum N containing integer elements
from 1 to 999, e. g.
N=[1;11;111]
into
T=[" 1";" 11";"111"].
I tried with commands like justify, repmat, string, size
Hello,
I try to transform the number colum N containing integer elements from
1 to 999, e. g.
N=[1;11;111]
into
T=[" 1";" 11";"111"].
I tried with commands like justify, repmat, string, size, length - but
without success. Do I miss one or more better adequate command(s)?
Kind regards
Je
Very good, a way of using logical operators that I was not aware of.
Even this seems to works:
data(data<32|data>127)=ascii(".")
Thank you also Samuel for fixing the mgeti('l') bug. Both will help me a
lot in reading and decoding some large seismic files.
Jan Å
On 28.08.2016 06:20, Samuel G
Le Samedi, Août 27, 2016 19:24 CEST, philippe a écrit:
> Hi,
>
> Le 26/08/2016 à 15:00, Antoine Monmayrant a écrit :
> > Hi all,
> >
> > I tried to use verbatim text inside some latex string, but without success:
> >
> >titlepage("$\verb| \alpha |$")
> >
>
> since text are displayed as
14 matches
Mail list logo