Search found 83 matches: math

Return to advanced search

Rutina para leer Gps

... to Len(oWnd:aControls) oWnd:aControls[c]:Refresh() next oTimer:Activate() return .t. /* #pragma BEGINDUMP #include <windows.h> #include <math.h> #include <hbapi.h> // funcion de FW adaptada a FWPPC HB_FUNC (HEXTODEC) { LPBYTE pString = ( LPBYTE ) hb_parc( 1 ); WORD w = 0, wLen ...
by Busmatic_wpb
Sat Jul 22, 2017 1:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Rutina para leer Gps
Replies: 1
Views: 968

Test GPS Error en encontrado

... = 1 to Len(oWnd:aControls) oWnd:aControls[c]:Refresh() next oTimer:Activate() return .t. #pragma BEGINDUMP #include <windows.h> #include <math.h> #include <hbapi.h> // funcion de FW adaptada a FWPPC HB_FUNC (HEXTODEC) { LPBYTE pString = ( LPBYTE ) hb_parc( 1 ); WORD w = 0, wLen ...
by Busmatic_wpb
Fri Jul 21, 2017 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test GPS Error en encontrado
Replies: 0
Views: 647

Re: Math E and function Sigmoid()

thanks :-)
by Antonio Linares
Sat Jul 01, 2017 7:57 am
 
Forum: Utilities / Utilidades
Topic: Math E and function Sigmoid()
Replies: 7
Views: 1834

Re: Math E and function Sigmoid()

Antonio Linares wrote:function Sigmoid( nValue )

return 1 / ( 1 + Math_E() ^ ( -nValue / 1 ) )


Simplified:

Code: Select all  Expand view
return 1 / ( 1 + Math_E()  ^ -nValue )


EMG
by Enrico Maria Giordano
Sat Jul 01, 2017 7:47 am
 
Forum: Utilities / Utilidades
Topic: Math E and function Sigmoid()
Replies: 7
Views: 1834

Re: Math E and function Sigmoid()

https://en.wikipedia.org/wiki/Sigmoid_function

A wide variety of sigmoid functions have been used as the activation function of artificial neurons


Image
by Antonio Linares
Sat Jul 01, 2017 5:03 am
 
Forum: Utilities / Utilidades
Topic: Math E and function Sigmoid()
Replies: 7
Views: 1834

Re: Math E and function Sigmoid()

... nValue )return 1 / ( 1 + Math_E() ^ ( -nValue / 1 ) )#pragma BEGINDUMP#include <hbapi.h>#include <math.h>HB_FUNC( MATH_E ){   hb_retnd( M_E );}#pragma ENDDUMP
by Antonio Linares
Sat Jul 01, 2017 4:59 am
 
Forum: Utilities / Utilidades
Topic: Math E and function Sigmoid()
Replies: 7
Views: 1834

Re: Math E and function Sigmoid()

function Sigmoid( nValue )

return 1 / ( 1 + Math_E() ^ ( -nValue / 1 ) )
by Antonio Linares
Sat Jul 01, 2017 4:43 am
 
Forum: Utilities / Utilidades
Topic: Math E and function Sigmoid()
Replies: 7
Views: 1834

Math E and function Sigmoid()

https://www.lemoda.net/c/maths-constants/ #include "FiveWin.ch"function Main()   MsgInfo( Math_E() )return nil#pragma BEGINDUMP#include <hbapi.h>#include <math.h>HB_FUNC( MATH_E ...
by Antonio Linares
Fri Jun 30, 2017 5:03 pm
 
Forum: Utilities / Utilidades
Topic: Math E and function Sigmoid()
Replies: 7
Views: 1834

Re: problem w with FWH 16.12 and xHB.com

... MYC_FLAGS = MYDEFINES = MYPRG_FLAGS = [Source\Function\longnam2.prg] MYC_FLAGS = MYDEFINES = MYPRG_FLAGS = [Source\Function\math.prg] MYC_FLAGS = MYDEFINES = MYPRG_FLAGS = [Source\Function\mdirec.prg] MYC_FLAGS = MYDEFINES = MYPRG_FLAGS = [Source\Function\memoedit.prg] MYC_FLAGS ...
by kajot
Sun Dec 25, 2016 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: problem w with FWH 16.12 and xHB.com
Replies: 11
Views: 4976

Re: Resizeable screen formats

I came up with my own solution to screen resolution... It was involved with some old fashion math calculations from screen resolution... So I control the size of every control nPorcentaje := 50;  //Taken from a user defined configuration file        nX1 := ( ( ...
by Bayron
Fri Jun 03, 2016 2:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resizeable screen formats
Replies: 25
Views: 5319

Help for combinations

... Numero2 .and. nNumero2=nNumero3 .and. nNumero3=nNumero4 .and. nNumero4=nNumero5 lWin:= .t. nLevl:= 5 Endif Endif Endif possible is not a function math we can control the matrice ? the number init from zero
by Silvio.Falconi
Sat Nov 28, 2015 1:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for combinations
Replies: 0
Views: 442

Re: List all days of the year

Silvio, I think I understood your problem, may be we must use simple date math.     ddateiniziale  := CTOD("01"+"/"+"09"+"/"+StrZero(Year(date()),4))    ddatefinale :=  ddateiniziale+ 365 ...
by Carlos Mora
Mon Nov 09, 2015 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: List all days of the year
Replies: 4
Views: 1012

Color-calculations RGB to Hex, Html .... ???

... function rgbToHex(R,G,B) {return toHex(R)+toHex(G)+toHex(B)} function toHex(n) { n = parseInt(n,10); if (isNaN(n)) return "00"; n = Math.max(0,Math.min(n,255)); return "0123456789ABCDEF".charAt((n-n%16)/16) + "0123456789ABCDEF".charAt(n%16); } Notes: The script ...
by ukoenig
Tue Jul 28, 2015 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color-calculations RGB to Hex, Html .... ???
Replies: 0
Views: 477

Re: Migration from Bcc to msvc

1>ct.lib(ctmath2.obj) : error LNK2019: unresolved external symbol __HUGE referenced in function _HB_FUN_LOG10
1>rtl.lib(math.obj) : error LNK2001: unresolved external symbol __HUGE


Try to link libcmt.lib from Microsoft
by Antonio Linares
Wed Mar 11, 2015 5:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migration from Bcc to msvc
Replies: 17
Views: 7088

Re: un pequeño ejemplo ...meteo.prg

... := .f. :CreateFromCode() END It showed on horizontal 1 record one day instead I wish show on vertical ...mhm,.. perhaps it need a matricial math but Inot Know how make it
by Silvio.Falconi
Tue Dec 09, 2014 6:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: un pequeño ejemplo ...meteo.prg
Replies: 53
Views: 18375
PreviousNext

Return to advanced search