Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/17/09 17:05:22 (15 years ago)
Author:
gkronber
Message:

Updated ALGLIB to latest version. #751 (Plugin for for data-modeling with ANN (integrated into CEDMA))

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/ALGLIB/blas.cs

    r2430 r2563  
    5151            for(ix=i1; ix<=i2; ix++)
    5252            {
    53                 if( x[ix]!=0 )
     53                if( (double)(x[ix])!=(double)(0) )
    5454                {
    5555                    absxi = Math.Abs(x[ix]);
    56                     if( scl<absxi )
     56                    if( (double)(scl)<(double)(absxi) )
    5757                    {
    5858                        ssq = 1+ssq*AP.Math.Sqr(scl/absxi);
     
    8282            for(i=i1+1; i<=i2; i++)
    8383            {
    84                 if( Math.Abs(x[i])>Math.Abs(x[result]) )
     84                if( (double)(Math.Abs(x[i]))>(double)(Math.Abs(x[result])) )
    8585                {
    8686                    result = i;
     
    104104            for(i=i1+1; i<=i2; i++)
    105105            {
    106                 if( Math.Abs(x[i,j])>Math.Abs(x[result,j]) )
     106                if( (double)(Math.Abs(x[i,j]))>(double)(Math.Abs(x[result,j])) )
    107107                {
    108108                    result = i;
     
    126126            for(j=j1+1; j<=j2; j++)
    127127            {
    128                 if( Math.Abs(x[i,j])>Math.Abs(x[i,result]) )
     128                if( (double)(Math.Abs(x[i,j]))>(double)(Math.Abs(x[i,result])) )
    129129                {
    130130                    result = j;
     
    316316                // beta*y
    317317                //
    318                 if( beta==0 )
     318                if( (double)(beta)==(double)(0) )
    319319                {
    320320                    for(i=iy1; i<=iy2; i++)
     
    361361                // beta*y
    362362                //
    363                 if( beta==0 )
     363                if( (double)(beta)==(double)(0) )
    364364                {
    365365                    for(i=iy1; i<=iy2; i++)
     
    405405            w = Math.Max(xabs, yabs);
    406406            z = Math.Min(xabs, yabs);
    407             if( z==0 )
     407            if( (double)(z)==(double)(0) )
    408408            {
    409409                result = w;
     
    497497            // Prepare C
    498498            //
    499             if( beta==0 )
     499            if( (double)(beta)==(double)(0) )
    500500            {
    501501                for(i=ci1; i<=ci2; i++)
Note: See TracChangeset for help on using the changeset viewer.